fix TinyMCE Removes site base url

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

@ -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(),