@ckeditor/ckeditor5-ckbox 43.1.0 → 43.2.0-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/build/ckbox.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/ckboximageedit/ckboximageeditcommand.js +1 -0
- package/src/ckboxui.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-ckbox",
|
|
3
|
-
"version": "43.
|
|
3
|
+
"version": "43.2.0-alpha.0",
|
|
4
4
|
"description": "CKBox integration for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "43.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "43.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "43.
|
|
19
|
-
"@ckeditor/ckeditor5-upload": "43.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "43.
|
|
21
|
-
"ckeditor5": "43.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "43.2.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "43.2.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "43.2.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-upload": "43.2.0-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "43.2.0-alpha.0",
|
|
21
|
+
"ckeditor5": "43.2.0-alpha.0",
|
|
22
22
|
"blurhash": "2.0.5",
|
|
23
23
|
"lodash-es": "4.17.21"
|
|
24
24
|
},
|
|
@@ -288,6 +288,7 @@ export default class CKBoxImageEditCommand extends Command {
|
|
|
288
288
|
editor.model.change(writer => {
|
|
289
289
|
writer.setSelection(element, 'on');
|
|
290
290
|
editor.execute('insertImage', {
|
|
291
|
+
imageType: element.is('element', 'imageInline') ? 'imageInline' : null,
|
|
291
292
|
source: {
|
|
292
293
|
src: imageFallbackUrl,
|
|
293
294
|
sources: imageSources,
|
package/src/ckboxui.js
CHANGED
|
@@ -54,7 +54,6 @@ export default class CKBoxUI extends Plugin {
|
|
|
54
54
|
const locale = editor.locale;
|
|
55
55
|
const view = new ButtonClass(locale);
|
|
56
56
|
const command = editor.commands.get('ckbox');
|
|
57
|
-
const t = locale.t;
|
|
58
57
|
view.bind('isOn', 'isEnabled').to(command, 'value', 'isEnabled');
|
|
59
58
|
view.on('execute', () => {
|
|
60
59
|
editor.execute('ckbox');
|