Преглед изворни кода

Merge branch 'dev' of http://124.70.149.18:10880/lianghj/queenshow into dev

liwei пре 1 година
родитељ
комит
aaf20012d4
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      src/modules/editor/components/CompUI/basicUI/Text/component.tsx

+ 5 - 1
src/modules/editor/components/CompUI/basicUI/Text/component.tsx

@@ -1,6 +1,6 @@
 import { useEditor } from "@/modules/editor";
 import { Alignment } from "@ckeditor/ckeditor5-alignment";
-import { Bold, Italic } from "@ckeditor/ckeditor5-basic-styles";
+import { Bold, Italic,Underline,Strikethrough } from "@ckeditor/ckeditor5-basic-styles";
 import { InlineEditor } from "@ckeditor/ckeditor5-editor-inline";
 import { Essentials } from "@ckeditor/ckeditor5-essentials";
 import { FontColor, FontFamily, FontSize } from "@ckeditor/ckeditor5-font";
@@ -44,6 +44,8 @@ function GetConfig() {
       Bold,
       Italic,
       Link,
+      Underline,
+      Strikethrough,
       Paragraph,
       FontColor,
       FontSize,
@@ -73,6 +75,8 @@ function GetConfig() {
         "lineHeight",
         "bold",
         "italic",
+        "underline",
+        "strikethrough",       
         "|",
         "alignment",
         // "|",