@ckeditor/ckeditor5-media-embed 35.1.0 → 35.2.1
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/build/media-embed.js +1 -1
- package/build/media-embed.js.map +1 -0
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.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.po +1 -1
- package/lang/translations/el.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/he.po +1 -1
- package/lang/translations/hi.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/ko.po +3 -3
- 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/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/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +19 -19
- package/src/mediaembedui.js +3 -6
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-media-embed",
|
3
|
-
"version": "35.1
|
3
|
+
"version": "35.2.1",
|
4
4
|
"description": "Media embed 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
|
-
"@ckeditor/ckeditor5-ui": "^35.1
|
16
|
-
"ckeditor5": "^35.1
|
15
|
+
"@ckeditor/ckeditor5-ui": "^35.2.1",
|
16
|
+
"ckeditor5": "^35.2.1"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"@ckeditor/ckeditor5-basic-styles": "^35.1
|
20
|
-
"@ckeditor/ckeditor5-clipboard": "^35.1
|
21
|
-
"@ckeditor/ckeditor5-core": "^35.1
|
22
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
23
|
-
"@ckeditor/ckeditor5-editor-balloon": "^35.1
|
24
|
-
"@ckeditor/ckeditor5-editor-classic": "^35.1
|
25
|
-
"@ckeditor/ckeditor5-engine": "^35.1
|
26
|
-
"@ckeditor/ckeditor5-image": "^35.1
|
27
|
-
"@ckeditor/ckeditor5-link": "^35.1
|
28
|
-
"@ckeditor/ckeditor5-paragraph": "^35.1
|
29
|
-
"@ckeditor/ckeditor5-table": "^35.1
|
30
|
-
"@ckeditor/ckeditor5-theme-lark": "^35.1
|
31
|
-
"@ckeditor/ckeditor5-typing": "^35.1
|
32
|
-
"@ckeditor/ckeditor5-undo": "^35.1
|
33
|
-
"@ckeditor/ckeditor5-utils": "^35.1
|
34
|
-
"@ckeditor/ckeditor5-widget": "^35.1
|
19
|
+
"@ckeditor/ckeditor5-basic-styles": "^35.2.1",
|
20
|
+
"@ckeditor/ckeditor5-clipboard": "^35.2.1",
|
21
|
+
"@ckeditor/ckeditor5-core": "^35.2.1",
|
22
|
+
"@ckeditor/ckeditor5-dev-utils": "^31.0.0",
|
23
|
+
"@ckeditor/ckeditor5-editor-balloon": "^35.2.1",
|
24
|
+
"@ckeditor/ckeditor5-editor-classic": "^35.2.1",
|
25
|
+
"@ckeditor/ckeditor5-engine": "^35.2.1",
|
26
|
+
"@ckeditor/ckeditor5-image": "^35.2.1",
|
27
|
+
"@ckeditor/ckeditor5-link": "^35.2.1",
|
28
|
+
"@ckeditor/ckeditor5-paragraph": "^35.2.1",
|
29
|
+
"@ckeditor/ckeditor5-table": "^35.2.1",
|
30
|
+
"@ckeditor/ckeditor5-theme-lark": "^35.2.1",
|
31
|
+
"@ckeditor/ckeditor5-typing": "^35.2.1",
|
32
|
+
"@ckeditor/ckeditor5-undo": "^35.2.1",
|
33
|
+
"@ckeditor/ckeditor5-utils": "^35.2.1",
|
34
|
+
"@ckeditor/ckeditor5-widget": "^35.2.1",
|
35
35
|
"webpack": "^5.58.1",
|
36
36
|
"webpack-cli": "^4.9.0",
|
37
37
|
"lodash-es": "^4.17.15"
|
package/src/mediaembedui.js
CHANGED
@@ -93,17 +93,14 @@ export default class MediaEmbedUI extends Plugin {
|
|
93
93
|
dropdown.on( 'submit', () => {
|
94
94
|
if ( form.isValid() ) {
|
95
95
|
editor.execute( 'mediaEmbed', form.url );
|
96
|
-
|
96
|
+
editor.editing.view.focus();
|
97
97
|
}
|
98
98
|
} );
|
99
99
|
|
100
100
|
dropdown.on( 'change:isOpen', () => form.resetFormStatus() );
|
101
|
-
dropdown.on( 'cancel', () =>
|
102
|
-
|
103
|
-
function closeUI() {
|
101
|
+
dropdown.on( 'cancel', () => {
|
104
102
|
editor.editing.view.focus();
|
105
|
-
|
106
|
-
}
|
103
|
+
} );
|
107
104
|
}
|
108
105
|
|
109
106
|
/**
|