@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/dist/index.js
CHANGED
|
@@ -2231,7 +2231,7 @@ const downcastTableAlignmentConfig = {
|
|
|
2231
2231
|
const tableAttributes = {
|
|
2232
2232
|
class: 'table'
|
|
2233
2233
|
};
|
|
2234
|
-
if (editor.plugins.has('
|
|
2234
|
+
if (editor.plugins.has('TablePropertiesEditing') && conversionApi.options.isClipboardPipeline) {
|
|
2235
2235
|
const defaultTableProperties = getNormalizedDefaultTableProperties(editor.config.get('table.tableProperties.defaultProperties'), {
|
|
2236
2236
|
includeAlignmentProperty: true
|
|
2237
2237
|
});
|
|
@@ -5638,7 +5638,7 @@ function getMaxOffset(tableCell, start, currentMaxOffset, which) {
|
|
|
5638
5638
|
converterPriority: 'high'
|
|
5639
5639
|
});
|
|
5640
5640
|
// Make sure table <caption> is downcasted into <caption> in the data pipeline when necessary.
|
|
5641
|
-
if (editor.plugins.has('
|
|
5641
|
+
if (editor.plugins.has('TableCaptionEditing')) {
|
|
5642
5642
|
editor.conversion.for('dataDowncast').elementToElement({
|
|
5643
5643
|
model: 'caption',
|
|
5644
5644
|
view: convertPlainTableCaption(editor),
|
|
@@ -5646,7 +5646,7 @@ function getMaxOffset(tableCell, start, currentMaxOffset, which) {
|
|
|
5646
5646
|
});
|
|
5647
5647
|
}
|
|
5648
5648
|
// Handle border-style, border-color, border-width and background-color table attributes.
|
|
5649
|
-
if (editor.plugins.has('
|
|
5649
|
+
if (editor.plugins.has('TablePropertiesEditing')) {
|
|
5650
5650
|
downcastTableBorderAndBackgroundAttributes(editor);
|
|
5651
5651
|
}
|
|
5652
5652
|
}
|