UNPKG

@ckeditor/ckeditor5-html-support

Version:

HTML Support feature for CKEditor 5.

36 lines (35 loc) 1.04 kB
/** * @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 */ /** * @module html-support/integrations/heading */ import { Plugin } from 'ckeditor5/src/core.js'; import { Enter } from 'ckeditor5/src/enter.js'; import { DataSchema } from '../dataschema.js'; /** * Provides the General HTML Support integration with {@link module:heading/heading~Heading Heading} feature. */ export declare class HeadingElementSupport extends Plugin { /** * @inheritDoc */ static get requires(): readonly [typeof DataSchema, typeof Enter]; /** * @inheritDoc */ static get pluginName(): "HeadingElementSupport"; /** * @inheritDoc */ static get isOfficialPlugin(): true; /** * @inheritDoc */ init(): void; /** * Registers all elements supported by HeadingEditing to enable custom attributes for those elements. */ private registerHeadingElements; }