From 6b3523649c63e80f2687c947ef0dd77d38faac38 Mon Sep 17 00:00:00 2001 From: Sahatsawat Kanpai Date: Wed, 8 Jan 2025 13:16:10 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=8D=EF=B8=8F=20=20=20new=20fonts:=20Eucro?= =?UTF-8?q?siaUPC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample/ckeditor.ts | 17 +++++++++-------- sample/index.html | 21 ++++++++++----------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/sample/ckeditor.ts b/sample/ckeditor.ts index 9363bb6..9d74da7 100644 --- a/sample/ckeditor.ts +++ b/sample/ckeditor.ts @@ -134,8 +134,8 @@ ClassicEditor generatePtSetting( 14 ), generatePtSetting( 16 ), generatePtSetting( 18 ), - generatePtSetting( 20 ), - ], + generatePtSetting( 20 ) + ] }, fontFamily: { options: [ @@ -151,7 +151,8 @@ ClassicEditor 'Verdana, Geneva, sans-serif', 'TH Sarabun New, sans-serif', 'Angsana New, serif', - 'Noto Sans Thai, sans-serif', + 'EucrosiaUPC, serif', + 'Noto Sans Thai, sans-serif' ] }, mathlive: { @@ -165,21 +166,21 @@ ClassicEditor return () => { panelView?.destroy(); panelView = null; - } + }; }, mathPanelDestroyOnClose: true, - openPanelWhenEquationSelected: false, + openPanelWhenEquationSelected: false }, fontColor: { colorPicker: { - format: 'hex', + format: 'hex' } }, fontBackgroundColor: { colorPicker: { - format: 'hex', + format: 'hex' } - }, + } } ) .then( editor => { window.editor = editor; diff --git a/sample/index.html b/sample/index.html index f583094..d3c9880 100644 --- a/sample/index.html +++ b/sample/index.html @@ -19,17 +19,16 @@

CKEditor 5 – Development Sample

-

คําภาษาอังกฤษในข้อใดไม่สามารถใช้คําไทยแทนได้ 

-

ก. ร่างกายที่ฟิตจะช่วยป้องกันการบาดเจ็บที่เกิดจากความเหนื่อยล้า 
ข. การบริหารข้อมืออาจใช้วิธีบีบลูกเทนนิสในท่ากระดกข้อมือขึ้นลง 
ค. นักกอล์ฟควรออกกําลังและบริหารร่างกายให้มีกล้ามเนื้อที่แข็งแรง 
ง. กล้ามเนื้อที่มีความยืดหยุ่นดีจะทนทานพอที่จะเล่นให้จบเกม

+

คำภาษาอังกฤษในข้อใดไม่สามารถใช้คำไทยแทนได้

+

ก. ร่างกายที่ฟิตจะช่วยป้องกันการบาดเจ็บที่เกิดจากความเหนื่อยล้า

+

ข. การบริหารข้อมืออาจใช้วิธีบีบลูกเทนนิสในท่ากระดกข้อมือขึ้นลง

+

ค. นักกอล์ฟควรออกกําลังและบริหารร่างกายให้มีกล้ามเนื้อที่แข็งแรง

+

ง. กล้ามเนื้อที่มีความยืดหยุ่นดีจะทนทานพอที่จะเล่นให้จบเกม