/
selectall.ts
36 lines (32 loc) · 959 Bytes
/
selectall.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
/**
* @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 select-all/selectall
*/
import { Plugin } from '@ckeditor/ckeditor5-core';
import SelectAllEditing from './selectallediting.js';
import SelectAllUI from './selectallui.js';
/**
* The select all feature.
*
* This is a "glue" plugin which loads the {@link module:select-all/selectallediting~SelectAllEditing select all editing feature}
* and the {@link module:select-all/selectallui~SelectAllUI select all UI feature}.
*
* Please refer to the documentation of individual features to learn more.
*/
export default class SelectAll extends Plugin {
/**
* @inheritDoc
*/
public static get requires() {
return [ SelectAllEditing, SelectAllUI ] as const;
}
/**
* @inheritDoc
*/
public static get pluginName() {
return 'SelectAll' as const;
}
}