@ckeditor/ckeditor5-html-support
Version:
HTML Support feature for CKEditor 5.
34 lines (33 loc) • 1.94 kB
TypeScript
/**
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { GeneralHtmlSupport, DataFilter, DataSchema, GeneralHtmlSupportConfig, CodeBlockElementSupport, CustomElementSupport, DocumentListElementSupport, DualContentModelElementSupport, HeadingElementSupport, ImageElementSupport, MediaEmbedElementSupport, ScriptElementSupport, StyleElementSupport, TableElementSupport, HtmlComment, FullPage } from './index';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**
* The configuration of the General HTML Support feature.
* Introduced by the {@link module:html-support/generalhtmlsupport~GeneralHtmlSupport} feature.
*
* Read more in {@link module:html-support/generalhtmlsupportconfig~GeneralHtmlSupportConfig}.
*/
htmlSupport?: GeneralHtmlSupportConfig;
}
interface PluginsMap {
[]: GeneralHtmlSupport;
[]: DataFilter;
[]: DataSchema;
[]: CodeBlockElementSupport;
[]: CustomElementSupport;
[]: DocumentListElementSupport;
[]: DualContentModelElementSupport;
[]: HeadingElementSupport;
[]: ImageElementSupport;
[]: MediaEmbedElementSupport;
[]: ScriptElementSupport;
[]: StyleElementSupport;
[]: TableElementSupport;
[]: HtmlComment;
[]: FullPage;
}
}