@atlaskit/editor-plugin-synced-block 14.0.19 → 14.0.20
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
|
@@ -7,7 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.syncedBlockPlugin = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var
|
|
10
|
+
var _syncBlock = require("@atlaskit/adf-schema/sync-block");
|
|
11
|
+
var _bodiedSyncBlock = require("@atlaskit/adf-schema/bodied-sync-block");
|
|
11
12
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
12
13
|
var _editorSyncedBlockProvider = require("@atlaskit/editor-synced-block-provider");
|
|
13
14
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
@@ -91,10 +92,10 @@ var syncedBlockPlugin = exports.syncedBlockPlugin = function syncedBlockPlugin(_
|
|
|
91
92
|
nodes: function nodes() {
|
|
92
93
|
return [{
|
|
93
94
|
name: 'syncBlock',
|
|
94
|
-
node:
|
|
95
|
+
node: _syncBlock.syncBlock
|
|
95
96
|
}, {
|
|
96
97
|
name: 'bodiedSyncBlock',
|
|
97
|
-
node:
|
|
98
|
+
node: _bodiedSyncBlock.bodiedSyncBlock
|
|
98
99
|
}];
|
|
99
100
|
},
|
|
100
101
|
pmPlugins: function pmPlugins() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { syncBlock
|
|
2
|
+
import { syncBlock } from '@atlaskit/adf-schema/sync-block';
|
|
3
|
+
import { bodiedSyncBlock } from '@atlaskit/adf-schema/bodied-sync-block';
|
|
3
4
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
4
5
|
import { SyncBlockStoreManager } from '@atlaskit/editor-synced-block-provider';
|
|
5
6
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
@@ -2,7 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { syncBlock
|
|
5
|
+
import { syncBlock } from '@atlaskit/adf-schema/sync-block';
|
|
6
|
+
import { bodiedSyncBlock } from '@atlaskit/adf-schema/bodied-sync-block';
|
|
6
7
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
7
8
|
import { SyncBlockStoreManager } from '@atlaskit/editor-synced-block-provider';
|
|
8
9
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-synced-block",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.20",
|
|
4
4
|
"description": "SyncedBlock plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"atlaskit:src": "src/index.ts",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@atlaskit/adf-schema": "^57.2.0",
|
|
24
|
-
"@atlaskit/button": "25.3.
|
|
24
|
+
"@atlaskit/button": "25.3.1",
|
|
25
25
|
"@atlaskit/dropdown-menu": "18.3.0",
|
|
26
26
|
"@atlaskit/editor-json-transformer": "^9.8.0",
|
|
27
27
|
"@atlaskit/editor-plugin-analytics": "^16.1.0",
|
|
28
28
|
"@atlaskit/editor-plugin-block-controls": "^17.3.0",
|
|
29
|
-
"@atlaskit/editor-plugin-block-menu": "^15.
|
|
29
|
+
"@atlaskit/editor-plugin-block-menu": "^15.1.0",
|
|
30
30
|
"@atlaskit/editor-plugin-connectivity": "16.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-content-format": "^10.0.0",
|
|
32
32
|
"@atlaskit/editor-plugin-decorations": "^16.1.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
53
53
|
"@atlaskit/primitives": "^22.5.0",
|
|
54
54
|
"@atlaskit/spinner": "20.4.0",
|
|
55
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
55
|
+
"@atlaskit/tmp-editor-statsig": "^173.0.0",
|
|
56
56
|
"@atlaskit/tokens": "16.11.1",
|
|
57
57
|
"@atlaskit/tooltip": "^24.3.0",
|
|
58
58
|
"@atlaskit/visually-hidden": "^4.4.0",
|