From 67f8a61501e1531f3d838e41b59d0620ef4897db Mon Sep 17 00:00:00 2001 From: joefalmko Date: Thu, 31 Oct 2024 01:47:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E2=80=98=E5=AF=BC=E5=87=BAPD?= =?UTF-8?q?F=E2=80=99=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=99=BA=E8=83=BD=E6=B6=A6=E8=89=B2=E7=9A=84=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ckeditor5/package.json | 1 - ckeditor5/public/style.css | 5 +- ckeditor5/src/App.vue | 331 ++++++++++++++++++++++++++++--------- 3 files changed, 258 insertions(+), 79 deletions(-) diff --git a/ckeditor5/package.json b/ckeditor5/package.json index 831dfc1..0bc8436 100644 --- a/ckeditor5/package.json +++ b/ckeditor5/package.json @@ -9,7 +9,6 @@ }, "dependencies": { "@ckeditor/ckeditor5-vue": "^7.2.0", - "ckeditor5": "^43.2.0", "core-js": "^3.8.3", "file-saver": "^2.0.5", diff --git a/ckeditor5/public/style.css b/ckeditor5/public/style.css index 453bc0d..4a11039 100644 --- a/ckeditor5/public/style.css +++ b/ckeditor5/public/style.css @@ -6,17 +6,16 @@ margin: 0 !important; } } - .main-container { --ckeditor5-preview-height: 700px; - font-family: 'Lato'; + font-family: '宋体'; width: fit-content; margin-left: auto; margin-right: auto; } .ck-content { - font-family: 'Lato'; + font-family: '宋体'; line-height: 1.6; word-break: break-word; } diff --git a/ckeditor5/src/App.vue b/ckeditor5/src/App.vue index 648aa51..f3af291 100644 --- a/ckeditor5/src/App.vue +++ b/ckeditor5/src/App.vue @@ -1,13 +1,15 @@ -