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 @@
คําภาษาอังกฤษในข้อใดไม่สามารถใช้คําไทยแทนได้
-ก. ร่างกายที่ฟิตจะช่วยป้องกันการบาดเจ็บที่เกิดจากความเหนื่อยล้า
ข. การบริหารข้อมืออาจใช้วิธีบีบลูกเทนนิสในท่ากระดกข้อมือขึ้นลง
ค. นักกอล์ฟควรออกกําลังและบริหารร่างกายให้มีกล้ามเนื้อที่แข็งแรง
ง. กล้ามเนื้อที่มีความยืดหยุ่นดีจะทนทานพอที่จะเล่นให้จบเกม
คำภาษาอังกฤษในข้อใดไม่สามารถใช้คำไทยแทนได้
+ก. ร่างกายที่ฟิตจะช่วยป้องกันการบาดเจ็บที่เกิดจากความเหนื่อยล้า
+ข. การบริหารข้อมืออาจใช้วิธีบีบลูกเทนนิสในท่ากระดกข้อมือขึ้นลง
+ค. นักกอล์ฟควรออกกําลังและบริหารร่างกายให้มีกล้ามเนื้อที่แข็งแรง
+ง. กล้ามเนื้อที่มีความยืดหยุ่นดีจะทนทานพอที่จะเล่นให้จบเกม