fix TinyMCE Removes site base url
This commit is contained in:
public/js
@ -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(),
|
||||
|
Reference in New Issue
Block a user