fix ckeditor, special characters

This commit is contained in:
crispycat 2024-05-23 14:50:53 -04:00
parent 90041cbbf7
commit 1e64a7de43
3 changed files with 11 additions and 5 deletions

View File

@ -43,6 +43,5 @@ npm install --save \
./node_modules/.bin/webpack --mode production;
cp dist/ckeditor.js "$DEST_DIR/ckeditor.js";
cp "$REPO_DIR/dist/ckeditor.js" "$DEST_DIR/ckeditor.js";
cd "$WORK_DIR";

View File

@ -21,7 +21,10 @@ import {MediaEmbed} from "@ckeditor/ckeditor5-media-embed";
import {Paragraph} from "@ckeditor/ckeditor5-paragraph";
import {ShowBlocks} from "@ckeditor/ckeditor5-show-blocks";
import {SourceEditing} from "@ckeditor/ckeditor5-source-editing";
import {SpecialCharacters} from "@ckeditor/ckeditor5-special-characters";
import {
SpecialCharacters, SpecialCharactersArrows, SpecialCharactersCurrency, SpecialCharactersLatin,
SpecialCharactersMathematical, SpecialCharactersText, SpecialCharactersEssentials
} from "@ckeditor/ckeditor5-special-characters";
import {Table, TableCellProperties, TableProperties, TableToolbar, TableCaption, TableColumnResize}
from "@ckeditor/ckeditor5-table";
import {TextTransformation} from "@ckeditor/ckeditor5-typing";
@ -32,8 +35,10 @@ class ClassicEditor extends CKClassicEditor {
Essentials, FontFamily, FontSize, FontColor, FontBackgroundColor,
Heading, HorizontalLine, HtmlEmbed,
Image, ImageCaption, ImageStyle, ImageToolbar, ImageInsert,
Indent, Italic, Link, List, MediaEmbed, Paragraph, ShowBlocks,
SourceEditing, SpecialCharacters, Table, TableToolbar, TextTransformation,
Indent, Italic, Link, List, MediaEmbed, Paragraph, ShowBlocks, SourceEditing,
SpecialCharacters, SpecialCharactersArrows, SpecialCharactersCurrency, SpecialCharactersLatin,
SpecialCharactersMathematical, SpecialCharactersText, SpecialCharactersEssentials,
Table, TableToolbar, TextTransformation,
Underline, Strikethrough, Code, Subscript, Superscript
];

File diff suppressed because one or more lines are too long