1441 |
ariadna |
1 |
/**
|
|
|
2 |
* @license Copyright (c) 2014-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
|
3 |
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
|
4 |
*/
|
|
|
5 |
import { ClassicEditor } from '@ckeditor/ckeditor5-editor-classic';
|
|
|
6 |
import { Alignment } from '@ckeditor/ckeditor5-alignment';
|
|
|
7 |
import { Autoformat } from '@ckeditor/ckeditor5-autoformat';
|
|
|
8 |
import { Bold, Code, Italic, Strikethrough, Subscript, Superscript, Underline } from '@ckeditor/ckeditor5-basic-styles';
|
|
|
9 |
import { BlockQuote } from '@ckeditor/ckeditor5-block-quote';
|
|
|
10 |
import { CodeBlock } from '@ckeditor/ckeditor5-code-block';
|
|
|
11 |
import type { EditorConfig } from '@ckeditor/ckeditor5-core';
|
|
|
12 |
import { Essentials } from '@ckeditor/ckeditor5-essentials';
|
|
|
13 |
import { FontBackgroundColor, FontColor, FontFamily, FontSize } from '@ckeditor/ckeditor5-font';
|
|
|
14 |
import { Heading } from '@ckeditor/ckeditor5-heading';
|
|
|
15 |
import { Highlight } from '@ckeditor/ckeditor5-highlight';
|
|
|
16 |
import { HorizontalLine } from '@ckeditor/ckeditor5-horizontal-line';
|
|
|
17 |
import { GeneralHtmlSupport } from '@ckeditor/ckeditor5-html-support';
|
|
|
18 |
import { Image, ImageCaption, ImageStyle, ImageToolbar, ImageUpload } from '@ckeditor/ckeditor5-image';
|
|
|
19 |
import { Indent, IndentBlock } from '@ckeditor/ckeditor5-indent';
|
|
|
20 |
import { AutoLink, Link } from '@ckeditor/ckeditor5-link';
|
|
|
21 |
import { List } from '@ckeditor/ckeditor5-list';
|
|
|
22 |
import { MediaEmbed } from '@ckeditor/ckeditor5-media-embed';
|
|
|
23 |
import { Paragraph } from '@ckeditor/ckeditor5-paragraph';
|
|
|
24 |
import { PasteFromOffice } from '@ckeditor/ckeditor5-paste-from-office';
|
|
|
25 |
import { RemoveFormat } from '@ckeditor/ckeditor5-remove-format';
|
|
|
26 |
import { SelectAll } from '@ckeditor/ckeditor5-select-all';
|
|
|
27 |
import { Table, TableCaption, TableCellProperties, TableColumnResize, TableProperties, TableToolbar } from '@h5p/ckeditor5-table';
|
|
|
28 |
import { TextTransformation } from '@ckeditor/ckeditor5-typing';
|
|
|
29 |
declare class Editor extends ClassicEditor {
|
|
|
30 |
static builtinPlugins: (typeof Alignment | typeof AutoLink | typeof Autoformat | typeof BlockQuote | typeof Bold | typeof Code | typeof CodeBlock | typeof Essentials | typeof FontBackgroundColor | typeof FontColor | typeof FontFamily | typeof FontSize | typeof GeneralHtmlSupport | typeof Heading | typeof Highlight | typeof HorizontalLine | typeof Image | typeof ImageCaption | typeof ImageStyle | typeof ImageToolbar | typeof ImageUpload | typeof Indent | typeof IndentBlock | typeof Italic | typeof Link | typeof List | typeof MediaEmbed | typeof Paragraph | typeof PasteFromOffice | typeof RemoveFormat | typeof SelectAll | typeof Strikethrough | typeof Subscript | typeof Superscript | typeof Table | typeof TableCaption | typeof TableCellProperties | typeof TableColumnResize | typeof TableProperties | typeof TableToolbar | typeof TextTransformation | typeof Underline)[];
|
|
|
31 |
static defaultConfig: EditorConfig;
|
|
|
32 |
}
|
|
|
33 |
export default Editor;
|