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/superscript
|
8 | */
|
9 |
|
10 | import { Plugin } from 'ckeditor5/src/core';
|
11 | import SuperscriptEditing from './superscript/superscriptediting';
|
12 | import SuperscriptUI from './superscript/superscriptui';
|
13 |
|
14 | /**
|
15 | * The superscript feature.
|
16 | *
|
17 | * It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and
|
18 | * {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins.
|
19 | *
|
20 | * @extends module:core/plugin~Plugin
|
21 | */
|
22 | export default class Superscript extends Plugin {
|
23 | /**
|
24 | * @inheritDoc
|
25 | */
|
26 | static get requires() {
|
27 | return [ SuperscriptEditing, SuperscriptUI ];
|
28 | }
|
29 |
|
30 | /**
|
31 | * @inheritDoc
|
32 | */
|
33 | static get pluginName() {
|
34 | return 'Superscript';
|
35 | }
|
36 | }
|