fix TinyMCE Removes site base url

This commit is contained in:
life committed 2014-09-22 22:45:57 +08:00
1 parent 1fea36a7c1
commit 2221f146de
5 files changed
+10 -4

No files matched your search

+7
View File
@@ -186,6 +186,13 @@ $(function() {
log(ed.selection.getNode())
});
},
// fix TinyMCE Removes site base url
// http://stackoverflow.com/questions/3360084/tinymce-removes-site-base-urls
convert_urls:true,
relative_urls:false,
remove_script_host:false,
selector : "#editorContent",
// height: 100,//这个应该是文档的高度, 而其上层的高度是$("#content").height(),
// parentHeight: $("#content").height(),