@atlaskit/editor-plugin-selection-toolbar 0.1.2 → 0.1.3
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/plugin.js +0 -6
- package/dist/es2019/plugin.js +0 -6
- package/dist/esm/plugin.js +0 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection-toolbar
|
|
2
2
|
|
|
3
|
+
## 0.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#43081](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43081) [`efe83787c45`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efe83787c45) - [ux] ED-20762 Remove blur dom event handler to prevent the toolbar disappearing when using the keyboard to access it.
|
|
8
|
+
|
|
3
9
|
## 0.1.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -66,12 +66,6 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
|
|
|
66
66
|
selectionStable: false
|
|
67
67
|
}));
|
|
68
68
|
return false;
|
|
69
|
-
},
|
|
70
|
-
blur: function blur(view) {
|
|
71
|
-
view.dispatch(view.state.tr.setMeta(_pluginKey.selectionToolbarPluginKey, {
|
|
72
|
-
selectionStable: false
|
|
73
|
-
}));
|
|
74
|
-
return false;
|
|
75
69
|
}
|
|
76
70
|
}
|
|
77
71
|
}
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -58,12 +58,6 @@ export const selectionToolbarPlugin = options => {
|
|
|
58
58
|
selectionStable: false
|
|
59
59
|
}));
|
|
60
60
|
return false;
|
|
61
|
-
},
|
|
62
|
-
blur: view => {
|
|
63
|
-
view.dispatch(view.state.tr.setMeta(selectionToolbarPluginKey, {
|
|
64
|
-
selectionStable: false
|
|
65
|
-
}));
|
|
66
|
-
return false;
|
|
67
61
|
}
|
|
68
62
|
}
|
|
69
63
|
}
|
package/dist/esm/plugin.js
CHANGED
|
@@ -59,12 +59,6 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(options) {
|
|
|
59
59
|
selectionStable: false
|
|
60
60
|
}));
|
|
61
61
|
return false;
|
|
62
|
-
},
|
|
63
|
-
blur: function blur(view) {
|
|
64
|
-
view.dispatch(view.state.tr.setMeta(selectionToolbarPluginKey, {
|
|
65
|
-
selectionStable: false
|
|
66
|
-
}));
|
|
67
|
-
return false;
|
|
68
62
|
}
|
|
69
63
|
}
|
|
70
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection-toolbar",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
".": "./src/index.ts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/editor-common": "^76.
|
|
38
|
+
"@atlaskit/editor-common": "^76.19.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
41
|
"bind-event-listener": "^2.1.1"
|