更新文章

This commit is contained in:
yaooo 2023-11-14 10:12:22 +08:00
parent 9ddc93deb9
commit 4ac4ac4d90
2 changed files with 4 additions and 3 deletions

View File

@ -96,7 +96,7 @@
var editor = layui.tinymce; var editor = layui.tinymce;
var edit = editor.render({ var edit = editor.render({
selector: "#container", selector: "#container",
images_upload_url: '/api/index/upload/sourse/tinymce',//图片上传接口 // images_upload_url: '/api/index/upload/sourse/tinymce',//图片上传接口
height: 500 height: 500
}); });

View File

@ -13,8 +13,9 @@ layui.define([], function (exports) {
selector: '#gouguedit', selector: '#gouguedit',
quickbars_insert_toolbar:'', quickbars_insert_toolbar:'',
quickbars_selection_toolbar: 'cut copy | bold italic underline strikethrough ', 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', 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 link image media codesample | formatselect fontselect fontsizeselect', 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, resize: false,
elementpath: false, elementpath: false,
branding: false, branding: false,