From ab18376d577d99b375b83619e44c91003e6f94d6 Mon Sep 17 00:00:00 2001 From: "jlj05024111@163.com" Date: Mon, 11 Nov 2024 09:47:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DMD=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E5=9C=A8=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=92=89=E9=92=89?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + .../ibiz-markdown-editor.scss | 4 ++++ .../ibiz-markdown-editor.tsx | 16 +++++++++++----- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f00f97c4..db2a5e5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ ### Fixed +- 修复MD编辑器在钉钉内显示异常问题 - 修复ios中时间选择器弹出文本输入框 - 修复ios富文本弹出框层级问题 - 修复ios文件上传编辑器弹框位置异常 diff --git a/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.scss b/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.scss index abe2c5d6..ce8da376 100644 --- a/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.scss +++ b/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.scss @@ -12,6 +12,10 @@ $markdown: ( .cherry { width: 100%; } + + @include when('hidden'){ + display: hidden; + } } @include b(markdown-image-popup){ diff --git a/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx b/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx index 6294d357..ac380f42 100644 --- a/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx +++ b/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx @@ -362,11 +362,17 @@ const IBizMarkDown: any = defineComponent({ className={this.ns.b('dialog')} close-on-popstate={true} > -
+ {{ + default: () => { + return ( +
+ ); + }, + }} ); -- Gitee