UNPKG

1.03 kBJavaScriptView Raw
1/**
2 * @license Copyright (c) 2003-2022, 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/**
7 * @module basic-styles/underline
8 */
9
10import { Plugin } from 'ckeditor5/src/core';
11import UnderlineEditing from './underline/underlineediting';
12import UnderlineUI from './underline/underlineui';
13
14/**
15 * The underline feature.
16 *
17 * For a detailed overview check the {@glink features/basic-styles Basic styles feature documentation}
18 * and the {@glink api/basic-styles package page}.
19 *
20 * This is a "glue" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and
21 * {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.
22 *
23 * @extends module:core/plugin~Plugin
24 */
25export default class Underline extends Plugin {
26 /**
27 * @inheritDoc
28 */
29 static get requires() {
30 return [ UnderlineEditing, UnderlineUI ];
31 }
32
33 /**
34 * @inheritDoc
35 */
36 static get pluginName() {
37 return 'Underline';
38 }
39}