mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
* N°9128 - Update CKEditor5 to v48 * Move some CSS vars to ckeditor, align variable overload in portal and backoffice * Add specifics to 3.2 portal * Update CKEditor5 build files * Update scssphp with patched version that handles pseudo selectors and attribute selectors * Update scssphp patched version to fix missing $this * Fix translations specific language file import * Remove unused maximize parameters * Update CKEditor5 build files * Fix font size/color for 3.2 portal * Avoid CKEditor styles from bleeding into fields
33 lines
2.6 KiB
TypeScript
33 lines
2.6 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 { Fullscreen } from '@ckeditor/ckeditor5-fullscreen';
|
|
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 'ckeditor5/ckeditor5.css';
|
|
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 Fullscreen | 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;
|