diff --git a/playlet-admin/src/main/resources/templates/system/playlet/detail/add.html b/playlet-admin/src/main/resources/templates/system/playlet/detail/add.html index 1654d05..f0138fa 100644 --- a/playlet-admin/src/main/resources/templates/system/playlet/detail/add.html +++ b/playlet-admin/src/main/resources/templates/system/playlet/detail/add.html @@ -319,12 +319,13 @@ placeholder: '在这里输入文字', height: 700, autoresize_min_height: 700, //编辑区域的最小高度 + remove_trailing_brs: false, branding: false, //tiny技术支持信息是否显示 plugins: ' preview searchreplace autolink directionality visualblocks visualchars fullscreen image link media code codesample table charmap pagebreak nonbreaking anchor insertdatetime advlist lists wordcount autosave', toolbar: 'fullscreen undo redo restoredraft | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough link anchor | alignleft aligncenter alignright alignjustify outdent indent | \ styleselect formatselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \ table image media charmap hr pagebreak insertdatetime preview | code selectall searchreplace visualblocks | indent2em lineheight formatpainter axupimgs', - toolbar_mode: 'sliding', + toolbar_mode: 'wrap', paste_data_images: true, //图片是否可粘贴 images_upload_handler: (blobInfo) => { return new Promise(async (resolve, reject) => { diff --git a/playlet-admin/src/main/resources/templates/system/playlet/detail/edit.html b/playlet-admin/src/main/resources/templates/system/playlet/detail/edit.html index 46c3a51..d2ad2f0 100644 --- a/playlet-admin/src/main/resources/templates/system/playlet/detail/edit.html +++ b/playlet-admin/src/main/resources/templates/system/playlet/detail/edit.html @@ -250,12 +250,13 @@ placeholder: '在这里输入文字', height: 700, autoresize_min_height: 700, //编辑区域的最小高度 + remove_trailing_brs: false, branding: false, //tiny技术支持信息是否显示 plugins: ' preview searchreplace autolink directionality visualblocks visualchars fullscreen image link media code codesample table charmap pagebreak nonbreaking anchor insertdatetime advlist lists wordcount autosave', toolbar: 'fullscreen undo redo restoredraft | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough link anchor | alignleft aligncenter alignright alignjustify outdent indent | \ styleselect formatselect fontselect fontsizeselect | bullist numlist | blockquote subscript superscript removeformat | \ table image media charmap hr pagebreak insertdatetime preview | code selectall searchreplace visualblocks | indent2em lineheight formatpainter axupimgs', - toolbar_mode: 'sliding', + toolbar_mode: 'wrap', paste_data_images: true, //图片是否可粘贴 images_upload_handler: (blobInfo) => { return new Promise(async (resolve, reject) => {