/
standardeditingmode.ts
37 lines (30 loc) · 1.07 KB
/
standardeditingmode.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 restricted-editing/standardeditingmode
*/
import { Plugin } from 'ckeditor5/src/core.js';
import StandardEditingModeEditing from './standardeditingmodeediting.js';
import StandardEditingModeUI from './standardeditingmodeui.js';
import '../theme/restrictedediting.css';
/**
* The standard editing mode plugin.
*
* This is a "glue" plugin that loads the following plugins:
*
* * The {@link module:restricted-editing/standardeditingmodeediting~StandardEditingModeEditing standard mode editing feature}.
* * The {@link module:restricted-editing/standardeditingmodeui~StandardEditingModeUI standard mode UI feature}.
*/
export default class StandardEditingMode extends Plugin {
/**
* @inheritDoc
*/
public static get pluginName() {
return 'StandardEditingMode' as const;
}
public static get requires() {
return [ StandardEditingModeEditing, StandardEditingModeUI ] as const;
}
}