@ckeditor/ckeditor5-html-embed 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/README.md +2 -2
- package/ckeditor5-metadata.json +1 -1
- package/package.json +15 -15
- package/src/augmentation.d.ts +24 -0
- package/src/augmentation.js +5 -0
- package/src/htmlembed.d.ts +0 -5
- package/src/htmlembedcommand.d.ts +0 -5
- package/src/htmlembedconfig.d.ts +0 -10
- package/src/htmlembedediting.d.ts +0 -5
- package/src/htmlembedui.d.ts +0 -5
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -0
package/README.md
CHANGED
|
@@ -10,11 +10,11 @@ This package implements the HTML embed feature for CKEditor 5. It allows embeddi
|
|
|
10
10
|
|
|
11
11
|
## Demo
|
|
12
12
|
|
|
13
|
-
Check out the demo in the [HTML embed feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html#demo).
|
|
13
|
+
Check out the demo in the [HTML embed feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/html/html-embed.html#demo).
|
|
14
14
|
|
|
15
15
|
## Documentation
|
|
16
16
|
|
|
17
|
-
See the [`@ckeditor/ckeditor5-html-embed` package](https://ckeditor.com/docs/ckeditor5/latest/api/html-embed.html) page as well as the [HTML embed feature](https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html) guide in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
|
|
17
|
+
See the [`@ckeditor/ckeditor5-html-embed` package](https://ckeditor.com/docs/ckeditor5/latest/api/html-embed.html) page as well as the [HTML embed feature](https://ckeditor.com/docs/ckeditor5/latest/features/html/html-embed.html) guide in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
|
|
18
18
|
|
|
19
19
|
## License
|
|
20
20
|
|
package/ckeditor5-metadata.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "HTML embed",
|
|
5
5
|
"className": "HtmlEmbed",
|
|
6
6
|
"description": "Allows for embedding an arbitrary HTML snippet in the editor.",
|
|
7
|
-
"docs": "features/html-embed.html",
|
|
7
|
+
"docs": "features/html/html-embed.html",
|
|
8
8
|
"path": "src/htmlembed.js",
|
|
9
9
|
"uiComponents": [
|
|
10
10
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-html-embed",
|
|
3
|
-
"version": "37.0.0-alpha.
|
|
3
|
+
"version": "37.0.0-alpha.2",
|
|
4
4
|
"description": "HTML embed feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,21 +12,21 @@
|
|
|
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-basic-styles": "^37.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
|
21
|
-
"@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.
|
|
24
|
-
"@ckeditor/ckeditor5-media-embed": "^37.0.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-table": "^37.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "^37.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-widget": "^37.0.0-alpha.
|
|
18
|
+
"@ckeditor/ckeditor5-basic-styles": "^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-clipboard": "^37.0.0-alpha.2",
|
|
22
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
|
|
23
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
|
|
24
|
+
"@ckeditor/ckeditor5-media-embed": "^37.0.0-alpha.2",
|
|
25
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
|
|
26
|
+
"@ckeditor/ckeditor5-table": "^37.0.0-alpha.2",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "^37.0.0-alpha.2",
|
|
28
|
+
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.2",
|
|
29
|
+
"@ckeditor/ckeditor5-widget": "^37.0.0-alpha.2",
|
|
30
30
|
"lodash-es": "^4.17.15",
|
|
31
31
|
"sanitize-html": "^2.1.0",
|
|
32
32
|
"typescript": "^4.8.4",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
],
|
|
58
58
|
"scripts": {
|
|
59
59
|
"dll:build": "webpack",
|
|
60
|
-
"build": "tsc -p ./tsconfig.
|
|
60
|
+
"build": "tsc -p ./tsconfig.json",
|
|
61
61
|
"postversion": "npm run build"
|
|
62
62
|
},
|
|
63
63
|
"types": "src/index.d.ts"
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { HtmlEmbed, HtmlEmbedCommand, HtmlEmbedConfig, HtmlEmbedEditing, HtmlEmbedUI } from './index';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The configuration of the HTML embed feature. Introduced by the {@link module:html-embed/htmlembedediting~HtmlEmbedEditing}
|
|
10
|
+
* feature.
|
|
11
|
+
*
|
|
12
|
+
* Read more in {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
13
|
+
*/
|
|
14
|
+
htmlEmbed?: HtmlEmbedConfig;
|
|
15
|
+
}
|
|
16
|
+
interface PluginsMap {
|
|
17
|
+
[HtmlEmbed.pluginName]: HtmlEmbed;
|
|
18
|
+
[HtmlEmbedEditing.pluginName]: HtmlEmbedEditing;
|
|
19
|
+
[HtmlEmbedUI.pluginName]: HtmlEmbedUI;
|
|
20
|
+
}
|
|
21
|
+
interface CommandsMap {
|
|
22
|
+
htmlEmbed: HtmlEmbedCommand;
|
|
23
|
+
}
|
|
24
|
+
}
|
package/src/htmlembed.d.ts
CHANGED
package/src/htmlembedconfig.d.ts
CHANGED
|
@@ -84,13 +84,3 @@ export interface HtmlEmbedSanitizeOutput {
|
|
|
84
84
|
*/
|
|
85
85
|
hasChanged: boolean;
|
|
86
86
|
}
|
|
87
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
88
|
-
/**
|
|
89
|
-
* The configuration of the HTML embed feature. Introduced by the {@link module:html-embed/htmlembedediting~HtmlEmbedEditing} feature.
|
|
90
|
-
*
|
|
91
|
-
* Read more in {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
92
|
-
*/
|
|
93
|
-
interface EditorConfig {
|
|
94
|
-
htmlEmbed?: HtmlEmbedConfig;
|
|
95
|
-
}
|
|
96
|
-
}
|
package/src/htmlembedui.d.ts
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -8,3 +8,6 @@
|
|
|
8
8
|
export { default as HtmlEmbed } from './htmlembed';
|
|
9
9
|
export { default as HtmlEmbedEditing } from './htmlembedediting';
|
|
10
10
|
export { default as HtmlEmbedUI } from './htmlembedui';
|
|
11
|
+
export type { default as HtmlEmbedCommand } from './htmlembedcommand';
|
|
12
|
+
export type { HtmlEmbedConfig } from './htmlembedconfig';
|
|
13
|
+
import './augmentation';
|
package/src/index.js
CHANGED