mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
31 lines
2.5 KiB
TypeScript
31 lines
2.5 KiB
TypeScript
/**
|
|
* @license Copyright (c) 2014-2024, 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, Italic, Strikethrough, Underline } from '@ckeditor/ckeditor5-basic-styles';
|
|
import { BlockQuote } from '@ckeditor/ckeditor5-block-quote';
|
|
import { CodeBlock } from '@ckeditor/ckeditor5-code-block';
|
|
import type { EditorConfig } from '@ckeditor/ckeditor5-core';
|
|
import { Essentials } from '@ckeditor/ckeditor5-essentials';
|
|
import { FontBackgroundColor, FontColor, FontFamily, FontSize } from '@ckeditor/ckeditor5-font';
|
|
import { Heading } from '@ckeditor/ckeditor5-heading';
|
|
import { Highlight } from '@ckeditor/ckeditor5-highlight';
|
|
import { HorizontalLine } from '@ckeditor/ckeditor5-horizontal-line';
|
|
import { Image, ImageCaption, ImageResize, ImageStyle, ImageToolbar, ImageUpload } from '@ckeditor/ckeditor5-image';
|
|
import { Indent } from '@ckeditor/ckeditor5-indent';
|
|
import { Link } from '@ckeditor/ckeditor5-link';
|
|
import { List } from '@ckeditor/ckeditor5-list';
|
|
import { Mention } from '@ckeditor/ckeditor5-mention';
|
|
import { Table, TableCaption, TableCellProperties, TableColumnResize, TableProperties, TableToolbar } from '@ckeditor/ckeditor5-table';
|
|
import { Undo } from '@ckeditor/ckeditor5-undo';
|
|
import { RemoveFormat } from '@ckeditor/ckeditor5-remove-format';
|
|
import InsertCarriageReturnAfterBlock from "./plugins/insert-carriage-return-after-block/insert-carriage-return-after-block.plugin";
|
|
import './resources/styles/default-theme.css';
|
|
declare class Editor extends ClassicEditor {
|
|
static builtinPlugins: (typeof Alignment | typeof Bold | typeof Italic | typeof Strikethrough | typeof Underline | typeof BlockQuote | typeof CodeBlock | typeof Undo | typeof Essentials | typeof FontBackgroundColor | typeof FontColor | typeof FontFamily | typeof FontSize | typeof Heading | typeof Highlight | typeof HorizontalLine | typeof Image | typeof ImageCaption | typeof ImageResize | typeof ImageStyle | typeof ImageToolbar | typeof ImageUpload | typeof Indent | typeof Link | typeof List | typeof Mention | typeof Table | typeof TableCaption | typeof TableCellProperties | typeof TableColumnResize | typeof TableProperties | typeof TableToolbar | typeof RemoveFormat | typeof InsertCarriageReturnAfterBlock)[];
|
|
static defaultConfig: EditorConfig;
|
|
}
|
|
export default Editor;
|