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/strikethrough
|
8 | */
|
9 |
|
10 | import { Plugin } from 'ckeditor5/src/core';
|
11 | import StrikethroughEditing from './strikethrough/strikethroughediting';
|
12 | import StrikethroughUI from './strikethrough/strikethroughui';
|
13 |
|
14 | /**
|
15 | * The strikethrough 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/strikethrough/strikethroughediting~StrikethroughEditing} and
|
21 | * {@link module:basic-styles/strikethrough/strikethroughui~StrikethroughUI} plugins.
|
22 | *
|
23 | * @extends module:core/plugin~Plugin
|
24 | */
|
25 | export default class Strikethrough extends Plugin {
|
26 | /**
|
27 | * @inheritDoc
|
28 | */
|
29 | static get requires() {
|
30 | return [ StrikethroughEditing, StrikethroughUI ];
|
31 | }
|
32 |
|
33 | /**
|
34 | * @inheritDoc
|
35 | */
|
36 | static get pluginName() {
|
37 | return 'Strikethrough';
|
38 | }
|
39 | }
|