diff --git a/app/project/view/task/add.html b/app/project/view/task/add.html index 9e0db03..f4a7d6c 100644 --- a/app/project/view/task/add.html +++ b/app/project/view/task/add.html @@ -96,7 +96,7 @@ var editor = layui.tinymce; var edit = editor.render({ selector: "#container", - images_upload_url: '/api/index/upload/sourse/tinymce',//图片上传接口 + // images_upload_url: '/api/index/upload/sourse/tinymce',//图片上传接口 height: 500 }); diff --git a/public/static/assets/gougu/module/tinymce.js b/public/static/assets/gougu/module/tinymce.js index 74fa4af..0ae4152 100644 --- a/public/static/assets/gougu/module/tinymce.js +++ b/public/static/assets/gougu/module/tinymce.js @@ -13,8 +13,9 @@ layui.define([], function (exports) { selector: '#gouguedit', quickbars_insert_toolbar:'', quickbars_selection_toolbar: 'cut copy | bold italic underline strikethrough ', - plugins: 'code quickbars print preview searchreplace autolink fullscreen image link media codesample table charmap hr advlist lists wordcount imagetools paste', - toolbar: 'code undo redo | forecolor backcolor bold italic underline strikethrough removeformat | alignleft aligncenter alignright alignjustify outdent indent | bullist numlist table blockquote link image media codesample | formatselect fontselect fontsizeselect', + plugins: 'code quickbars print preview searchreplace autolink fullscreen codesample table charmap hr advlist lists wordcount imagetools paste', + toolbar: 'code undo redo | forecolor backcolor bold italic underline strikethrough removeformat | alignleft aligncenter alignright alignjustify outdent indent | bullist numlist table blockquote codesample | formatselect fontselect fontsizeselect', + // link image media resize: false, elementpath: false, branding: false,