@ckeditor/ckeditor5-table 0.0.0-nightly-20251216.0 → 0.0.0-nightly-20251217.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/table.js +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/src/converters/downcast.js +1 -1
- package/src/tableediting.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-table",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20251217.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": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
21
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
22
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
23
|
-
"@ckeditor/ckeditor5-widget": "0.0.0-nightly-
|
|
16
|
+
"ckeditor5": "0.0.0-nightly-20251217.0",
|
|
17
|
+
"@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-20251217.0",
|
|
18
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20251217.0",
|
|
19
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20251217.0",
|
|
20
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20251217.0",
|
|
21
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20251217.0",
|
|
22
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20251217.0",
|
|
23
|
+
"@ckeditor/ckeditor5-widget": "0.0.0-nightly-20251217.0",
|
|
24
24
|
"es-toolkit": "1.39.5"
|
|
25
25
|
},
|
|
26
26
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -230,7 +230,7 @@ export function downcastPlainTable(table, conversionApi, editor) {
|
|
|
230
230
|
tableContentElements.push(tbodyElement);
|
|
231
231
|
}
|
|
232
232
|
const tableAttributes = { class: 'table' };
|
|
233
|
-
if (editor.plugins.has('
|
|
233
|
+
if (editor.plugins.has('TablePropertiesEditing') && conversionApi.options.isClipboardPipeline) {
|
|
234
234
|
const defaultTableProperties = getNormalizedDefaultTableProperties(editor.config.get('table.tableProperties.defaultProperties'), {
|
|
235
235
|
includeAlignmentProperty: true
|
|
236
236
|
});
|
package/src/tableediting.js
CHANGED
|
@@ -208,7 +208,7 @@ export class TableEditing extends Plugin {
|
|
|
208
208
|
converterPriority: 'high'
|
|
209
209
|
});
|
|
210
210
|
// Make sure table <caption> is downcasted into <caption> in the data pipeline when necessary.
|
|
211
|
-
if (editor.plugins.has('
|
|
211
|
+
if (editor.plugins.has('TableCaptionEditing')) {
|
|
212
212
|
editor.conversion.for('dataDowncast').elementToElement({
|
|
213
213
|
model: 'caption',
|
|
214
214
|
view: convertPlainTableCaption(editor),
|
|
@@ -216,7 +216,7 @@ export class TableEditing extends Plugin {
|
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
// Handle border-style, border-color, border-width and background-color table attributes.
|
|
219
|
-
if (editor.plugins.has('
|
|
219
|
+
if (editor.plugins.has('TablePropertiesEditing')) {
|
|
220
220
|
downcastTableBorderAndBackgroundAttributes(editor);
|
|
221
221
|
}
|
|
222
222
|
}
|