-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathaugmentation.ts
More file actions
56 lines (52 loc) · 1.84 KB
/
augmentation.ts
File metadata and controls
56 lines (52 loc) · 1.84 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
import type {
GeneralHtmlSupport,
DataFilter,
DataSchema,
GeneralHtmlSupportConfig,
CodeBlockElementSupport,
CustomElementSupport,
ListElementSupport,
DualContentModelElementSupport,
HeadingElementSupport,
ImageElementSupport,
MediaEmbedElementSupport,
ScriptElementSupport,
StyleElementSupport,
TableElementSupport,
HtmlComment,
FullPage,
EmptyBlock
} from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**
* The configuration of the General HTML Support feature.
* Introduced by the {@link module:html-support/generalhtmlsupport~GeneralHtmlSupport} feature.
*
* Read more in {@link module:html-support/generalhtmlsupportconfig~GeneralHtmlSupportConfig}.
*/
htmlSupport?: GeneralHtmlSupportConfig;
}
interface PluginsMap {
[ GeneralHtmlSupport.pluginName ]: GeneralHtmlSupport;
[ DataFilter.pluginName ]: DataFilter;
[ DataSchema.pluginName ]: DataSchema;
[ CodeBlockElementSupport.pluginName ]: CodeBlockElementSupport;
[ CustomElementSupport.pluginName ]: CustomElementSupport;
[ ListElementSupport.pluginName ]: ListElementSupport;
[ DualContentModelElementSupport.pluginName ]: DualContentModelElementSupport;
[ HeadingElementSupport.pluginName ]: HeadingElementSupport;
[ ImageElementSupport.pluginName ]: ImageElementSupport;
[ MediaEmbedElementSupport.pluginName ]: MediaEmbedElementSupport;
[ ScriptElementSupport.pluginName ]: ScriptElementSupport;
[ StyleElementSupport.pluginName ]: StyleElementSupport;
[ TableElementSupport.pluginName ]: TableElementSupport;
[ HtmlComment.pluginName ]: HtmlComment;
[ FullPage.pluginName ]: FullPage;
[ EmptyBlock.pluginName ]: EmptyBlock;
}
}