/** * @license Copyright (c) 2014-2023, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ import { ClassicEditor } from '@ckeditor/ckeditor5-editor-classic'; import { Alignment } from '@ckeditor/ckeditor5-alignment'; import { Bold, Code, Italic, Underline } from '@ckeditor/ckeditor5-basic-styles'; import { BlockQuote } from '@ckeditor/ckeditor5-block-quote'; import { Essentials } from '@ckeditor/ckeditor5-essentials'; import { FindAndReplace } from '@ckeditor/ckeditor5-find-and-replace'; import { FontSize } from '@ckeditor/ckeditor5-font'; import { Heading } from '@ckeditor/ckeditor5-heading'; import { Indent } from '@ckeditor/ckeditor5-indent'; import { AutoLink, Link } from '@ckeditor/ckeditor5-link'; import { List } from '@ckeditor/ckeditor5-list'; import { Paragraph } from '@ckeditor/ckeditor5-paragraph'; import { RemoveFormat } from '@ckeditor/ckeditor5-remove-format'; import { SelectAll } from '@ckeditor/ckeditor5-select-all'; import { HeadingElementOption, HeadingParagraphOption } from '@ckeditor/ckeditor5-heading/src/headingconfig'; declare class Editor extends ClassicEditor { static builtinPlugins: (typeof Alignment | typeof AutoLink | typeof BlockQuote | typeof Bold | typeof Code | typeof Essentials | typeof FindAndReplace | typeof FontSize | typeof Heading | typeof Indent | typeof Italic | typeof Link | typeof List | typeof Paragraph | typeof RemoveFormat | typeof SelectAll | typeof Underline)[]; static defaultConfig: { toolbar: { items: string[]; }; heading: { options: (HeadingParagraphOption | HeadingElementOption)[]; }; language: string; }; } export default Editor;