UNPKG

1.01 kBTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module heading/heading
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import HeadingEditing from './headingediting';
10import HeadingUI from './headingui';
11import '../theme/heading.css';
12/**
13 * The headings feature.
14 *
15 * For a detailed overview, check the {@glink features/headings Headings feature} guide
16 * and the {@glink api/heading package page}.
17 *
18 * This is a "glue" plugin which loads the {@link module:heading/headingediting~HeadingEditing heading editing feature}
19 * and {@link module:heading/headingui~HeadingUI heading UI feature}.
20 *
21 * @extends module:core/plugin~Plugin
22 */
23export default class Heading extends Plugin {
24 /**
25 * @inheritDoc
26 */
27 static get requires(): readonly [typeof HeadingEditing, typeof HeadingUI];
28 /**
29 * @inheritDoc
30 */
31 static get pluginName(): 'Heading';
32}