@atlaskit/editor-plugin-paste 16.0.3 → 16.0.4
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,29 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-paste
|
|
2
2
|
|
|
3
|
+
## 16.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`76e9f6152bf16`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/76e9f6152bf16) -
|
|
8
|
+
Enable launched synced block integrations and remove obsolete experiment scaffolding.
|
|
9
|
+
|
|
10
|
+
BREAKING: `@atlaskit/tmp-editor-statsig` no longer defines the `platform_synced_block` editor
|
|
11
|
+
experiment. Consumers that use `editorExperiment('platform_synced_block', ...)` to conditionally
|
|
12
|
+
enable synced-block integrations will no longer be able to look up that experiment; synced-block
|
|
13
|
+
integrations are now enabled by default. Remove each lookup and its conditional branch:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
// Before
|
|
17
|
+
if (editorExperiment('platform_synced_block', true)) {
|
|
18
|
+
enableSyncedBlocks();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// After
|
|
22
|
+
enableSyncedBlocks();
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 16.0.3
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -664,7 +664,7 @@ function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFlags, pl
|
|
|
664
664
|
|
|
665
665
|
// Remove breakout marks HTML around sync block renderer nodes
|
|
666
666
|
// so the breakout mark doesn't get applied to the wrong nodes
|
|
667
|
-
if (html.indexOf(_syncBlock.SyncBlockRendererDataAttributeName) >= 0
|
|
667
|
+
if (html.indexOf(_syncBlock.SyncBlockRendererDataAttributeName) >= 0) {
|
|
668
668
|
html = (0, _transforms.removeBreakoutFromRendererSyncBlockHTML)(html);
|
|
669
669
|
}
|
|
670
670
|
|
|
@@ -623,7 +623,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
|
|
|
623
623
|
|
|
624
624
|
// Remove breakout marks HTML around sync block renderer nodes
|
|
625
625
|
// so the breakout mark doesn't get applied to the wrong nodes
|
|
626
|
-
if (html.indexOf(SyncBlockRendererDataAttributeName) >= 0
|
|
626
|
+
if (html.indexOf(SyncBlockRendererDataAttributeName) >= 0) {
|
|
627
627
|
html = removeBreakoutFromRendererSyncBlockHTML(html);
|
|
628
628
|
}
|
|
629
629
|
|
|
@@ -656,7 +656,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
|
|
|
656
656
|
|
|
657
657
|
// Remove breakout marks HTML around sync block renderer nodes
|
|
658
658
|
// so the breakout mark doesn't get applied to the wrong nodes
|
|
659
|
-
if (html.indexOf(SyncBlockRendererDataAttributeName) >= 0
|
|
659
|
+
if (html.indexOf(SyncBlockRendererDataAttributeName) >= 0) {
|
|
660
660
|
html = removeBreakoutFromRendererSyncBlockHTML(html);
|
|
661
661
|
}
|
|
662
662
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-paste",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.4",
|
|
4
4
|
"description": "Paste plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"@atlaskit/media-common": "^14.4.0",
|
|
42
42
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
44
|
-
"@atlaskit/prosemirror-history": "^1.
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
44
|
+
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^149.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^16.7.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"lodash": "^4.17.21",
|
|
49
49
|
"uuid": "^3.1.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@atlaskit/editor-common": "^119.
|
|
52
|
+
"@atlaskit/editor-common": "^119.7.0",
|
|
53
53
|
"react": "^18.2.0 || ^19.2.0",
|
|
54
54
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
55
55
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|