UNPKG

1.08 kBTypeScriptView 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/strikethrough
7 */
8import { Plugin } from 'ckeditor5/src/core.js';
9import StrikethroughEditing from './strikethrough/strikethroughediting.js';
10import StrikethroughUI from './strikethrough/strikethroughui.js';
11/**
12 * The strikethrough feature.
13 *
14 * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
15 * and the {@glink api/basic-styles package page}.
16 *
17 * This is a "glue" plugin which loads the {@link module:basic-styles/strikethrough/strikethroughediting~StrikethroughEditing} and
18 * {@link module:basic-styles/strikethrough/strikethroughui~StrikethroughUI} plugins.
19 */
20export default class Strikethrough extends Plugin {
21 /**
22 * @inheritDoc
23 */
24 static get requires(): readonly [typeof StrikethroughEditing, typeof StrikethroughUI];
25 /**
26 * @inheritDoc
27 */
28 static get pluginName(): "Strikethrough";
29}