@ckeditor/ckeditor5-html-support
Version:
HTML Support feature for CKEditor 5.
36 lines (35 loc) • 2.1 kB
TypeScript
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
import type { GeneralHtmlSupport, DataFilter, DataSchema, GeneralHtmlSupportConfig, CodeBlockElementSupport, CustomElementSupport, ListElementSupport, DualContentModelElementSupport, HeadingElementSupport, ImageElementSupport, MediaEmbedElementSupport, ScriptElementSupport, StyleElementSupport, TableElementSupport, HorizontalLineElementSupport, HtmlComment, FullPage, EmptyBlock } from './index.js';
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;
[]: ListElementSupport;
[]: DualContentModelElementSupport;
[]: HeadingElementSupport;
[]: ImageElementSupport;
[]: MediaEmbedElementSupport;
[]: ScriptElementSupport;
[]: StyleElementSupport;
[]: TableElementSupport;
[]: HorizontalLineElementSupport;
[]: HtmlComment;
[]: FullPage;
[]: EmptyBlock;
}
}