UNPKG

@ckeditor/ckeditor5-heading

Version:

Headings feature for CKEditor 5.

36 lines (35 loc) 1.06 kB
/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module heading/heading */ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import { HeadingEditing } from "./headingediting.js"; import { HeadingUI } from "./headingui.js"; /** * The headings feature. * * For a detailed overview, check the {@glink features/headings Headings feature} guide * and the {@glink api/heading package page}. * * This is a "glue" plugin which loads the {@link module:heading/headingediting~HeadingEditing heading editing feature} * and {@link module:heading/headingui~HeadingUI heading UI feature}. * * @extends module:core/plugin~Plugin */ export declare class Heading extends Plugin { /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[HeadingEditing, HeadingUI]>; /** * @inheritDoc */ static get pluginName(): "Heading"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; }