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