ckeditor编辑器取值问题。。
--------------------编程问答-------------------- var editor = CKEDITOR.replace("content");editor.setData("");
alert(CKEDITOR.instances.content.getData());
var editor = CKEDITOR.replace("content");
alert(editor.getData()); 获取看看 --------------------编程问答-------------------- --------------------编程问答--------------------
document.getElementById("hihtml").value = editor.document.getBody().getHtml();
我就是这样获取的啊。。 --------------------编程问答--------------------
<p>\t<img alt=\"\" src=\"http://localhost:63310/WebSite4/ckfinder/core/connector/aspx/connector.aspx?command=Thumbnail&type=Images¤tFolder=%2F&langCode=zh-cn&hash=78835f920671a17a&FileName=3D88F0677316FC562777AF2D2E964419(1).jpg\" style=\"width: 100px; height: 66px\" /></p>
用你的方法取出来的值。。还是不行。。郁闷。。 --------------------编程问答-------------------- 救命啊。。有谁知道 --------------------编程问答-------------------- 这个……关于那个_cke_saved_src我只能说在ckeditor的源码中给加上的
具体源码在_source/plugins/htmldataprocessor/plugin.js中,被修改的不只是图片路径,还有其他很多修改。关于怎么去掉……目前没搞清楚……
补充:.NET技术 , ASP.NET