@atlaskit/editor-plugin-extension 5.2.6 → 5.3.0
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,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 5.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#145243](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/145243)
|
|
8
|
+
[`7d32c3cc54ceb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7d32c3cc54ceb) -
|
|
9
|
+
Exposes a new getNodeWithPosByLocalId(localId: string) function in the ExtensionAPI
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 5.2.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -284,6 +284,11 @@ var createExtensionAPI = exports.createExtensionAPI = function createExtensionAP
|
|
|
284
284
|
}
|
|
285
285
|
editInLegacy();
|
|
286
286
|
},
|
|
287
|
+
getNodeWithPosByLocalId: function getNodeWithPosByLocalId(localId) {
|
|
288
|
+
return ensureNodePosByLocalId(localId, {
|
|
289
|
+
opName: 'getNodeWithPosByLocalId'
|
|
290
|
+
});
|
|
291
|
+
},
|
|
287
292
|
doc: doc
|
|
288
293
|
};
|
|
289
294
|
};
|
|
@@ -277,6 +277,11 @@ export var createExtensionAPI = function createExtensionAPI(options) {
|
|
|
277
277
|
}
|
|
278
278
|
editInLegacy();
|
|
279
279
|
},
|
|
280
|
+
getNodeWithPosByLocalId: function getNodeWithPosByLocalId(localId) {
|
|
281
|
+
return ensureNodePosByLocalId(localId, {
|
|
282
|
+
opName: 'getNodeWithPosByLocalId'
|
|
283
|
+
});
|
|
284
|
+
},
|
|
280
285
|
doc: doc
|
|
281
286
|
};
|
|
282
287
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/button": "^23.0.0",
|
|
33
33
|
"@atlaskit/checkbox": "^17.1.0",
|
|
34
34
|
"@atlaskit/datetime-picker": "^17.0.0",
|
|
35
|
-
"@atlaskit/editor-common": "^103.
|
|
35
|
+
"@atlaskit/editor-common": "^103.16.0",
|
|
36
36
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
38
38
|
"@atlaskit/editor-plugin-connectivity": "^2.0.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/textarea": "^8.0.0",
|
|
60
60
|
"@atlaskit/textfield": "^8.0.0",
|
|
61
61
|
"@atlaskit/theme": "^18.0.0",
|
|
62
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^4.14.0",
|
|
63
63
|
"@atlaskit/toggle": "^15.0.0",
|
|
64
64
|
"@atlaskit/tokens": "^4.8.0",
|
|
65
65
|
"@atlaskit/tooltip": "^20.0.0",
|