@atlaskit/editor-plugin-analytics 8.0.5 → 8.0.7
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
|
@@ -57,7 +57,6 @@ function findInsertedLocation(oldSelection, newSelection, tr) {
|
|
|
57
57
|
return node.type !== paragraph;
|
|
58
58
|
})(oldSelection);
|
|
59
59
|
var pos = (insertLocationInfo === null || insertLocationInfo === void 0 ? void 0 : insertLocationInfo.start) || 0;
|
|
60
|
-
;
|
|
61
60
|
if ((0, _expValEquals.expValEquals)('platform_editor_insert_location_check', 'isEnabled', true)) {
|
|
62
61
|
// Map the old document position through the transaction's steps
|
|
63
62
|
pos = tr.mapping.map(pos);
|
|
@@ -55,7 +55,6 @@ function findInsertedLocation(oldSelection, newSelection, tr) {
|
|
|
55
55
|
const newDoc = newSelection.$from.doc;
|
|
56
56
|
const insertLocationInfo = findParentNode(node => node.type !== paragraph)(oldSelection);
|
|
57
57
|
let pos = (insertLocationInfo === null || insertLocationInfo === void 0 ? void 0 : insertLocationInfo.start) || 0;
|
|
58
|
-
;
|
|
59
58
|
if (expValEquals('platform_editor_insert_location_check', 'isEnabled', true)) {
|
|
60
59
|
// Map the old document position through the transaction's steps
|
|
61
60
|
pos = tr.mapping.map(pos);
|
|
@@ -50,7 +50,6 @@ function findInsertedLocation(oldSelection, newSelection, tr) {
|
|
|
50
50
|
return node.type !== paragraph;
|
|
51
51
|
})(oldSelection);
|
|
52
52
|
var pos = (insertLocationInfo === null || insertLocationInfo === void 0 ? void 0 : insertLocationInfo.start) || 0;
|
|
53
|
-
;
|
|
54
53
|
if (expValEquals('platform_editor_insert_location_check', 'isEnabled', true)) {
|
|
55
54
|
// Map the old document position through the transaction's steps
|
|
56
55
|
pos = tr.mapping.map(pos);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-analytics",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.7",
|
|
4
4
|
"description": "Analytics plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"atlaskit:src": "src/index.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^52.
|
|
30
|
+
"@atlaskit/adf-schema": "^52.4.0",
|
|
31
31
|
"@atlaskit/analytics-listeners": "^10.0.0",
|
|
32
32
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
33
33
|
"@atlaskit/editor-plugin-feature-flags": "^7.0.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
35
35
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
37
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
37
|
+
"@atlaskit/tmp-editor-statsig": "^42.0.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@atlaskit/editor-common": "^112.
|
|
41
|
+
"@atlaskit/editor-common": "^112.7.0",
|
|
42
42
|
"react": "^18.2.0"
|
|
43
43
|
},
|
|
44
44
|
"techstack": {
|