UNPKG

703 BTypeScriptView 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/underlineediting
7 */
8import { Plugin } from 'ckeditor5/src/core.js';
9/**
10 * The underline editing feature.
11 *
12 * It registers the `'underline'` command, the <kbd>Ctrl+U</kbd> keystroke
13 * and introduces the `underline` attribute in the model which renders to the view as an `<u>` element.
14 */
15export default class UnderlineEditing extends Plugin {
16 /**
17 * @inheritDoc
18 */
19 static get pluginName(): "UnderlineEditing";
20 /**
21 * @inheritDoc
22 */
23 init(): void;
24}