@atlaskit/editor-plugin-table 9.1.1 → 9.1.2
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 9.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#102168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102168)
|
|
8
|
+
[`d3ab19c1849b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d3ab19c1849b7) -
|
|
9
|
+
[ED-26179] clean up platform_editor_ed_25642
|
|
10
|
+
|
|
3
11
|
## 9.1.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -80,7 +80,7 @@ var updateColumnWidths = exports.updateColumnWidths = function updateColumnWidth
|
|
|
80
80
|
var cell = table.nodeAt(pos);
|
|
81
81
|
if (!seen[pos] && cell) {
|
|
82
82
|
if (updatedCellsAttrs[pos]) {
|
|
83
|
-
steps.push(new _transform.AttrStep(pos + start, 'colwidth', updatedCellsAttrs[pos].colwidth === undefined
|
|
83
|
+
steps.push(new _transform.AttrStep(pos + start, 'colwidth', updatedCellsAttrs[pos].colwidth === undefined ? null : updatedCellsAttrs[pos].colwidth));
|
|
84
84
|
}
|
|
85
85
|
seen[pos] = true;
|
|
86
86
|
}
|
|
@@ -74,7 +74,7 @@ export const updateColumnWidths = (resizeState, table, start, api
|
|
|
74
74
|
const cell = table.nodeAt(pos);
|
|
75
75
|
if (!seen[pos] && cell) {
|
|
76
76
|
if (updatedCellsAttrs[pos]) {
|
|
77
|
-
steps.push(new AttrStep(pos + start, 'colwidth', updatedCellsAttrs[pos].colwidth === undefined
|
|
77
|
+
steps.push(new AttrStep(pos + start, 'colwidth', updatedCellsAttrs[pos].colwidth === undefined ? null : updatedCellsAttrs[pos].colwidth));
|
|
78
78
|
}
|
|
79
79
|
seen[pos] = true;
|
|
80
80
|
}
|
|
@@ -73,7 +73,7 @@ export var updateColumnWidths = function updateColumnWidths(resizeState, table,
|
|
|
73
73
|
var cell = table.nodeAt(pos);
|
|
74
74
|
if (!seen[pos] && cell) {
|
|
75
75
|
if (updatedCellsAttrs[pos]) {
|
|
76
|
-
steps.push(new AttrStep(pos + start, 'colwidth', updatedCellsAttrs[pos].colwidth === undefined
|
|
76
|
+
steps.push(new AttrStep(pos + start, 'colwidth', updatedCellsAttrs[pos].colwidth === undefined ? null : updatedCellsAttrs[pos].colwidth));
|
|
77
77
|
}
|
|
78
78
|
seen[pos] = true;
|
|
79
79
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.2",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -132,9 +132,6 @@
|
|
|
132
132
|
"platform_editor_table_drag_menu_mount_point_fix": {
|
|
133
133
|
"type": "boolean"
|
|
134
134
|
},
|
|
135
|
-
"platform_editor_ed_25642": {
|
|
136
|
-
"type": "boolean"
|
|
137
|
-
},
|
|
138
135
|
"platform_editor_table_overflow_in_full_width_fix": {
|
|
139
136
|
"type": "boolean"
|
|
140
137
|
}
|
|
@@ -94,7 +94,7 @@ export const updateColumnWidths =
|
|
|
94
94
|
new AttrStep(
|
|
95
95
|
pos + start,
|
|
96
96
|
'colwidth',
|
|
97
|
-
updatedCellsAttrs[pos].colwidth === undefined
|
|
97
|
+
updatedCellsAttrs[pos].colwidth === undefined
|
|
98
98
|
? null
|
|
99
99
|
: updatedCellsAttrs[pos].colwidth,
|
|
100
100
|
),
|