@atlaskit/editor-plugin-table 5.3.35 → 5.3.36
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 +6 -0
- package/dist/cjs/plugins/table/commands/selection.js +42 -1
- package/dist/cjs/plugins/table/pm-plugins/table-selection-keymap.js +2 -0
- package/dist/es2019/plugins/table/commands/selection.js +38 -1
- package/dist/es2019/plugins/table/pm-plugins/table-selection-keymap.js +4 -2
- package/dist/esm/plugins/table/commands/selection.js +42 -1
- package/dist/esm/plugins/table/pm-plugins/table-selection-keymap.js +4 -2
- package/dist/types/plugins/table/commands/selection.d.ts +2 -0
- package/dist/types-ts4.5/plugins/table/commands/selection.d.ts +2 -0
- package/package.json +1 -1
- package/src/plugins/table/commands/selection.ts +63 -2
- package/src/plugins/table/pm-plugins/table-selection-keymap.ts +16 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 5.3.36
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#42221](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42221) [`1f49a73a590`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f49a73a590) - [ux] [ECA11Y-110] Selecting table columns, rows, whole table via shortcuts
|
|
8
|
+
|
|
3
9
|
## 5.3.35
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.shiftArrowUpFromTable = exports.arrowRightFromTable = exports.arrowLeftFromTable = exports.TableSelectionDirection = void 0;
|
|
6
|
+
exports.shiftArrowUpFromTable = exports.selectRows = exports.selectColumns = exports.arrowRightFromTable = exports.arrowLeftFromTable = exports.TableSelectionDirection = void 0;
|
|
7
7
|
var _selection = require("@atlaskit/editor-common/selection");
|
|
8
8
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
9
9
|
var _cellSelection = require("@atlaskit/editor-tables/cell-selection");
|
|
10
10
|
var _tableMap = require("@atlaskit/editor-tables/table-map");
|
|
11
11
|
var _utils = require("@atlaskit/editor-tables/utils");
|
|
12
|
+
var _misc = require("../commands/misc");
|
|
12
13
|
var _toolbar = require("../toolbar");
|
|
13
14
|
var TableSelectionDirection = exports.TableSelectionDirection = /*#__PURE__*/function (TableSelectionDirection) {
|
|
14
15
|
TableSelectionDirection["TopToBottom"] = "TopToBottom";
|
|
@@ -45,6 +46,46 @@ var arrowRightFromTable = exports.arrowRightFromTable = function arrowRightFromT
|
|
|
45
46
|
};
|
|
46
47
|
};
|
|
47
48
|
};
|
|
49
|
+
var selectColumns = exports.selectColumns = function selectColumns(editorSelectionAPI) {
|
|
50
|
+
return function () {
|
|
51
|
+
return function (state, dispatch) {
|
|
52
|
+
var selection = state.selection;
|
|
53
|
+
var table = (0, _utils.findTable)(selection);
|
|
54
|
+
var rect = (0, _utils.selectedRect)(state);
|
|
55
|
+
if (table && (0, _utils.isRowSelected)(rect.top)(selection)) {
|
|
56
|
+
return selectFullTable(editorSelectionAPI)({
|
|
57
|
+
node: table.node,
|
|
58
|
+
startPos: table.start,
|
|
59
|
+
dir: TableSelectionDirection.BottomToTop
|
|
60
|
+
})(state, dispatch);
|
|
61
|
+
}
|
|
62
|
+
if (table && rect) {
|
|
63
|
+
return (0, _misc.selectColumn)(rect.left)(state, dispatch);
|
|
64
|
+
}
|
|
65
|
+
return false;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
var selectRows = exports.selectRows = function selectRows(editorSelectionAPI) {
|
|
70
|
+
return function () {
|
|
71
|
+
return function (state, dispatch) {
|
|
72
|
+
var selection = state.selection;
|
|
73
|
+
var table = (0, _utils.findTable)(selection);
|
|
74
|
+
var rect = (0, _utils.selectedRect)(state);
|
|
75
|
+
if (table && (0, _utils.isColumnSelected)(rect.left)(selection)) {
|
|
76
|
+
return selectFullTable(editorSelectionAPI)({
|
|
77
|
+
node: table.node,
|
|
78
|
+
startPos: table.start,
|
|
79
|
+
dir: TableSelectionDirection.BottomToTop
|
|
80
|
+
})(state, dispatch);
|
|
81
|
+
}
|
|
82
|
+
if (table && rect) {
|
|
83
|
+
return (0, _misc.selectRow)(rect.top)(state, dispatch);
|
|
84
|
+
}
|
|
85
|
+
return false;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
48
89
|
var arrowLeftFromCellSelection = function arrowLeftFromCellSelection(editorSelectionAPI) {
|
|
49
90
|
return function (selection) {
|
|
50
91
|
return function (state, dispatch) {
|
|
@@ -16,6 +16,8 @@ function tableSelectionKeymapPlugin(editorSelectionAPI) {
|
|
|
16
16
|
if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.table.shift-arrowup-fix')) {
|
|
17
17
|
(0, _keymaps.bindKeymapWithCommand)(_keymaps.shiftArrowUp.common, (0, _selection.shiftArrowUpFromTable)(editorSelectionAPI)(), list);
|
|
18
18
|
}
|
|
19
|
+
(0, _keymaps.bindKeymapWithCommand)(_keymaps.selectColumn.common, (0, _selection.selectColumns)(editorSelectionAPI)(), list);
|
|
20
|
+
(0, _keymaps.bindKeymapWithCommand)(_keymaps.selectRow.common, (0, _selection.selectRows)(editorSelectionAPI)(), list);
|
|
19
21
|
return (0, _keymap.keymap)(list);
|
|
20
22
|
}
|
|
21
23
|
var _default = exports.default = tableSelectionKeymapPlugin;
|
|
@@ -2,7 +2,8 @@ import { GapCursorSelection, isSelectionAtEndOfNode, isSelectionAtStartOfNode, R
|
|
|
2
2
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
4
4
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
5
|
-
import { findTable, isTableSelected } from '@atlaskit/editor-tables/utils';
|
|
5
|
+
import { findTable, isColumnSelected, isRowSelected, isTableSelected, selectedRect } from '@atlaskit/editor-tables/utils';
|
|
6
|
+
import { selectColumn, selectRow } from '../commands/misc';
|
|
6
7
|
import { getClosestSelectionRect } from '../toolbar';
|
|
7
8
|
export let TableSelectionDirection = /*#__PURE__*/function (TableSelectionDirection) {
|
|
8
9
|
TableSelectionDirection["TopToBottom"] = "TopToBottom";
|
|
@@ -35,6 +36,42 @@ export const arrowRightFromTable = editorSelectionAPI => () => (state, dispatch)
|
|
|
35
36
|
}
|
|
36
37
|
return false;
|
|
37
38
|
};
|
|
39
|
+
export const selectColumns = editorSelectionAPI => () => (state, dispatch) => {
|
|
40
|
+
const {
|
|
41
|
+
selection
|
|
42
|
+
} = state;
|
|
43
|
+
const table = findTable(selection);
|
|
44
|
+
const rect = selectedRect(state);
|
|
45
|
+
if (table && isRowSelected(rect.top)(selection)) {
|
|
46
|
+
return selectFullTable(editorSelectionAPI)({
|
|
47
|
+
node: table.node,
|
|
48
|
+
startPos: table.start,
|
|
49
|
+
dir: TableSelectionDirection.BottomToTop
|
|
50
|
+
})(state, dispatch);
|
|
51
|
+
}
|
|
52
|
+
if (table && rect) {
|
|
53
|
+
return selectColumn(rect.left)(state, dispatch);
|
|
54
|
+
}
|
|
55
|
+
return false;
|
|
56
|
+
};
|
|
57
|
+
export const selectRows = editorSelectionAPI => () => (state, dispatch) => {
|
|
58
|
+
const {
|
|
59
|
+
selection
|
|
60
|
+
} = state;
|
|
61
|
+
const table = findTable(selection);
|
|
62
|
+
const rect = selectedRect(state);
|
|
63
|
+
if (table && isColumnSelected(rect.left)(selection)) {
|
|
64
|
+
return selectFullTable(editorSelectionAPI)({
|
|
65
|
+
node: table.node,
|
|
66
|
+
startPos: table.start,
|
|
67
|
+
dir: TableSelectionDirection.BottomToTop
|
|
68
|
+
})(state, dispatch);
|
|
69
|
+
}
|
|
70
|
+
if (table && rect) {
|
|
71
|
+
return selectRow(rect.top)(state, dispatch);
|
|
72
|
+
}
|
|
73
|
+
return false;
|
|
74
|
+
};
|
|
38
75
|
const arrowLeftFromCellSelection = editorSelectionAPI => selection => (state, dispatch) => {
|
|
39
76
|
if (isTableSelected(state.selection) && editorSelectionAPI) {
|
|
40
77
|
const selectionState = editorSelectionAPI.sharedState.currentState() || {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { bindKeymapWithCommand, moveLeft, moveRight, shiftArrowUp } from '@atlaskit/editor-common/keymaps';
|
|
1
|
+
import { bindKeymapWithCommand, moveLeft, moveRight, selectColumn, selectRow, shiftArrowUp } from '@atlaskit/editor-common/keymaps';
|
|
2
2
|
import { keymap } from '@atlaskit/editor-prosemirror/keymap';
|
|
3
3
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
4
|
-
import { arrowLeftFromTable, arrowRightFromTable, shiftArrowUpFromTable } from '../commands/selection';
|
|
4
|
+
import { arrowLeftFromTable, arrowRightFromTable, selectColumns, selectRows, shiftArrowUpFromTable } from '../commands/selection';
|
|
5
5
|
export function tableSelectionKeymapPlugin(editorSelectionAPI) {
|
|
6
6
|
const list = {};
|
|
7
7
|
bindKeymapWithCommand(moveRight.common, arrowRightFromTable(editorSelectionAPI)(), list);
|
|
@@ -9,6 +9,8 @@ export function tableSelectionKeymapPlugin(editorSelectionAPI) {
|
|
|
9
9
|
if (getBooleanFF('platform.editor.table.shift-arrowup-fix')) {
|
|
10
10
|
bindKeymapWithCommand(shiftArrowUp.common, shiftArrowUpFromTable(editorSelectionAPI)(), list);
|
|
11
11
|
}
|
|
12
|
+
bindKeymapWithCommand(selectColumn.common, selectColumns(editorSelectionAPI)(), list);
|
|
13
|
+
bindKeymapWithCommand(selectRow.common, selectRows(editorSelectionAPI)(), list);
|
|
12
14
|
return keymap(list);
|
|
13
15
|
}
|
|
14
16
|
export default tableSelectionKeymapPlugin;
|
|
@@ -2,7 +2,8 @@ import { GapCursorSelection, isSelectionAtEndOfNode, isSelectionAtStartOfNode, R
|
|
|
2
2
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
4
4
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
5
|
-
import { findTable, isTableSelected } from '@atlaskit/editor-tables/utils';
|
|
5
|
+
import { findTable, isColumnSelected, isRowSelected, isTableSelected, selectedRect } from '@atlaskit/editor-tables/utils';
|
|
6
|
+
import { selectColumn, selectRow } from '../commands/misc';
|
|
6
7
|
import { getClosestSelectionRect } from '../toolbar';
|
|
7
8
|
export var TableSelectionDirection = /*#__PURE__*/function (TableSelectionDirection) {
|
|
8
9
|
TableSelectionDirection["TopToBottom"] = "TopToBottom";
|
|
@@ -39,6 +40,46 @@ export var arrowRightFromTable = function arrowRightFromTable(editorSelectionAPI
|
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
42
|
};
|
|
43
|
+
export var selectColumns = function selectColumns(editorSelectionAPI) {
|
|
44
|
+
return function () {
|
|
45
|
+
return function (state, dispatch) {
|
|
46
|
+
var selection = state.selection;
|
|
47
|
+
var table = findTable(selection);
|
|
48
|
+
var rect = selectedRect(state);
|
|
49
|
+
if (table && isRowSelected(rect.top)(selection)) {
|
|
50
|
+
return selectFullTable(editorSelectionAPI)({
|
|
51
|
+
node: table.node,
|
|
52
|
+
startPos: table.start,
|
|
53
|
+
dir: TableSelectionDirection.BottomToTop
|
|
54
|
+
})(state, dispatch);
|
|
55
|
+
}
|
|
56
|
+
if (table && rect) {
|
|
57
|
+
return selectColumn(rect.left)(state, dispatch);
|
|
58
|
+
}
|
|
59
|
+
return false;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export var selectRows = function selectRows(editorSelectionAPI) {
|
|
64
|
+
return function () {
|
|
65
|
+
return function (state, dispatch) {
|
|
66
|
+
var selection = state.selection;
|
|
67
|
+
var table = findTable(selection);
|
|
68
|
+
var rect = selectedRect(state);
|
|
69
|
+
if (table && isColumnSelected(rect.left)(selection)) {
|
|
70
|
+
return selectFullTable(editorSelectionAPI)({
|
|
71
|
+
node: table.node,
|
|
72
|
+
startPos: table.start,
|
|
73
|
+
dir: TableSelectionDirection.BottomToTop
|
|
74
|
+
})(state, dispatch);
|
|
75
|
+
}
|
|
76
|
+
if (table && rect) {
|
|
77
|
+
return selectRow(rect.top)(state, dispatch);
|
|
78
|
+
}
|
|
79
|
+
return false;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
42
83
|
var arrowLeftFromCellSelection = function arrowLeftFromCellSelection(editorSelectionAPI) {
|
|
43
84
|
return function (selection) {
|
|
44
85
|
return function (state, dispatch) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { bindKeymapWithCommand, moveLeft, moveRight, shiftArrowUp } from '@atlaskit/editor-common/keymaps';
|
|
1
|
+
import { bindKeymapWithCommand, moveLeft, moveRight, selectColumn, selectRow, shiftArrowUp } from '@atlaskit/editor-common/keymaps';
|
|
2
2
|
import { keymap } from '@atlaskit/editor-prosemirror/keymap';
|
|
3
3
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
4
|
-
import { arrowLeftFromTable, arrowRightFromTable, shiftArrowUpFromTable } from '../commands/selection';
|
|
4
|
+
import { arrowLeftFromTable, arrowRightFromTable, selectColumns, selectRows, shiftArrowUpFromTable } from '../commands/selection';
|
|
5
5
|
export function tableSelectionKeymapPlugin(editorSelectionAPI) {
|
|
6
6
|
var list = {};
|
|
7
7
|
bindKeymapWithCommand(moveRight.common, arrowRightFromTable(editorSelectionAPI)(), list);
|
|
@@ -9,6 +9,8 @@ export function tableSelectionKeymapPlugin(editorSelectionAPI) {
|
|
|
9
9
|
if (getBooleanFF('platform.editor.table.shift-arrowup-fix')) {
|
|
10
10
|
bindKeymapWithCommand(shiftArrowUp.common, shiftArrowUpFromTable(editorSelectionAPI)(), list);
|
|
11
11
|
}
|
|
12
|
+
bindKeymapWithCommand(selectColumn.common, selectColumns(editorSelectionAPI)(), list);
|
|
13
|
+
bindKeymapWithCommand(selectRow.common, selectRows(editorSelectionAPI)(), list);
|
|
12
14
|
return keymap(list);
|
|
13
15
|
}
|
|
14
16
|
export default tableSelectionKeymapPlugin;
|
|
@@ -6,4 +6,6 @@ export declare enum TableSelectionDirection {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const arrowLeftFromTable: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
8
8
|
export declare const arrowRightFromTable: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
9
|
+
export declare const selectColumns: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
10
|
+
export declare const selectRows: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
9
11
|
export declare const shiftArrowUpFromTable: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
@@ -6,4 +6,6 @@ export declare enum TableSelectionDirection {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const arrowLeftFromTable: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
8
8
|
export declare const arrowRightFromTable: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
9
|
+
export declare const selectColumns: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
10
|
+
export declare const selectRows: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
|
9
11
|
export declare const shiftArrowUpFromTable: (editorSelectionAPI: ExtractInjectionAPI<typeof tablePlugin>['selection'] | undefined) => () => Command;
|
package/package.json
CHANGED
|
@@ -17,8 +17,15 @@ import type {
|
|
|
17
17
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
18
18
|
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
19
19
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
20
|
-
import {
|
|
21
|
-
|
|
20
|
+
import {
|
|
21
|
+
findTable,
|
|
22
|
+
isColumnSelected,
|
|
23
|
+
isRowSelected,
|
|
24
|
+
isTableSelected,
|
|
25
|
+
selectedRect,
|
|
26
|
+
} from '@atlaskit/editor-tables/utils';
|
|
27
|
+
|
|
28
|
+
import { selectColumn, selectRow } from '../commands/misc';
|
|
22
29
|
import type tablePlugin from '../index';
|
|
23
30
|
import { getClosestSelectionRect } from '../toolbar';
|
|
24
31
|
|
|
@@ -78,6 +85,60 @@ export const arrowRightFromTable =
|
|
|
78
85
|
return false;
|
|
79
86
|
};
|
|
80
87
|
|
|
88
|
+
export const selectColumns =
|
|
89
|
+
(
|
|
90
|
+
editorSelectionAPI:
|
|
91
|
+
| ExtractInjectionAPI<typeof tablePlugin>['selection']
|
|
92
|
+
| undefined,
|
|
93
|
+
) =>
|
|
94
|
+
(): Command =>
|
|
95
|
+
(state, dispatch) => {
|
|
96
|
+
const { selection } = state;
|
|
97
|
+
const table = findTable(selection);
|
|
98
|
+
const rect = selectedRect(state);
|
|
99
|
+
|
|
100
|
+
if (table && isRowSelected(rect.top)(selection)) {
|
|
101
|
+
return selectFullTable(editorSelectionAPI)({
|
|
102
|
+
node: table.node,
|
|
103
|
+
startPos: table.start,
|
|
104
|
+
dir: TableSelectionDirection.BottomToTop,
|
|
105
|
+
})(state, dispatch);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
if (table && rect) {
|
|
109
|
+
return selectColumn(rect.left)(state, dispatch);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return false;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
export const selectRows =
|
|
116
|
+
(
|
|
117
|
+
editorSelectionAPI:
|
|
118
|
+
| ExtractInjectionAPI<typeof tablePlugin>['selection']
|
|
119
|
+
| undefined,
|
|
120
|
+
) =>
|
|
121
|
+
(): Command =>
|
|
122
|
+
(state, dispatch) => {
|
|
123
|
+
const { selection } = state;
|
|
124
|
+
const table = findTable(selection);
|
|
125
|
+
const rect = selectedRect(state);
|
|
126
|
+
|
|
127
|
+
if (table && isColumnSelected(rect.left)(selection)) {
|
|
128
|
+
return selectFullTable(editorSelectionAPI)({
|
|
129
|
+
node: table.node,
|
|
130
|
+
startPos: table.start,
|
|
131
|
+
dir: TableSelectionDirection.BottomToTop,
|
|
132
|
+
})(state, dispatch);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
if (table && rect) {
|
|
136
|
+
return selectRow(rect.top)(state, dispatch);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
return false;
|
|
140
|
+
};
|
|
141
|
+
|
|
81
142
|
const arrowLeftFromCellSelection =
|
|
82
143
|
(
|
|
83
144
|
editorSelectionAPI:
|
|
@@ -2,6 +2,8 @@ import {
|
|
|
2
2
|
bindKeymapWithCommand,
|
|
3
3
|
moveLeft,
|
|
4
4
|
moveRight,
|
|
5
|
+
selectColumn,
|
|
6
|
+
selectRow,
|
|
5
7
|
shiftArrowUp,
|
|
6
8
|
} from '@atlaskit/editor-common/keymaps';
|
|
7
9
|
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
@@ -12,6 +14,8 @@ import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
|
12
14
|
import {
|
|
13
15
|
arrowLeftFromTable,
|
|
14
16
|
arrowRightFromTable,
|
|
17
|
+
selectColumns,
|
|
18
|
+
selectRows,
|
|
15
19
|
shiftArrowUpFromTable,
|
|
16
20
|
} from '../commands/selection';
|
|
17
21
|
import type tablePlugin from '../index';
|
|
@@ -43,6 +47,18 @@ export function tableSelectionKeymapPlugin(
|
|
|
43
47
|
);
|
|
44
48
|
}
|
|
45
49
|
|
|
50
|
+
bindKeymapWithCommand(
|
|
51
|
+
selectColumn.common!,
|
|
52
|
+
selectColumns(editorSelectionAPI)(),
|
|
53
|
+
list,
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
bindKeymapWithCommand(
|
|
57
|
+
selectRow.common!,
|
|
58
|
+
selectRows(editorSelectionAPI)(),
|
|
59
|
+
list,
|
|
60
|
+
);
|
|
61
|
+
|
|
46
62
|
return keymap(list) as SafePlugin;
|
|
47
63
|
}
|
|
48
64
|
|