UNPKG

657 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/subscript/subscriptediting
7 */
8import { Plugin } from 'ckeditor5/src/core.js';
9/**
10 * The subscript editing feature.
11 *
12 * It registers the `sub` command and introduces the `sub` attribute in the model which renders to the view
13 * as a `<sub>` element.
14 */
15export default class SubscriptEditing extends Plugin {
16 /**
17 * @inheritDoc
18 */
19 static get pluginName(): "SubscriptEditing";
20 /**
21 * @inheritDoc
22 */
23 init(): void;
24}