mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-19 00:42:29 +08:00
feat(editor): add text part language
This commit is contained in:
parent
8c393e4c47
commit
80da713a7e
@ -49,11 +49,11 @@ import { ShiftEnter } from '@ckeditor/ckeditor5-enter';
|
|||||||
import { Typing } from '@ckeditor/ckeditor5-typing';
|
import { Typing } from '@ckeditor/ckeditor5-typing';
|
||||||
import { Undo } from '@ckeditor/ckeditor5-undo';
|
import { Undo } from '@ckeditor/ckeditor5-undo';
|
||||||
import { RemoveFormat } from '@ckeditor/ckeditor5-remove-format';
|
import { RemoveFormat } from '@ckeditor/ckeditor5-remove-format';
|
||||||
import { EditorWatchdog } from '@ckeditor/ckeditor5-watchdog';
|
|
||||||
import { SpecialCharacters, SpecialCharactersEssentials } from '@ckeditor/ckeditor5-special-characters';
|
import { SpecialCharacters, SpecialCharactersEssentials } from '@ckeditor/ckeditor5-special-characters';
|
||||||
import { GeneralHtmlSupport } from "@ckeditor/ckeditor5-html-support";
|
import { GeneralHtmlSupport } from "@ckeditor/ckeditor5-html-support";
|
||||||
import Uploadfileplugin from "../../ckeditor5-file-upload/uploadfileplugin";
|
import Uploadfileplugin from "../../ckeditor5-file-upload/uploadfileplugin";
|
||||||
import { PageBreak } from '@ckeditor/ckeditor5-page-break';
|
import { PageBreak } from '@ckeditor/ckeditor5-page-break';
|
||||||
|
import { TextPartLanguage } from "@ckeditor/ckeditor5-language";
|
||||||
|
|
||||||
import MentionCustomization from './mention_customization';
|
import MentionCustomization from './mention_customization';
|
||||||
import UploadimagePlugin from './uploadimage';
|
import UploadimagePlugin from './uploadimage';
|
||||||
@ -141,6 +141,7 @@ export const COMMON_PLUGINS = [
|
|||||||
removeFormatLinksPlugin,
|
removeFormatLinksPlugin,
|
||||||
PageBreak,
|
PageBreak,
|
||||||
GeneralHtmlSupport,
|
GeneralHtmlSupport,
|
||||||
|
TextPartLanguage,
|
||||||
|
|
||||||
// External plugins
|
// External plugins
|
||||||
Math,
|
Math,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user