@atlaskit/editor-plugin-table 9.0.1 → 9.1.1
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 9.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#101452](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101452)
|
|
14
|
+
[`e9f0bba750826`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e9f0bba750826) -
|
|
15
|
+
[ED-25901] Update the editor-plugin-table plugin type to have allowNestedTables as a prop
|
|
16
|
+
|
|
3
17
|
## 9.0.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -54,6 +54,7 @@ export interface PluginConfig {
|
|
|
54
54
|
allowColumnSorting?: boolean;
|
|
55
55
|
allowAddColumnWithCustomStep?: boolean;
|
|
56
56
|
allowCollapse?: boolean;
|
|
57
|
+
allowNestedTables?: boolean;
|
|
57
58
|
isHeaderRowRequired?: boolean;
|
|
58
59
|
/**
|
|
59
60
|
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
@@ -54,6 +54,7 @@ export interface PluginConfig {
|
|
|
54
54
|
allowColumnSorting?: boolean;
|
|
55
55
|
allowAddColumnWithCustomStep?: boolean;
|
|
56
56
|
allowCollapse?: boolean;
|
|
57
|
+
allowNestedTables?: boolean;
|
|
57
58
|
isHeaderRowRequired?: boolean;
|
|
58
59
|
/**
|
|
59
60
|
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.1.1",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
31
31
|
"@atlaskit/button": "^20.3.0",
|
|
32
32
|
"@atlaskit/custom-steps": "^0.9.0",
|
|
33
|
-
"@atlaskit/editor-common": "^
|
|
34
|
-
"@atlaskit/editor-palette": "1.6.
|
|
33
|
+
"@atlaskit/editor-common": "^99.0.0",
|
|
34
|
+
"@atlaskit/editor-palette": "1.6.4",
|
|
35
35
|
"@atlaskit/editor-plugin-accessibility-utils": "^1.2.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
37
|
-
"@atlaskit/editor-plugin-batch-attribute-updates": "1.1.
|
|
37
|
+
"@atlaskit/editor-plugin-batch-attribute-updates": "1.1.11",
|
|
38
38
|
"@atlaskit/editor-plugin-content-insertion": "^1.11.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-guideline": "^1.2.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
44
44
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
45
45
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
46
|
-
"@atlaskit/icon": "^23.
|
|
46
|
+
"@atlaskit/icon": "^23.3.0",
|
|
47
47
|
"@atlaskit/menu": "^2.13.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
49
49
|
"@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
|
|
52
52
|
"@atlaskit/primitives": "^13.3.0",
|
|
53
53
|
"@atlaskit/theme": "^14.0.0",
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^2.33.0",
|
|
55
55
|
"@atlaskit/toggle": "^14.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^
|
|
56
|
+
"@atlaskit/tokens": "^3.0.0",
|
|
57
57
|
"@atlaskit/tooltip": "^19.0.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|
|
59
59
|
"@emotion/react": "^11.7.1",
|
package/src/types/index.ts
CHANGED
|
@@ -91,6 +91,7 @@ export interface PluginConfig {
|
|
|
91
91
|
allowColumnSorting?: boolean;
|
|
92
92
|
allowAddColumnWithCustomStep?: boolean;
|
|
93
93
|
allowCollapse?: boolean;
|
|
94
|
+
allowNestedTables?: boolean;
|
|
94
95
|
isHeaderRowRequired?: boolean;
|
|
95
96
|
/**
|
|
96
97
|
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
package/src/ui/event-handlers.ts
CHANGED
|
@@ -234,7 +234,7 @@ export const handleMouseOver = (view: EditorView, mouseEvent: Event): boolean =>
|
|
|
234
234
|
const nestedTable = findParentNodeOfTypeClosestToPos(state.doc.resolve(state.selection.from), [
|
|
235
235
|
state.schema.nodes.table,
|
|
236
236
|
]);
|
|
237
|
-
|
|
237
|
+
|
|
238
238
|
const parentTable = findParentNodeOfTypeClosestToPos(state.doc.resolve(nestedTable?.pos || 0), [
|
|
239
239
|
state.schema.nodes.table,
|
|
240
240
|
]);
|