From f4a58c6bc994cb24e11ad0f67310a968891d3e47 Mon Sep 17 00:00:00 2001 From: yaojn Date: Tue, 25 Mar 2025 18:35:58 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E7=A0=94=E5=8F=91?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8F=AA=E8=AF=BB=E6=A8=A1=E5=BC=8F=E4=B8=8B?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=8F=98=E5=BD=A2=20=20=20=20-=20[=E5=85=B3?= =?UTF-8?q?=E8=81=94]#[1384881798479872]=E7=A0=94=E5=8F=91=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=8F=AA=E8=AF=BB=E6=A8=A1=E5=BC=8F=E4=B8=8B=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=8F=98=E5=BD=A2=20http://192.168.0.96:8090/demo/rdm?= =?UTF-8?q?.html#/bug-detail/939050947543040/939050947543057/1384881798479?= =?UTF-8?q?872?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/plugins/TsCkeditor/ckeditor.less | 10 ++++++++++ .../content-handler/content-handler.vue | 18 +++++------------- .../viewtab/components/comment-list.vue | 11 +++++------ 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/resources/plugins/TsCkeditor/ckeditor.less b/src/resources/plugins/TsCkeditor/ckeditor.less index a1dfb05f..0426afc4 100644 --- a/src/resources/plugins/TsCkeditor/ckeditor.less +++ b/src/resources/plugins/TsCkeditor/ckeditor.less @@ -25,6 +25,16 @@ padding-left: 1.5em; padding-right: 1.5em; } + figure { + &.image { + img { + display: block; + height: auto; + margin: 0 auto; + max-width: 100%; + } + } + } } .ck-content { min-height: 130px; diff --git a/src/views/pages/rdm/project/content-handler/content-handler.vue b/src/views/pages/rdm/project/content-handler/content-handler.vue index f911e3ac..bff08c88 100644 --- a/src/views/pages/rdm/project/content-handler/content-handler.vue +++ b/src/views/pages/rdm/project/content-handler/content-handler.vue @@ -32,12 +32,11 @@ }" > -
+ :readonly="true" + :value="issueData.content" + >
@@ -47,10 +46,9 @@