@atlaskit/editor-synced-block-provider 0.5.1 → 0.5.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 +13 -0
- package/dist/cjs/common/syncBlockStoreManager.js +10 -0
- package/dist/es2019/common/syncBlockStoreManager.js +6 -0
- package/dist/esm/common/syncBlockStoreManager.js +10 -0
- package/dist/types/common/syncBlockStoreManager.d.ts +3 -0
- package/dist/types-ts4.5/common/syncBlockStoreManager.d.ts +3 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-synced-block-provider
|
|
2
2
|
|
|
3
|
+
## 0.5.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.5.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`e053b5e610ac2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e053b5e610ac2) -
|
|
14
|
+
[ux] EDITOR-1652 add convert to sync block to block menu
|
|
15
|
+
|
|
3
16
|
## 0.5.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -30,6 +30,16 @@ var SyncBlockStoreManager = exports.SyncBlockStoreManager = /*#__PURE__*/functio
|
|
|
30
30
|
value: function setEditorView(editorView) {
|
|
31
31
|
this.editorView = editorView;
|
|
32
32
|
}
|
|
33
|
+
}, {
|
|
34
|
+
key: "setSyncBlockNestedEditorView",
|
|
35
|
+
value: function setSyncBlockNestedEditorView(editorView) {
|
|
36
|
+
this.syncBlockNestedEditorView = editorView;
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
key: "getSyncBlockNestedEditorView",
|
|
40
|
+
value: function getSyncBlockNestedEditorView() {
|
|
41
|
+
return this.syncBlockNestedEditorView;
|
|
42
|
+
}
|
|
33
43
|
}, {
|
|
34
44
|
key: "isSourceBlock",
|
|
35
45
|
value: function isSourceBlock(node) {
|
|
@@ -18,6 +18,12 @@ export class SyncBlockStoreManager {
|
|
|
18
18
|
setEditorView(editorView) {
|
|
19
19
|
this.editorView = editorView;
|
|
20
20
|
}
|
|
21
|
+
setSyncBlockNestedEditorView(editorView) {
|
|
22
|
+
this.syncBlockNestedEditorView = editorView;
|
|
23
|
+
}
|
|
24
|
+
getSyncBlockNestedEditorView() {
|
|
25
|
+
return this.syncBlockNestedEditorView;
|
|
26
|
+
}
|
|
21
27
|
isSourceBlock(node) {
|
|
22
28
|
var _this$dataProvider;
|
|
23
29
|
if (node.type.name !== 'syncBlock') {
|
|
@@ -25,6 +25,16 @@ export var SyncBlockStoreManager = /*#__PURE__*/function () {
|
|
|
25
25
|
value: function setEditorView(editorView) {
|
|
26
26
|
this.editorView = editorView;
|
|
27
27
|
}
|
|
28
|
+
}, {
|
|
29
|
+
key: "setSyncBlockNestedEditorView",
|
|
30
|
+
value: function setSyncBlockNestedEditorView(editorView) {
|
|
31
|
+
this.syncBlockNestedEditorView = editorView;
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
key: "getSyncBlockNestedEditorView",
|
|
35
|
+
value: function getSyncBlockNestedEditorView() {
|
|
36
|
+
return this.syncBlockNestedEditorView;
|
|
37
|
+
}
|
|
28
38
|
}, {
|
|
29
39
|
key: "isSourceBlock",
|
|
30
40
|
value: function isSourceBlock(node) {
|
|
@@ -19,8 +19,11 @@ export declare class SyncBlockStoreManager {
|
|
|
19
19
|
private editorView?;
|
|
20
20
|
private dataProvider?;
|
|
21
21
|
private confirmationTransaction?;
|
|
22
|
+
private syncBlockNestedEditorView?;
|
|
22
23
|
constructor(dataProvider?: SyncBlockDataProvider);
|
|
23
24
|
setEditorView(editorView: EditorView | undefined): void;
|
|
25
|
+
setSyncBlockNestedEditorView(editorView: EditorView | undefined): void;
|
|
26
|
+
getSyncBlockNestedEditorView(): EditorView | undefined;
|
|
24
27
|
isSourceBlock(node: PMNode): boolean;
|
|
25
28
|
registerConfirmationCallback(callback: ConfirmationCallback): () => void;
|
|
26
29
|
requireConfirmationBeforeDelete(): boolean;
|
|
@@ -19,8 +19,11 @@ export declare class SyncBlockStoreManager {
|
|
|
19
19
|
private editorView?;
|
|
20
20
|
private dataProvider?;
|
|
21
21
|
private confirmationTransaction?;
|
|
22
|
+
private syncBlockNestedEditorView?;
|
|
22
23
|
constructor(dataProvider?: SyncBlockDataProvider);
|
|
23
24
|
setEditorView(editorView: EditorView | undefined): void;
|
|
25
|
+
setSyncBlockNestedEditorView(editorView: EditorView | undefined): void;
|
|
26
|
+
getSyncBlockNestedEditorView(): EditorView | undefined;
|
|
24
27
|
isSourceBlock(node: PMNode): boolean;
|
|
25
28
|
registerConfirmationCallback(callback: ConfirmationCallback): () => void;
|
|
26
29
|
requireConfirmationBeforeDelete(): boolean;
|
package/package.json
CHANGED
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/adf-schema": "^51.2.0",
|
|
28
28
|
"@atlaskit/adf-utils": "^19.24.0",
|
|
29
|
-
"@atlaskit/css": "^0.
|
|
29
|
+
"@atlaskit/css": "^0.15.0",
|
|
30
30
|
"@atlaskit/editor-json-transformer": "^8.30.0",
|
|
31
31
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
32
32
|
"@atlaskit/node-data-provider": "^7.1.0",
|
|
33
|
-
"@atlaskit/primitives": "^
|
|
34
|
-
"@atlaskit/tokens": "^6.
|
|
33
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
34
|
+
"@atlaskit/tokens": "^6.5.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"@compiled/react": "^0.18.3",
|
|
37
37
|
"uuid": "^3.1.0"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"name": "@atlaskit/editor-synced-block-provider",
|
|
85
|
-
"version": "0.5.
|
|
85
|
+
"version": "0.5.3",
|
|
86
86
|
"description": "Synced Block Provider for @atlaskit/editor-plugin-synced-block",
|
|
87
87
|
"author": "Atlassian Pty Ltd",
|
|
88
88
|
"license": "Apache-2.0",
|