From 4ac4ac4d900a3805ba70a24812b69b4324fc38ae Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Tue, 14 Nov 2023 10:12:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/project/view/task/add.html | 2 +- public/static/assets/gougu/module/tinymce.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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,