@ckeditor/ckeditor5-media-embed 47.7.1 → 47.7.2-alpha.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/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/automediaembed.js +2 -1
- package/src/ui/mediaformview.js +1 -1
- package/theme/mediaembed.css +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-media-embed",
|
|
3
|
-
"version": "47.7.
|
|
3
|
+
"version": "47.7.2-alpha.0",
|
|
4
4
|
"description": "Media embed feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-clipboard": "47.7.
|
|
17
|
-
"@ckeditor/ckeditor5-core": "47.7.
|
|
18
|
-
"@ckeditor/ckeditor5-engine": "47.7.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "47.7.
|
|
20
|
-
"@ckeditor/ckeditor5-typing": "47.7.
|
|
21
|
-
"@ckeditor/ckeditor5-ui": "47.7.
|
|
22
|
-
"@ckeditor/ckeditor5-undo": "47.7.
|
|
23
|
-
"@ckeditor/ckeditor5-utils": "47.7.
|
|
24
|
-
"@ckeditor/ckeditor5-widget": "47.7.
|
|
25
|
-
"ckeditor5": "47.7.
|
|
16
|
+
"@ckeditor/ckeditor5-clipboard": "47.7.2-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-core": "47.7.2-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-engine": "47.7.2-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "47.7.2-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-typing": "47.7.2-alpha.0",
|
|
21
|
+
"@ckeditor/ckeditor5-ui": "47.7.2-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-undo": "47.7.2-alpha.0",
|
|
23
|
+
"@ckeditor/ckeditor5-utils": "47.7.2-alpha.0",
|
|
24
|
+
"@ckeditor/ckeditor5-widget": "47.7.2-alpha.0",
|
|
25
|
+
"ckeditor5": "47.7.2-alpha.0"
|
|
26
26
|
},
|
|
27
27
|
"author": "CKSource (http://cksource.com/)",
|
|
28
28
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/src/automediaembed.js
CHANGED
|
@@ -118,7 +118,8 @@ export class AutoMediaEmbed extends Plugin {
|
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
120
|
const mediaEmbedCommand = editor.commands.get('mediaEmbed');
|
|
121
|
-
// Do not anything if media element cannot be inserted at the current position
|
|
121
|
+
// Do not anything if media element cannot be inserted at the current position.
|
|
122
|
+
// See https://github.com/ckeditor/ckeditor5-media-embed/issues/47.
|
|
122
123
|
if (!mediaEmbedCommand.isEnabled) {
|
|
123
124
|
urlRange.detach();
|
|
124
125
|
return;
|
package/src/ui/mediaformview.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { LabeledFieldView, View, createLabeledInputText, submitHandler } from 'ckeditor5/src/ui.js';
|
|
9
9
|
import { FocusTracker, KeystrokeHandler } from 'ckeditor5/src/utils.js';
|
|
10
|
-
// See:
|
|
10
|
+
// See: https://github.com/ckeditor/ckeditor5/issues/8833.
|
|
11
11
|
// eslint-disable-next-line ckeditor5-rules/ckeditor-imports
|
|
12
12
|
import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';
|
|
13
13
|
import '../../theme/mediaform.css';
|
package/theme/mediaembed.css
CHANGED
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
display: block;
|
|
19
19
|
|
|
20
20
|
/* Give the media some minimal width in the content to prevent them
|
|
21
|
-
from being "squashed" in tight spaces, e.g. in table cells (
|
|
21
|
+
from being "squashed" in tight spaces, e.g. in table cells (https://github.com/ckeditor/ckeditor5-media-embed/issues/44) */
|
|
22
22
|
min-width: 15em;
|
|
23
23
|
}
|