| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /**
- * @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 { Autoformat } from '@ckeditor/ckeditor5-autoformat';
- import { Bold, Italic } from '@ckeditor/ckeditor5-basic-styles';
- import { BlockQuote } from '@ckeditor/ckeditor5-block-quote';
- import { Essentials } from '@ckeditor/ckeditor5-essentials';
- import { FontBackgroundColor, FontColor, FontFamily, FontSize } from '@ckeditor/ckeditor5-font';
- import { Heading } from '@ckeditor/ckeditor5-heading';
- import { HorizontalLine } from '@ckeditor/ckeditor5-horizontal-line';
- import { Image, ImageCaption, ImageResize, ImageStyle, ImageToolbar } from '@ckeditor/ckeditor5-image';
- import { Indent, IndentBlock } from '@ckeditor/ckeditor5-indent';
- import { Link } from '@ckeditor/ckeditor5-link';
- import { List, ListProperties } from '@ckeditor/ckeditor5-list';
- import { MediaEmbed } from '@ckeditor/ckeditor5-media-embed';
- import { Paragraph } from '@ckeditor/ckeditor5-paragraph';
- import { PasteFromOffice } from '@ckeditor/ckeditor5-paste-from-office';
- import { SelectAll } from '@ckeditor/ckeditor5-select-all';
- import { SpecialCharacters } from '@ckeditor/ckeditor5-special-characters';
- import { Table, TableToolbar } from '@ckeditor/ckeditor5-table';
- import { TextTransformation } from '@ckeditor/ckeditor5-typing';
- import MyCustomPlugin from './customPluugs';
- declare class Editor extends ClassicEditor {
- static builtinPlugins: (typeof Alignment | typeof Autoformat | typeof BlockQuote | typeof Bold | typeof Essentials | typeof FontBackgroundColor | typeof FontColor | typeof FontFamily | typeof FontSize | typeof Heading | typeof HorizontalLine | typeof Image | typeof ImageCaption | typeof ImageResize | typeof ImageStyle | typeof ImageToolbar | typeof Indent | typeof IndentBlock | typeof Italic | typeof Link | typeof List | typeof ListProperties | typeof MediaEmbed | typeof Paragraph | typeof PasteFromOffice | typeof SelectAll | typeof SpecialCharacters | typeof Table | typeof TableToolbar | typeof TextTransformation)[];
- static defaultConfig: {
- toolbar: {
- items: string[];
- };
- language: string;
- image: {
- toolbar: string[];
- };
- table: {
- contentToolbar: string[];
- };
- extraPlugins: (typeof MyCustomPlugin)[];
- };
- }
- export default Editor;
|