relative image url/fix conflict when upload attachment again

This commit is contained in:
lealife
2016-12-24 15:16:23 +08:00
parent f49624d3eb
commit a8dd578624
24 changed files with 130 additions and 106 deletions

View File

@ -523,8 +523,8 @@ function initEditor() {
// fix TinyMCE Removes site base url
// http://stackoverflow.com/questions/3360084/tinymce-removes-site-base-urls
convert_urls:true,
relative_urls:false,
convert_urls: false, // true会将url变成../api/
relative_urls: true,
remove_script_host:false,
selector : "#editorContent",