@ckeditor/ckeditor5-html-embed 37.0.0-alpha.3 → 37.0.0
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/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +15 -15
- package/src/htmlembed.d.ts +1 -1
- package/src/htmlembed.js +1 -1
- package/src/htmlembedconfig.d.ts +5 -5
- package/src/htmlembedediting.js +1 -1
package/lang/translations/ar.po
CHANGED
package/lang/translations/bg.po
CHANGED
package/lang/translations/bn.po
CHANGED
package/lang/translations/bs.po
CHANGED
package/lang/translations/ca.po
CHANGED
package/lang/translations/cs.po
CHANGED
package/lang/translations/da.po
CHANGED
package/lang/translations/de.po
CHANGED
package/lang/translations/el.po
CHANGED
package/lang/translations/en.po
CHANGED
package/lang/translations/es.po
CHANGED
package/lang/translations/et.po
CHANGED
package/lang/translations/fi.po
CHANGED
package/lang/translations/fr.po
CHANGED
package/lang/translations/gl.po
CHANGED
package/lang/translations/he.po
CHANGED
package/lang/translations/hi.po
CHANGED
package/lang/translations/hr.po
CHANGED
package/lang/translations/hu.po
CHANGED
package/lang/translations/id.po
CHANGED
package/lang/translations/it.po
CHANGED
package/lang/translations/ja.po
CHANGED
package/lang/translations/jv.po
CHANGED
package/lang/translations/ko.po
CHANGED
package/lang/translations/lt.po
CHANGED
package/lang/translations/lv.po
CHANGED
package/lang/translations/ms.po
CHANGED
package/lang/translations/nl.po
CHANGED
package/lang/translations/no.po
CHANGED
package/lang/translations/pl.po
CHANGED
package/lang/translations/pt.po
CHANGED
package/lang/translations/ro.po
CHANGED
package/lang/translations/ru.po
CHANGED
package/lang/translations/sk.po
CHANGED
package/lang/translations/sl.po
CHANGED
package/lang/translations/sr.po
CHANGED
package/lang/translations/sv.po
CHANGED
package/lang/translations/th.po
CHANGED
package/lang/translations/tr.po
CHANGED
package/lang/translations/uk.po
CHANGED
package/lang/translations/ur.po
CHANGED
package/lang/translations/uz.po
CHANGED
package/lang/translations/vi.po
CHANGED
package/lang/translations/zh.po
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-html-embed",
|
|
3
|
-
"version": "37.0.0
|
|
3
|
+
"version": "37.0.0",
|
|
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
|
|
15
|
+
"ckeditor5": "^37.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@ckeditor/ckeditor5-basic-styles": "^37.0.0
|
|
19
|
-
"@ckeditor/ckeditor5-core": "^37.0.0
|
|
20
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
|
21
|
-
"@ckeditor/ckeditor5-clipboard": "^37.0.0
|
|
22
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0
|
|
23
|
-
"@ckeditor/ckeditor5-engine": "^37.0.0
|
|
24
|
-
"@ckeditor/ckeditor5-media-embed": "^37.0.0
|
|
25
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0
|
|
26
|
-
"@ckeditor/ckeditor5-table": "^37.0.0
|
|
27
|
-
"@ckeditor/ckeditor5-ui": "^37.0.0
|
|
28
|
-
"@ckeditor/ckeditor5-theme-lark": "^37.0.0
|
|
29
|
-
"@ckeditor/ckeditor5-widget": "^37.0.0
|
|
18
|
+
"@ckeditor/ckeditor5-basic-styles": "^37.0.0",
|
|
19
|
+
"@ckeditor/ckeditor5-core": "^37.0.0",
|
|
20
|
+
"@ckeditor/ckeditor5-dev-utils": "^36.0.0",
|
|
21
|
+
"@ckeditor/ckeditor5-clipboard": "^37.0.0",
|
|
22
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0",
|
|
23
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0",
|
|
24
|
+
"@ckeditor/ckeditor5-media-embed": "^37.0.0",
|
|
25
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0",
|
|
26
|
+
"@ckeditor/ckeditor5-table": "^37.0.0",
|
|
27
|
+
"@ckeditor/ckeditor5-ui": "^37.0.0",
|
|
28
|
+
"@ckeditor/ckeditor5-theme-lark": "^37.0.0",
|
|
29
|
+
"@ckeditor/ckeditor5-widget": "^37.0.0",
|
|
30
30
|
"lodash-es": "^4.17.15",
|
|
31
31
|
"sanitize-html": "^2.1.0",
|
|
32
32
|
"typescript": "^4.8.4",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"webpack-cli": "^4.9.0"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
37
|
+
"node": ">=16.0.0",
|
|
38
38
|
"npm": ">=5.7.1"
|
|
39
39
|
},
|
|
40
40
|
"author": "CKSource (http://cksource.com/)",
|
package/src/htmlembed.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import HtmlEmbedUI from './htmlembedui';
|
|
|
14
14
|
*
|
|
15
15
|
* It allows inserting HTML snippets directly into the editor.
|
|
16
16
|
*
|
|
17
|
-
* For a detailed overview, check the {@glink features/html-embed HTML embed feature} documentation.
|
|
17
|
+
* For a detailed overview, check the {@glink features/html/html-embed HTML embed feature} documentation.
|
|
18
18
|
*/
|
|
19
19
|
export default class HtmlEmbed extends Plugin {
|
|
20
20
|
/**
|
package/src/htmlembed.js
CHANGED
|
@@ -14,7 +14,7 @@ import HtmlEmbedUI from './htmlembedui';
|
|
|
14
14
|
*
|
|
15
15
|
* It allows inserting HTML snippets directly into the editor.
|
|
16
16
|
*
|
|
17
|
-
* For a detailed overview, check the {@glink features/html-embed HTML embed feature} documentation.
|
|
17
|
+
* For a detailed overview, check the {@glink features/html/html-embed HTML embed feature} documentation.
|
|
18
18
|
*/
|
|
19
19
|
export default class HtmlEmbed extends Plugin {
|
|
20
20
|
/**
|
package/src/htmlembedconfig.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ export interface HtmlEmbedConfig {
|
|
|
29
29
|
* The function responsible for sanitizing the HTML needs to be specified in
|
|
30
30
|
* {@link module:html-embed/htmlembedconfig~HtmlEmbedConfig#sanitizeHtml `config.htmlEmbed.sanitizeHtml()`}.
|
|
31
31
|
*
|
|
32
|
-
* Read more about the security aspect of this feature in the {@glink features/html-embed#security "Security"} section of
|
|
33
|
-
* the {@glink features/html-embed HTML embed} feature guide.
|
|
32
|
+
* Read more about the security aspect of this feature in the {@glink features/html/html-embed#security "Security"} section of
|
|
33
|
+
* the {@glink features/html/html-embed HTML embed} feature guide.
|
|
34
34
|
*/
|
|
35
35
|
showPreviews?: boolean;
|
|
36
36
|
/**
|
|
@@ -38,8 +38,8 @@ export interface HtmlEmbedConfig {
|
|
|
38
38
|
*
|
|
39
39
|
* We strongly recommend overwriting the default function to avoid XSS vulnerabilities.
|
|
40
40
|
*
|
|
41
|
-
* Read more about the security aspect of this feature in the {@glink features/html-embed#security "Security"} section of
|
|
42
|
-
* the {@glink features/html-embed HTML embed} feature guide.
|
|
41
|
+
* Read more about the security aspect of this feature in the {@glink features/html/html-embed#security "Security"} section of
|
|
42
|
+
* the {@glink features/html/html-embed HTML embed} feature guide.
|
|
43
43
|
*
|
|
44
44
|
* The function receives the input HTML (as a string), and should return an object
|
|
45
45
|
* that matches the {@link module:html-embed/htmlembedconfig~HtmlEmbedSanitizeOutput} interface.
|
|
@@ -76,7 +76,7 @@ export interface HtmlEmbedConfig {
|
|
|
76
76
|
*/
|
|
77
77
|
export interface HtmlEmbedSanitizeOutput {
|
|
78
78
|
/**
|
|
79
|
-
* An output (safe) HTML that will be inserted into the {@glink framework/
|
|
79
|
+
* An output (safe) HTML that will be inserted into the {@glink framework/architecture/editing-engine editing view}.
|
|
80
80
|
*/
|
|
81
81
|
html: string;
|
|
82
82
|
/**
|
package/src/htmlembedediting.js
CHANGED
|
@@ -38,7 +38,7 @@ export default class HtmlEmbedEditing extends Plugin {
|
|
|
38
38
|
* When using the HTML embed feature with the `htmlEmbed.showPreviews=true` option, it is strongly recommended to
|
|
39
39
|
* define a sanitize function that will clean up the input HTML in order to avoid XSS vulnerability.
|
|
40
40
|
*
|
|
41
|
-
* For a detailed overview, check the {@glink features/html-embed HTML embed feature} documentation.
|
|
41
|
+
* For a detailed overview, check the {@glink features/html/html-embed HTML embed feature} documentation.
|
|
42
42
|
*
|
|
43
43
|
* @error html-embed-provide-sanitize-function
|
|
44
44
|
*/
|