@atlaskit/editor-plugin-block-menu 4.0.11 → 4.0.13
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-block-menu
|
|
2
2
|
|
|
3
|
+
## 4.0.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.0.12
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`1f3aae72424a3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1f3aae72424a3) -
|
|
14
|
+
ED-29742 Set focus at drag handle when drag handle is clicked and don't refocus on editor to fix
|
|
15
|
+
arrow key setting new selection instead of keyboard nav
|
|
16
|
+
|
|
3
17
|
## 4.0.11
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -153,7 +153,9 @@ var BlockMenu = function BlockMenu(_ref2) {
|
|
|
153
153
|
stick: true,
|
|
154
154
|
focusTrap: (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_block_menu_keyboard_navigation', 'isEnabled', true) ? openedViaKeyboard ? {
|
|
155
155
|
initialFocus: undefined
|
|
156
|
-
} :
|
|
156
|
+
} : {
|
|
157
|
+
initialFocus: targetHandleRef
|
|
158
|
+
} : undefined,
|
|
157
159
|
offset: [_styles.DRAG_HANDLE_WIDTH + DRAG_HANDLE_OFFSET_PADDING, 0]
|
|
158
160
|
}, /*#__PURE__*/_react.default.createElement(BlockMenuContent, {
|
|
159
161
|
api: api
|
|
@@ -144,7 +144,9 @@ const BlockMenu = ({
|
|
|
144
144
|
stick: true,
|
|
145
145
|
focusTrap: expValEqualsNoExposure('platform_editor_block_menu_keyboard_navigation', 'isEnabled', true) ? openedViaKeyboard ? {
|
|
146
146
|
initialFocus: undefined
|
|
147
|
-
} :
|
|
147
|
+
} : {
|
|
148
|
+
initialFocus: targetHandleRef
|
|
149
|
+
} : undefined,
|
|
148
150
|
offset: [DRAG_HANDLE_WIDTH + DRAG_HANDLE_OFFSET_PADDING, 0]
|
|
149
151
|
}, /*#__PURE__*/React.createElement(BlockMenuContent, {
|
|
150
152
|
api: api
|
|
@@ -145,7 +145,9 @@ var BlockMenu = function BlockMenu(_ref2) {
|
|
|
145
145
|
stick: true,
|
|
146
146
|
focusTrap: expValEqualsNoExposure('platform_editor_block_menu_keyboard_navigation', 'isEnabled', true) ? openedViaKeyboard ? {
|
|
147
147
|
initialFocus: undefined
|
|
148
|
-
} :
|
|
148
|
+
} : {
|
|
149
|
+
initialFocus: targetHandleRef
|
|
150
|
+
} : undefined,
|
|
149
151
|
offset: [DRAG_HANDLE_WIDTH + DRAG_HANDLE_OFFSET_PADDING, 0]
|
|
150
152
|
}, /*#__PURE__*/React.createElement(BlockMenuContent, {
|
|
151
153
|
api: api
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-menu",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.13",
|
|
4
4
|
"description": "BlockMenu plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
40
40
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
41
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
41
|
+
"@atlaskit/editor-toolbar": "^0.14.0",
|
|
42
42
|
"@atlaskit/icon": "^28.4.0",
|
|
43
43
|
"@atlaskit/icon-lab": "^5.9.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|