@ckeditor/ckeditor5-highlight 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 +16 -16
- package/src/augmentation.d.ts +23 -0
- package/src/augmentation.js +5 -0
- package/src/highlight.d.ts +0 -5
- package/src/highlightcommand.d.ts +0 -5
- package/src/highlightconfig.d.ts +0 -10
- package/src/highlightediting.d.ts +0 -5
- package/src/highlightui.d.ts +0 -5
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-highlight",
|
3
|
-
"version": "37.0.0-alpha.
|
3
|
+
"version": "37.0.0-alpha.2",
|
4
4
|
"description": "Highlight feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -12,22 +12,22 @@
|
|
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-block-quote": "^37.0.0-alpha.
|
19
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.
|
20
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
21
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.
|
22
|
-
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.
|
23
|
-
"@ckeditor/ckeditor5-enter": "^37.0.0-alpha.
|
24
|
-
"@ckeditor/ckeditor5-heading": "^37.0.0-alpha.
|
25
|
-
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.
|
26
|
-
"@ckeditor/ckeditor5-list": "^37.0.0-alpha.
|
27
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.
|
28
|
-
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.
|
29
|
-
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.
|
30
|
-
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.
|
18
|
+
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.2",
|
19
|
+
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
|
20
|
+
"@ckeditor/ckeditor5-dev-utils": "^35.0.0",
|
21
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
|
22
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
|
23
|
+
"@ckeditor/ckeditor5-enter": "^37.0.0-alpha.2",
|
24
|
+
"@ckeditor/ckeditor5-heading": "^37.0.0-alpha.2",
|
25
|
+
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.2",
|
26
|
+
"@ckeditor/ckeditor5-list": "^37.0.0-alpha.2",
|
27
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
|
28
|
+
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.2",
|
29
|
+
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.2",
|
30
|
+
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.2",
|
31
31
|
"typescript": "^4.8.4",
|
32
32
|
"webpack": "^5.58.1",
|
33
33
|
"webpack-cli": "^4.9.0"
|
@@ -56,7 +56,7 @@
|
|
56
56
|
],
|
57
57
|
"scripts": {
|
58
58
|
"dll:build": "webpack",
|
59
|
-
"build": "tsc -p ./tsconfig.
|
59
|
+
"build": "tsc -p ./tsconfig.json",
|
60
60
|
"postversion": "npm run build"
|
61
61
|
},
|
62
62
|
"types": "src/index.d.ts"
|
@@ -0,0 +1,23 @@
|
|
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 { Highlight, HighlightCommand, HighlightConfig, HighlightEditing, HighlightUI } from './index';
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
7
|
+
interface EditorConfig {
|
8
|
+
/**
|
9
|
+
* The configuration of the {@link module:highlight/highlight~Highlight} feature.
|
10
|
+
*
|
11
|
+
* Read more in {@link module:highlight/highlightconfig~HighlightConfig}.
|
12
|
+
*/
|
13
|
+
highlight?: HighlightConfig;
|
14
|
+
}
|
15
|
+
interface PluginsMap {
|
16
|
+
[Highlight.pluginName]: Highlight;
|
17
|
+
[HighlightEditing.pluginName]: HighlightEditing;
|
18
|
+
[HighlightUI.pluginName]: HighlightUI;
|
19
|
+
}
|
20
|
+
interface CommandsMap {
|
21
|
+
highlight: HighlightCommand;
|
22
|
+
}
|
23
|
+
}
|
package/src/highlight.d.ts
CHANGED
package/src/highlightconfig.d.ts
CHANGED
@@ -169,13 +169,3 @@ export interface HighlightConfig {
|
|
169
169
|
*/
|
170
170
|
options: Array<HighlightOption>;
|
171
171
|
}
|
172
|
-
declare module '@ckeditor/ckeditor5-core' {
|
173
|
-
interface EditorConfig {
|
174
|
-
/**
|
175
|
-
* The configuration of the {@link module:highlight/highlight~Highlight} feature.
|
176
|
-
*
|
177
|
-
* Read more in {@link module:highlight/highlightconfig~HighlightConfig}.
|
178
|
-
*/
|
179
|
-
highlight?: HighlightConfig;
|
180
|
-
}
|
181
|
-
}
|
package/src/highlightui.d.ts
CHANGED
package/src/index.d.ts
CHANGED
@@ -8,3 +8,6 @@
|
|
8
8
|
export { default as Highlight } from './highlight';
|
9
9
|
export { default as HighlightEditing } from './highlightediting';
|
10
10
|
export { default as HighlightUI } from './highlightui';
|
11
|
+
export type { default as HighlightCommand } from './highlightcommand';
|
12
|
+
export type { HighlightOption, HighlightConfig } from './highlightconfig';
|
13
|
+
import './augmentation';
|
package/src/index.js
CHANGED