@atlaskit/editor-plugin-toolbar 9.0.4 → 9.0.5
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-toolbar
|
|
2
2
|
|
|
3
|
+
## 9.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1b816d3689775`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b816d3689775) -
|
|
8
|
+
Clean up feature gate `platform_editor_fix_toolbar_on_first_highlight`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 9.0.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -207,7 +207,7 @@ var toolbarPlugin = exports.toolbarPlugin = function toolbarPlugin(_ref) {
|
|
|
207
207
|
listener: function listener() {
|
|
208
208
|
// On first page load, focus fires after mousedown — skip to
|
|
209
209
|
// avoid showing the toolbar mid-drag
|
|
210
|
-
if (mouseState.isMouseDown
|
|
210
|
+
if (mouseState.isMouseDown) {
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
213
|
_view.dispatch(_view.state.tr.setMeta(_pluginKey.editorToolbarPluginKey, {
|
|
@@ -199,7 +199,7 @@ export const toolbarPlugin = ({
|
|
|
199
199
|
listener: () => {
|
|
200
200
|
// On first page load, focus fires after mousedown — skip to
|
|
201
201
|
// avoid showing the toolbar mid-drag
|
|
202
|
-
if (mouseState.isMouseDown
|
|
202
|
+
if (mouseState.isMouseDown) {
|
|
203
203
|
return;
|
|
204
204
|
}
|
|
205
205
|
view.dispatch(view.state.tr.setMeta(editorToolbarPluginKey, {
|
|
@@ -200,7 +200,7 @@ export var toolbarPlugin = function toolbarPlugin(_ref) {
|
|
|
200
200
|
listener: function listener() {
|
|
201
201
|
// On first page load, focus fires after mousedown — skip to
|
|
202
202
|
// avoid showing the toolbar mid-drag
|
|
203
|
-
if (mouseState.isMouseDown
|
|
203
|
+
if (mouseState.isMouseDown) {
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
206
206
|
_view.dispatch(_view.state.tr.setMeta(editorToolbarPluginKey, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-toolbar",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.5",
|
|
4
4
|
"description": "Toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,19 +32,16 @@
|
|
|
32
32
|
"@atlaskit/editor-toolbar": "^2.0.0",
|
|
33
33
|
"@atlaskit/editor-toolbar-model": "^1.0.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
35
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
35
|
+
"@atlaskit/tmp-editor-statsig": "^109.0.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"bind-event-listener": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@atlaskit/editor-common": "^116.
|
|
40
|
+
"@atlaskit/editor-common": "^116.6.0",
|
|
41
41
|
"react": "^18.2.0",
|
|
42
42
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
43
43
|
},
|
|
44
44
|
"platform-feature-flags": {
|
|
45
|
-
"platform_editor_fix_toolbar_on_first_highlight": {
|
|
46
|
-
"type": "boolean"
|
|
47
|
-
},
|
|
48
45
|
"platform_editor_toolbar_aifc_placement_overridden": {
|
|
49
46
|
"type": "boolean"
|
|
50
47
|
},
|