@atlaskit/editor-plugin-selection 1.6.8 → 1.6.9
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
|
@@ -44,7 +44,7 @@ function handleMediaGapCursor(dir, state) {
|
|
|
44
44
|
selection,
|
|
45
45
|
tr
|
|
46
46
|
} = state;
|
|
47
|
-
|
|
47
|
+
const $pos = isBackward(dir) ? selection.$from : selection.$to;
|
|
48
48
|
if (dir === Direction.UP && selection.$from.nodeBefore && isMediaNode(selection.$from.nodeBefore)) {
|
|
49
49
|
var _tr$doc$nodeAt;
|
|
50
50
|
const nodeBeforePos = findPositionOfNodeBefore(tr.selection);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.9",
|
|
4
4
|
"description": "Selection plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"runReact18": true
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaskit/editor-common": "^97.
|
|
23
|
+
"@atlaskit/editor-common": "^97.3.0",
|
|
24
24
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
25
25
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
26
26
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
27
27
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
28
|
-
"@atlaskit/tmp-editor-statsig": "2.
|
|
28
|
+
"@atlaskit/tmp-editor-statsig": "2.31.0",
|
|
29
29
|
"@atlaskit/tokens": "^2.5.0",
|
|
30
30
|
"@babel/runtime": "^7.0.0"
|
|
31
31
|
},
|