ソースを参照

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

liwei 1 年間 前
コミット
aaf20012d4

+ 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",
         // "|",