@atlaskit/editor-core 205.6.1 → 205.7.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 +12 -0
- package/dist/cjs/utils/extensions.js +6 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/utils/extensions.js +4 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/utils/extensions.js +6 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 205.7.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
|
## 205.6.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -65,6 +65,12 @@ var dummyExtensionAPI = {
|
|
|
65
65
|
_editInLegacyMacroBrowser: function _editInLegacyMacroBrowser() {
|
|
66
66
|
return showDummyAPIWarning('_editInLegacyMacroBrowser');
|
|
67
67
|
},
|
|
68
|
+
getNodeWithPosByLocalId: function getNodeWithPosByLocalId() {
|
|
69
|
+
return {
|
|
70
|
+
node: null,
|
|
71
|
+
pos: null
|
|
72
|
+
};
|
|
73
|
+
},
|
|
68
74
|
doc: {
|
|
69
75
|
insertAfter: function insertAfter() {
|
|
70
76
|
return showDummyAPIWarning('doc:insertAfter');
|
|
@@ -49,6 +49,10 @@ const showDummyAPIWarning = location => {
|
|
|
49
49
|
const dummyExtensionAPI = {
|
|
50
50
|
editInContextPanel: () => showDummyAPIWarning('editInContextPanel'),
|
|
51
51
|
_editInLegacyMacroBrowser: () => showDummyAPIWarning('_editInLegacyMacroBrowser'),
|
|
52
|
+
getNodeWithPosByLocalId: () => ({
|
|
53
|
+
node: null,
|
|
54
|
+
pos: null
|
|
55
|
+
}),
|
|
52
56
|
doc: {
|
|
53
57
|
insertAfter: () => showDummyAPIWarning('doc:insertAfter'),
|
|
54
58
|
scrollTo: () => showDummyAPIWarning('doc:scrollTo'),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "205.
|
|
2
|
+
export const version = "205.7.0";
|
|
@@ -57,6 +57,12 @@ var dummyExtensionAPI = {
|
|
|
57
57
|
_editInLegacyMacroBrowser: function _editInLegacyMacroBrowser() {
|
|
58
58
|
return showDummyAPIWarning('_editInLegacyMacroBrowser');
|
|
59
59
|
},
|
|
60
|
+
getNodeWithPosByLocalId: function getNodeWithPosByLocalId() {
|
|
61
|
+
return {
|
|
62
|
+
node: null,
|
|
63
|
+
pos: null
|
|
64
|
+
};
|
|
65
|
+
},
|
|
60
66
|
doc: {
|
|
61
67
|
insertAfter: function insertAfter() {
|
|
62
68
|
return showDummyAPIWarning('doc:insertAfter');
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "205.
|
|
2
|
+
export var version = "205.7.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "205.
|
|
3
|
+
"version": "205.7.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^23.0.0",
|
|
48
48
|
"@atlaskit/css": "^0.10.0",
|
|
49
|
-
"@atlaskit/editor-common": "^103.
|
|
49
|
+
"@atlaskit/editor-common": "^103.16.0",
|
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
51
51
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^2.4.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/platform-feature-flags-react": "^0.1.0",
|
|
62
62
|
"@atlaskit/react-ufo": "^3.6.0",
|
|
63
63
|
"@atlaskit/task-decision": "^19.1.0",
|
|
64
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
64
|
+
"@atlaskit/tmp-editor-statsig": "^4.14.0",
|
|
65
65
|
"@atlaskit/tokens": "^4.8.0",
|
|
66
66
|
"@atlaskit/tooltip": "^20.0.0",
|
|
67
67
|
"@atlaskit/width-detector": "^5.0.0",
|