@atlaskit/editor-plugin-paste 9.1.7 → 9.1.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
|
@@ -631,7 +631,8 @@ function insertAutoMacro(slice, macro, view, from, to) {
|
|
|
631
631
|
// so the autoconversion generates 2 undo steps
|
|
632
632
|
var macroTr = (0, _prosemirrorHistory.closeHistory)(view.state.tr).replaceRangeWith(before, before + slice.size, macro).scrollIntoView();
|
|
633
633
|
(0, _card.addLinkMetadata)(view.state.selection, macroTr, {
|
|
634
|
-
inputMethod: _analytics.INPUT_METHOD.CLIPBOARD
|
|
634
|
+
inputMethod: _analytics.INPUT_METHOD.CLIPBOARD,
|
|
635
|
+
cardAction: 'AUTO_CONVERT'
|
|
635
636
|
});
|
|
636
637
|
view.dispatch(macroTr);
|
|
637
638
|
return true;
|
|
@@ -600,7 +600,8 @@ function insertAutoMacro(slice, macro, view, from, to) {
|
|
|
600
600
|
// so the autoconversion generates 2 undo steps
|
|
601
601
|
const macroTr = closeHistory(view.state.tr).replaceRangeWith(before, before + slice.size, macro).scrollIntoView();
|
|
602
602
|
addLinkMetadata(view.state.selection, macroTr, {
|
|
603
|
-
inputMethod: INPUT_METHOD.CLIPBOARD
|
|
603
|
+
inputMethod: INPUT_METHOD.CLIPBOARD,
|
|
604
|
+
cardAction: 'AUTO_CONVERT'
|
|
604
605
|
});
|
|
605
606
|
view.dispatch(macroTr);
|
|
606
607
|
return true;
|
|
@@ -604,7 +604,8 @@ function insertAutoMacro(slice, macro, view, from, to) {
|
|
|
604
604
|
// so the autoconversion generates 2 undo steps
|
|
605
605
|
var macroTr = closeHistory(view.state.tr).replaceRangeWith(before, before + slice.size, macro).scrollIntoView();
|
|
606
606
|
addLinkMetadata(view.state.selection, macroTr, {
|
|
607
|
-
inputMethod: INPUT_METHOD.CLIPBOARD
|
|
607
|
+
inputMethod: INPUT_METHOD.CLIPBOARD,
|
|
608
|
+
cardAction: 'AUTO_CONVERT'
|
|
608
609
|
});
|
|
609
610
|
view.dispatch(macroTr);
|
|
610
611
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-paste",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.9",
|
|
4
4
|
"description": "Paste plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^8.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-annotation": "^8.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-better-type-history": "^8.0.0",
|
|
36
|
-
"@atlaskit/editor-plugin-card": "^
|
|
36
|
+
"@atlaskit/editor-plugin-card": "^14.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-expand": "^9.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-feature-flags": "^7.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-list": "^10.2.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@atlaskit/media-common": "^13.0.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
52
|
-
"@atlaskit/tokens": "^
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^56.0.0",
|
|
52
|
+
"@atlaskit/tokens": "^12.0.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
55
|
"react-intl-next": "npm:react-intl@^5.18.1",
|