1 | /**
|
2 | * @license Copyright (c) 2003-2024, 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 | */
|
8 | import { Plugin } from 'ckeditor5/src/core.js';
|
9 | import HeadingEditing from './headingediting.js';
|
10 | import HeadingUI from './headingui.js';
|
11 | import '../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 | */
|
23 | export 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 | }
|