@ckeditor/ckeditor5-table 45.1.0 → 45.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-table",
|
|
3
|
-
"version": "45.
|
|
3
|
+
"version": "45.2.0-alpha.0",
|
|
4
4
|
"description": "Table feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"ckeditor5": "45.
|
|
17
|
-
"@ckeditor/ckeditor5-clipboard": "45.
|
|
18
|
-
"@ckeditor/ckeditor5-core": "45.
|
|
19
|
-
"@ckeditor/ckeditor5-engine": "45.
|
|
20
|
-
"@ckeditor/ckeditor5-icons": "45.
|
|
21
|
-
"@ckeditor/ckeditor5-ui": "45.
|
|
22
|
-
"@ckeditor/ckeditor5-utils": "45.
|
|
23
|
-
"@ckeditor/ckeditor5-widget": "45.
|
|
16
|
+
"ckeditor5": "45.2.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-clipboard": "45.2.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-core": "45.2.0-alpha.0",
|
|
19
|
+
"@ckeditor/ckeditor5-engine": "45.2.0-alpha.0",
|
|
20
|
+
"@ckeditor/ckeditor5-icons": "45.2.0-alpha.0",
|
|
21
|
+
"@ckeditor/ckeditor5-ui": "45.2.0-alpha.0",
|
|
22
|
+
"@ckeditor/ckeditor5-utils": "45.2.0-alpha.0",
|
|
23
|
+
"@ckeditor/ckeditor5-widget": "45.2.0-alpha.0",
|
|
24
24
|
"es-toolkit": "1.32.0"
|
|
25
25
|
},
|
|
26
26
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -263,7 +263,13 @@ export default class TableColumnResizeEditing extends Plugin {
|
|
|
263
263
|
model: {
|
|
264
264
|
name: 'table',
|
|
265
265
|
key: 'tableWidth',
|
|
266
|
-
value: (viewElement) =>
|
|
266
|
+
value: (viewElement) => {
|
|
267
|
+
const parent = viewElement.parent;
|
|
268
|
+
if (parent.is('element', 'figure')) {
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
return viewElement.getStyle('width');
|
|
272
|
+
}
|
|
267
273
|
}
|
|
268
274
|
});
|
|
269
275
|
conversion.for('downcast').attributeToAttribute({
|