如何在db中从ckeditor中删除文本 [英] how to stroe text from ckeditor in db

查看:68
本文介绍了如何在db中从ckeditor中删除文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 如何在ckEditor编辑器中将文本存储到db
但是ia不要拖累html标签:

< span id ="spanId" style ="font-size:12px;">测试测试t;/span>< pre lang ="Javascript"> 






我只想讲故事:TEST TEST

解决方案

按照下面的链接获取内容,
http://ckeditor.com/blog/CKEditor_for_jQuery [<span id="spanId" style="font-size:12px;"> Test test t;/span><pre lang="Javascript">






i want stroe only main text :TEST TEST

解决方案

Follow the link below to get the content,
http://ckeditor.com/blog/CKEditor_for_jQuery[^]

After you get the data, use Ajax to post the data to your db.

Hope this helps.

cheers


这篇关于如何在db中从ckeditor中删除文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆