Skip to content

Commit f1b4900

Browse files
committed
fix: corrected Jodit configuration
1 parent de3113c commit f1b4900

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

phpmyfaq/admin/assets/src/content/editor.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ export const renderEditor = () => {
5858
activeButtonsInReadOnly: ['source', 'fullsize', 'print', 'about', 'dots'],
5959
toolbarButtonSize: 'middle',
6060
theme: 'default',
61-
saveModeInCookie: false,
61+
saveModeInStorage: false,
6262
spellcheck: true,
63-
editorCssClass: false,
63+
editorClassName: false,
6464
triggerChangeEvent: true,
6565
width: 'auto',
6666
height: 'auto',
@@ -72,7 +72,6 @@ export const renderEditor = () => {
7272
toolbar: true,
7373
enter: 'p',
7474
defaultMode: Jodit.MODE_WYSIWYG,
75-
highlightMode: true,
7675
useSplitMode: false,
7776
askBeforePasteFromWord: true,
7877
processPasteFromWord: true,

0 commit comments

Comments
 (0)