From 78aeee5871c12f73b808e32b6eb8fe25ddb6ed2e Mon Sep 17 00:00:00 2001 From: Lhk0001 <2406661616@qq.com> Date: Thu, 23 Nov 2023 16:59:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B7=E9=97=B3=E7=84=9C=EF=BC=9A=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=AF=8C=E6=96=87=E6=9C=AC=E7=BC=96=E8=BE=91=E5=99=A8?= =?UTF-8?q?=E7=9A=84=E9=83=A8=E5=88=86=EF=BC=8C=E7=94=B1=E4=BA=8E=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E5=BC=95=E5=85=A5=E8=80=81=E5=87=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E6=9A=82=E6=97=B6=E7=94=A8=E4=BA=91=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/system/notice/publish/index.scss | 2 +- src/view/system/notice/publish/index.tsx | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/view/system/notice/publish/index.scss b/src/view/system/notice/publish/index.scss index d233156..892fe13 100644 --- a/src/view/system/notice/publish/index.scss +++ b/src/view/system/notice/publish/index.scss @@ -59,6 +59,6 @@ margin-right: 10px; } } -.tox,.tox-tinymce{ +.tox-tinymce{ width: 700px; } \ No newline at end of file diff --git a/src/view/system/notice/publish/index.tsx b/src/view/system/notice/publish/index.tsx index 3bf6cf5..d9fe56d 100644 --- a/src/view/system/notice/publish/index.tsx +++ b/src/view/system/notice/publish/index.tsx @@ -85,17 +85,14 @@ interface queryParamsType { let thisrole: any = {}; export default function Inform() { const editorInit = { - // selector:'textarea', language: "zh_CN", + min_height: 400, plugins: "print preview searchreplace autolink directionality visualblocks visualchars fullscreen image link media template code codesample table charmap hr pagebreak nonbreaking anchor insertdatetime advlist lists wordcount imagetools textpattern help emoticons autosave bdmap indent2em autoresize formatpainter axupimgs", toolbar: - "code undo redo restoredraft | cut copy paste pastetext | forecolor backcolor bold italic underline strikethrough link | anchor | alignleft aligncenter alignright alignjustify outdent indent | \ + ["code 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 emoticons hr pagebreak insertdatetime print preview | fullscreen | bdmap indent2em lineheight formatpainter axupimgs", - width: "100%", - height: 650, - min_height: 400, + table image media charmap emoticons hr pagebreak insertdatetime print preview | fullscreen | bdmap indent2em lineheight formatpainter axupimgs"], importcss_append: true, //自定义文件选择器的回调内容 // file_picker_callback: function (callback, value, meta) { @@ -744,14 +741,14 @@ export default function Inform() {