@ckeditor/ckeditor5-heading 37.0.0-alpha.0 → 37.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +20 -20
- package/src/augmentation.d.ts +30 -0
- package/src/augmentation.js +5 -0
- package/src/heading.d.ts +0 -5
- package/src/headingcommand.d.ts +0 -5
- package/src/headingconfig.d.ts +0 -10
- package/src/headingediting.d.ts +0 -5
- package/src/headingui.d.ts +0 -5
- package/src/index.d.ts +3 -1
- package/src/index.js +1 -0
- package/src/title.d.ts +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-heading",
|
|
3
|
-
"version": "37.0.0-alpha.
|
|
3
|
+
"version": "37.0.0-alpha.2",
|
|
4
4
|
"description": "Headings feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,26 +12,26 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "^37.0.0-alpha.
|
|
15
|
+
"ckeditor5": "^37.0.0-alpha.2"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
|
24
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-enter": "^37.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-ui": "^37.0.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-undo": "^37.0.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-upload": "^37.0.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.
|
|
18
|
+
"@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.2",
|
|
19
|
+
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.2",
|
|
20
|
+
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.2",
|
|
21
|
+
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
|
|
22
|
+
"@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.2",
|
|
23
|
+
"@ckeditor/ckeditor5-dev-utils": "^35.0.0",
|
|
24
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
|
|
26
|
+
"@ckeditor/ckeditor5-enter": "^37.0.0-alpha.2",
|
|
27
|
+
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.2",
|
|
28
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
|
|
29
|
+
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.2",
|
|
30
|
+
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.2",
|
|
31
|
+
"@ckeditor/ckeditor5-ui": "^37.0.0-alpha.2",
|
|
32
|
+
"@ckeditor/ckeditor5-undo": "^37.0.0-alpha.2",
|
|
33
|
+
"@ckeditor/ckeditor5-upload": "^37.0.0-alpha.2",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.2",
|
|
35
35
|
"typescript": "^4.8.4",
|
|
36
36
|
"webpack": "^5.58.1",
|
|
37
37
|
"webpack-cli": "^4.9.0"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
],
|
|
61
61
|
"scripts": {
|
|
62
62
|
"dll:build": "webpack",
|
|
63
|
-
"build": "tsc -p ./tsconfig.
|
|
63
|
+
"build": "tsc -p ./tsconfig.json",
|
|
64
64
|
"postversion": "npm run build"
|
|
65
65
|
},
|
|
66
66
|
"types": "src/index.d.ts"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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
|
+
import type { Heading, HeadingCommand, HeadingConfig, HeadingEditing, HeadingUI, Title, TitleConfig } from './index';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The configuration of the heading feature. Introduced by the {@link module:heading/headingediting~HeadingEditing} feature.
|
|
10
|
+
*
|
|
11
|
+
* Read more in {@link module:heading/headingconfig~HeadingConfig}.
|
|
12
|
+
*/
|
|
13
|
+
heading?: HeadingConfig;
|
|
14
|
+
/**
|
|
15
|
+
* The configuration of the {@link module:heading/title~Title title feature}.
|
|
16
|
+
*
|
|
17
|
+
* Read more in {@link module:heading/title~TitleConfig}.
|
|
18
|
+
*/
|
|
19
|
+
title?: TitleConfig;
|
|
20
|
+
}
|
|
21
|
+
interface PluginsMap {
|
|
22
|
+
[Heading.pluginName]: Heading;
|
|
23
|
+
[HeadingEditing.pluginName]: HeadingEditing;
|
|
24
|
+
[HeadingUI.pluginName]: HeadingUI;
|
|
25
|
+
[Title.pluginName]: Title;
|
|
26
|
+
}
|
|
27
|
+
interface CommandsMap {
|
|
28
|
+
heading: HeadingCommand;
|
|
29
|
+
}
|
|
30
|
+
}
|
package/src/heading.d.ts
CHANGED
package/src/headingcommand.d.ts
CHANGED
package/src/headingconfig.d.ts
CHANGED
|
@@ -108,13 +108,3 @@ export interface HeadingParagraphOption {
|
|
|
108
108
|
*/
|
|
109
109
|
icon?: string;
|
|
110
110
|
}
|
|
111
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
112
|
-
interface EditorConfig {
|
|
113
|
-
/**
|
|
114
|
-
* The configuration of the heading feature. Introduced by the {@link module:heading/headingediting~HeadingEditing} feature.
|
|
115
|
-
*
|
|
116
|
-
* Read more in {@link module:heading/headingconfig~HeadingConfig}.
|
|
117
|
-
*/
|
|
118
|
-
heading?: HeadingConfig;
|
|
119
|
-
}
|
|
120
|
-
}
|
package/src/headingediting.d.ts
CHANGED
package/src/headingui.d.ts
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { HeadingOption } from './headingconfig';
|
|
|
10
10
|
export { default as HeadingEditing } from './headingediting';
|
|
11
11
|
export { default as HeadingUI } from './headingui';
|
|
12
12
|
export { default as HeadingButtonsUI } from './headingbuttonsui';
|
|
13
|
-
export { default as Title } from './title';
|
|
13
|
+
export { default as Title, type TitleConfig } from './title';
|
|
14
|
+
export type { HeadingConfig } from './headingconfig';
|
|
14
15
|
export type { default as HeadingCommand } from './headingcommand';
|
|
16
|
+
import './augmentation';
|
package/src/index.js
CHANGED
package/src/title.d.ts
CHANGED
|
@@ -113,16 +113,3 @@ export interface TitleConfig {
|
|
|
113
113
|
*/
|
|
114
114
|
placeholder?: string;
|
|
115
115
|
}
|
|
116
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
117
|
-
interface PluginsMap {
|
|
118
|
-
[Title.pluginName]: Title;
|
|
119
|
-
}
|
|
120
|
-
interface EditorConfig {
|
|
121
|
-
/**
|
|
122
|
-
* The configuration of the {@link module:heading/title~Title title feature}.
|
|
123
|
-
*
|
|
124
|
-
* Read more in {@link module:heading/title~TitleConfig}.
|
|
125
|
-
*/
|
|
126
|
-
title?: TitleConfig;
|
|
127
|
-
}
|
|
128
|
-
}
|