UNPKG

1.01 kBTypeScriptView Raw
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 basic-styles/underline
7 */
8import { Plugin } from 'ckeditor5/src/core.js';
9import UnderlineEditing from './underline/underlineediting.js';
10import UnderlineUI from './underline/underlineui.js';
11/**
12 * The underline feature.
13 *
14 * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
15 * and the {@glink api/basic-styles package page}.
16 *
17 * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and
18 * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.
19 */
20export default class Underline extends Plugin {
21 /**
22 * @inheritDoc
23 */
24 static get requires(): readonly [typeof UnderlineEditing, typeof UnderlineUI];
25 /**
26 * @inheritDoc
27 */
28 static get pluginName(): "Underline";
29}