-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
highlight.ts
37 lines (32 loc) · 931 Bytes
/
highlight.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @module highlight/highlight
*/
import { Plugin } from 'ckeditor5/src/core.js';
import HighlightEditing from './highlightediting.js';
import HighlightUI from './highlightui.js';
/**
* The highlight plugin.
*
* For a detailed overview, check the {@glink features/highlight Highlight feature} documentation.
*
* This is a "glue" plugin which loads the {@link module:highlight/highlightediting~HighlightEditing} and
* {@link module:highlight/highlightui~HighlightUI} plugins.
*/
export default class Highlight extends Plugin {
/**
* @inheritDoc
*/
public static get requires() {
return [ HighlightEditing, HighlightUI ] as const;
}
/**
* @inheritDoc
*/
public static get pluginName() {
return 'Highlight' as const;
}
}