@atlaskit/editor-plugin-paste 7.4.10 → 7.4.11
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-paste
|
|
2
2
|
|
|
3
|
+
## 7.4.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`41a91a916c125`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/41a91a916c125) -
|
|
8
|
+
EDITOR-2846 Change platform_synced_block to use editorExperiment and add Jira experiment
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 7.4.10
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -357,7 +357,7 @@ function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFlags, pl
|
|
|
357
357
|
event: event,
|
|
358
358
|
text: text
|
|
359
359
|
});
|
|
360
|
-
if ((0,
|
|
360
|
+
if ((0, _experiments.editorExperiment)('platform_synced_block', true)) {
|
|
361
361
|
slice = (0, _transforms.transformSyncBlock)(slice, schema, (0, _util.getPasteSource)(event));
|
|
362
362
|
}
|
|
363
363
|
var plainTextPasteSlice = (0, _utils.linkifyContent)(state.schema)(slice);
|
|
@@ -320,7 +320,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
|
|
|
320
320
|
event,
|
|
321
321
|
text
|
|
322
322
|
});
|
|
323
|
-
if (
|
|
323
|
+
if (editorExperiment('platform_synced_block', true)) {
|
|
324
324
|
slice = transformSyncBlock(slice, schema, getPasteSource(event));
|
|
325
325
|
}
|
|
326
326
|
const plainTextPasteSlice = linkifyContent(state.schema)(slice);
|
|
@@ -349,7 +349,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
|
|
|
349
349
|
event: event,
|
|
350
350
|
text: text
|
|
351
351
|
});
|
|
352
|
-
if (
|
|
352
|
+
if (editorExperiment('platform_synced_block', true)) {
|
|
353
353
|
slice = transformSyncBlock(slice, schema, getPasteSource(event));
|
|
354
354
|
}
|
|
355
355
|
var plainTextPasteSlice = linkifyContent(state.schema)(slice);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-paste",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.11",
|
|
4
4
|
"description": "Paste plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/media-client": "^35.6.0",
|
|
45
45
|
"@atlaskit/media-common": "^12.3.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^14.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^14.1.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"lodash": "^4.17.21",
|
|
50
50
|
"react-intl-next": "npm:react-intl@^5.18.1",
|