@atlaskit/editor-plugin-synced-block 6.0.47 → 6.0.49
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-synced-block
|
|
2
2
|
|
|
3
|
+
## 6.0.49
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 6.0.48
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ef5f5792a6aaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef5f5792a6aaf) -
|
|
14
|
+
Clean up platform_synced_block_patch_7 feature gate
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.0.47
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -252,7 +252,7 @@ var createPlugin = exports.createPlugin = function createPlugin(options, pmPlugi
|
|
|
252
252
|
// Update plugin state post-flush to sync hasUnsavedBodiedSyncBlockChanges.
|
|
253
253
|
// It prevents false "Changes may not be saved" warnings when publishing
|
|
254
254
|
// Classic pages with sync blocks.
|
|
255
|
-
|
|
255
|
+
syncBlockStore.sourceManager.registerFlushCompletionCallback(function () {
|
|
256
256
|
(0, _utils2.deferDispatch)(function () {
|
|
257
257
|
api === null || api === void 0 || api.core.actions.execute(function (_ref7) {
|
|
258
258
|
var tr = _ref7.tr;
|
|
@@ -217,7 +217,7 @@ export const createPlugin = (options, pmPluginFactoryParams, syncBlockStore, api
|
|
|
217
217
|
// Update plugin state post-flush to sync hasUnsavedBodiedSyncBlockChanges.
|
|
218
218
|
// It prevents false "Changes may not be saved" warnings when publishing
|
|
219
219
|
// Classic pages with sync blocks.
|
|
220
|
-
|
|
220
|
+
syncBlockStore.sourceManager.registerFlushCompletionCallback(() => {
|
|
221
221
|
deferDispatch(() => {
|
|
222
222
|
api === null || api === void 0 ? void 0 : api.core.actions.execute(({
|
|
223
223
|
tr
|
|
@@ -245,7 +245,7 @@ export var createPlugin = function createPlugin(options, pmPluginFactoryParams,
|
|
|
245
245
|
// Update plugin state post-flush to sync hasUnsavedBodiedSyncBlockChanges.
|
|
246
246
|
// It prevents false "Changes may not be saved" warnings when publishing
|
|
247
247
|
// Classic pages with sync blocks.
|
|
248
|
-
|
|
248
|
+
syncBlockStore.sourceManager.registerFlushCompletionCallback(function () {
|
|
249
249
|
deferDispatch(function () {
|
|
250
250
|
api === null || api === void 0 || api.core.actions.execute(function (_ref7) {
|
|
251
251
|
var tr = _ref7.tr;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-synced-block",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.49",
|
|
4
4
|
"description": "SyncedBlock plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
55
55
|
"@atlaskit/primitives": "^18.1.0",
|
|
56
56
|
"@atlaskit/spinner": "19.1.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^55.0.0",
|
|
58
58
|
"@atlaskit/tokens": "11.4.3",
|
|
59
59
|
"@atlaskit/tooltip": "^21.1.0",
|
|
60
60
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -123,9 +123,6 @@
|
|
|
123
123
|
"platform_synced_block_update_refactor": {
|
|
124
124
|
"type": "boolean"
|
|
125
125
|
},
|
|
126
|
-
"platform_synced_block_patch_7": {
|
|
127
|
-
"type": "boolean"
|
|
128
|
-
},
|
|
129
126
|
"platform_synced_block_patch_8": {
|
|
130
127
|
"type": "boolean"
|
|
131
128
|
}
|