@atlaskit/editor-plugin-paste 17.0.8 → 17.0.9
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
|
@@ -31,7 +31,7 @@ var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-ex
|
|
|
31
31
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
32
32
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
33
33
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
34
|
-
var
|
|
34
|
+
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
35
35
|
var _actions = require("../editor-actions/actions");
|
|
36
36
|
var _commands = require("../editor-commands/commands");
|
|
37
37
|
var _media = require("../pm-plugins/media");
|
|
@@ -615,7 +615,7 @@ function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFlags, pl
|
|
|
615
615
|
if (slice.content.childCount && slice.content.lastChild.type === schema.nodes.codeBlock) {
|
|
616
616
|
slice = new _model.Slice(slice.content, 0, 0);
|
|
617
617
|
}
|
|
618
|
-
if (!(0,
|
|
618
|
+
if (!(0, _editorExperiment.editorExperiment)('single_column_layouts', true)) {
|
|
619
619
|
slice = (0, _transforms.transformSingleColumnLayout)(slice, schema);
|
|
620
620
|
}
|
|
621
621
|
slice = (0, _transforms.transformSliceToRemoveMacroId)(slice, schema);
|
|
@@ -21,7 +21,7 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
22
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
23
23
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
24
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
24
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
25
25
|
import { PastePluginActionTypes } from '../editor-actions/actions';
|
|
26
26
|
import { splitParagraphs, upgradeTextToLists } from '../editor-commands/commands';
|
|
27
27
|
import { transformSliceForMedia, transformSliceToCorrectMediaWrapper, transformSliceToMediaSingleWithNewExperience, unwrapNestedMediaElements } from '../pm-plugins/media';
|
|
@@ -26,7 +26,7 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
26
26
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
27
27
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
28
28
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
29
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
29
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
30
30
|
import { PastePluginActionTypes } from '../editor-actions/actions';
|
|
31
31
|
import { splitParagraphs, upgradeTextToLists } from '../editor-commands/commands';
|
|
32
32
|
import { transformSliceForMedia, transformSliceToCorrectMediaWrapper, transformSliceToMediaSingleWithNewExperience, unwrapNestedMediaElements } from '../pm-plugins/media';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-paste",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.9",
|
|
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/platform-feature-experiments": "^0.3.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
46
46
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
48
48
|
"@atlaskit/tokens": "^16.9.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"lodash": "^4.17.21",
|