ソースを参照

fix[litemall-admin]: 修复图片上传地址返回相对链接。

Junling Bu 7 年 前
コミット
420650e86d

+ 1 - 0
litemall-admin/src/views/goods/create.vue

@@ -330,6 +330,7 @@
         },
         editorInit: {
           language: 'zh_CN',
+          convert_urls: false,
           plugins: ['advlist anchor autolink autoresize autosave emoticons fullscreen hr image imagetools importcss insertdatetime legacyoutput link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace tabfocus table template textcolor textpattern visualblocks visualchars wordcount'],
           toolbar: ['bold italic underline strikethrough alignleft aligncenter alignright outdent indent  blockquote undo redo removeformat subscript superscript ', 'hr bullist numlist link image charmap preview anchor pagebreak fullscreen media table emoticons forecolor backcolor'],
           images_upload_handler: function(blobInfo, success, failure) {

+ 1 - 0
litemall-admin/src/views/goods/edit.vue

@@ -305,6 +305,7 @@ export default {
       },
       editorInit: {
         language: 'zh_CN',
+        convert_urls: false,
         plugins: ['advlist anchor autolink autoresize autosave emoticons fullscreen hr image imagetools importcss insertdatetime legacyoutput link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace tabfocus table template textcolor textpattern visualblocks visualchars wordcount'],
         toolbar: ['bold italic underline strikethrough alignleft aligncenter alignright outdent indent  blockquote undo redo removeformat subscript superscript ', 'hr bullist numlist link image charmap preview anchor pagebreak fullscreen media table emoticons forecolor backcolor'],
         images_upload_handler: function(blobInfo, success, failure) {

+ 1 - 0
litemall-admin/src/views/promotion/topic.vue

@@ -181,6 +181,7 @@ export default {
       downloadLoading: false,
       editorInit: {
         language: 'zh_CN',
+        convert_urls: false,
         plugins: ['advlist anchor autolink autoresize autosave code codesample colorpicker colorpicker contextmenu directionality emoticons fullscreen hr image imagetools importcss insertdatetime legacyoutput link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace tabfocus table template textcolor textpattern visualblocks visualchars wordcount'],
         toolbar: ['bold italic underline strikethrough alignleft aligncenter alignright outdent indent  blockquote undo redo removeformat subscript superscript ', 'hr bullist numlist link image charmap preview anchor pagebreak fullscreen media table emoticons forecolor backcolor'],
         images_upload_handler: function(blobInfo, success, failure) {