@atlaskit/editor-core 204.5.5 → 204.6.0

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.
@@ -825,7 +825,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
825
825
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
826
826
  }) => void;
827
827
  };
828
- }, undefined>>,
828
+ pluginConfiguration?: {
829
+ contextualFormattingEnabled?: boolean | undefined;
830
+ } | undefined;
831
+ }, {
832
+ contextualFormattingEnabled?: boolean | undefined;
833
+ } | undefined>>,
829
834
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"base", {
830
835
  pluginConfiguration: import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined;
831
836
  dependencies: [
@@ -855,6 +860,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
855
860
  pluginConfiguration: {
856
861
  preferenceToolbarAboveSelection?: boolean | undefined;
857
862
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
863
+ contextualFormattingEnabled?: boolean | undefined;
858
864
  };
859
865
  dependencies: [
860
866
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -875,7 +881,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
875
881
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
876
882
  }) => void;
877
883
  };
878
- }, undefined>>
884
+ pluginConfiguration?: {
885
+ contextualFormattingEnabled?: boolean | undefined;
886
+ } | undefined;
887
+ }, {
888
+ contextualFormattingEnabled?: boolean | undefined;
889
+ } | undefined>>
879
890
  ];
880
891
  actions?: {
881
892
  suppressToolbar?: (() => boolean) | undefined;
@@ -885,6 +896,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
885
896
  }, {
886
897
  preferenceToolbarAboveSelection?: boolean | undefined;
887
898
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
899
+ contextualFormattingEnabled?: boolean | undefined;
888
900
  }>>
889
901
  ];
890
902
  commands: {
@@ -916,6 +928,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
916
928
  pluginConfiguration: {
917
929
  preferenceToolbarAboveSelection?: boolean | undefined;
918
930
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
931
+ contextualFormattingEnabled?: boolean | undefined;
919
932
  };
920
933
  dependencies: [
921
934
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -936,7 +949,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
936
949
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
937
950
  }) => void;
938
951
  };
939
- }, undefined>>
952
+ pluginConfiguration?: {
953
+ contextualFormattingEnabled?: boolean | undefined;
954
+ } | undefined;
955
+ }, {
956
+ contextualFormattingEnabled?: boolean | undefined;
957
+ } | undefined>>
940
958
  ];
941
959
  actions?: {
942
960
  suppressToolbar?: (() => boolean) | undefined;
@@ -946,6 +964,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
946
964
  }, {
947
965
  preferenceToolbarAboveSelection?: boolean | undefined;
948
966
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
967
+ contextualFormattingEnabled?: boolean | undefined;
949
968
  }>,
950
969
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
951
970
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
@@ -974,7 +993,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
974
993
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
975
994
  }) => void;
976
995
  };
977
- }, undefined>>,
996
+ pluginConfiguration?: {
997
+ contextualFormattingEnabled?: boolean | undefined;
998
+ } | undefined;
999
+ }, {
1000
+ contextualFormattingEnabled?: boolean | undefined;
1001
+ } | undefined>>,
978
1002
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
979
1003
  sharedState: {
980
1004
  toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking;
@@ -982,6 +1006,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
982
1006
  pluginConfiguration: {
983
1007
  preferenceToolbarAboveSelection?: boolean | undefined;
984
1008
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
1009
+ contextualFormattingEnabled?: boolean | undefined;
985
1010
  };
986
1011
  dependencies: [
987
1012
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -1002,7 +1027,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1002
1027
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1003
1028
  }) => void;
1004
1029
  };
1005
- }, undefined>>
1030
+ pluginConfiguration?: {
1031
+ contextualFormattingEnabled?: boolean | undefined;
1032
+ } | undefined;
1033
+ }, {
1034
+ contextualFormattingEnabled?: boolean | undefined;
1035
+ } | undefined>>
1006
1036
  ];
1007
1037
  actions?: {
1008
1038
  suppressToolbar?: (() => boolean) | undefined;
@@ -1012,6 +1042,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1012
1042
  }, {
1013
1043
  preferenceToolbarAboveSelection?: boolean | undefined;
1014
1044
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
1045
+ contextualFormattingEnabled?: boolean | undefined;
1015
1046
  }>>
1016
1047
  ];
1017
1048
  sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
@@ -1109,7 +1140,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1109
1140
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1110
1141
  }) => void;
1111
1142
  };
1112
- }, undefined>>
1143
+ pluginConfiguration?: {
1144
+ contextualFormattingEnabled?: boolean | undefined;
1145
+ } | undefined;
1146
+ }, {
1147
+ contextualFormattingEnabled?: boolean | undefined;
1148
+ } | undefined>>
1113
1149
  ];
1114
1150
  actions: {
1115
1151
  undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
@@ -1124,7 +1160,12 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1124
1160
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1125
1161
  }) => void;
1126
1162
  };
1127
- }, undefined>,
1163
+ pluginConfiguration?: {
1164
+ contextualFormattingEnabled?: boolean | undefined;
1165
+ } | undefined;
1166
+ }, {
1167
+ contextualFormattingEnabled?: boolean | undefined;
1168
+ } | undefined>,
1128
1169
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
1129
1170
  sharedState: import("packages/editor/editor-plugin-history/dist/types/historyPluginType").HistoryPluginSharedState | undefined;
1130
1171
  commands: {
@@ -773,7 +773,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
773
773
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
774
774
  }) => void;
775
775
  };
776
- }, undefined>>,
776
+ pluginConfiguration?: {
777
+ contextualFormattingEnabled?: boolean | undefined;
778
+ } | undefined;
779
+ }, {
780
+ contextualFormattingEnabled?: boolean | undefined;
781
+ } | undefined>>,
777
782
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"base", {
778
783
  pluginConfiguration: import("@atlaskit/editor-plugins/base").BasePluginOptions | undefined;
779
784
  dependencies: [
@@ -803,6 +808,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
803
808
  pluginConfiguration: {
804
809
  preferenceToolbarAboveSelection?: boolean | undefined;
805
810
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
811
+ contextualFormattingEnabled?: boolean | undefined;
806
812
  };
807
813
  dependencies: [
808
814
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -823,7 +829,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
823
829
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
824
830
  }) => void;
825
831
  };
826
- }, undefined>>
832
+ pluginConfiguration?: {
833
+ contextualFormattingEnabled?: boolean | undefined;
834
+ } | undefined;
835
+ }, {
836
+ contextualFormattingEnabled?: boolean | undefined;
837
+ } | undefined>>
827
838
  ];
828
839
  actions?: {
829
840
  suppressToolbar?: (() => boolean) | undefined;
@@ -833,6 +844,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
833
844
  }, {
834
845
  preferenceToolbarAboveSelection?: boolean | undefined;
835
846
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
847
+ contextualFormattingEnabled?: boolean | undefined;
836
848
  }>>
837
849
  ];
838
850
  commands: {
@@ -864,6 +876,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
864
876
  pluginConfiguration: {
865
877
  preferenceToolbarAboveSelection?: boolean | undefined;
866
878
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
879
+ contextualFormattingEnabled?: boolean | undefined;
867
880
  };
868
881
  dependencies: [
869
882
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -884,7 +897,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
884
897
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
885
898
  }) => void;
886
899
  };
887
- }, undefined>>
900
+ pluginConfiguration?: {
901
+ contextualFormattingEnabled?: boolean | undefined;
902
+ } | undefined;
903
+ }, {
904
+ contextualFormattingEnabled?: boolean | undefined;
905
+ } | undefined>>
888
906
  ];
889
907
  actions?: {
890
908
  suppressToolbar?: (() => boolean) | undefined;
@@ -894,6 +912,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
894
912
  }, {
895
913
  preferenceToolbarAboveSelection?: boolean | undefined;
896
914
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
915
+ contextualFormattingEnabled?: boolean | undefined;
897
916
  }>,
898
917
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
899
918
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"blockType", {
@@ -922,7 +941,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
922
941
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
923
942
  }) => void;
924
943
  };
925
- }, undefined>>,
944
+ pluginConfiguration?: {
945
+ contextualFormattingEnabled?: boolean | undefined;
946
+ } | undefined;
947
+ }, {
948
+ contextualFormattingEnabled?: boolean | undefined;
949
+ } | undefined>>,
926
950
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionToolbar", {
927
951
  sharedState: {
928
952
  toolbarDocking: import("packages/editor/editor-plugin-selection-toolbar/dist/types/types").ToolbarDocking;
@@ -930,6 +954,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
930
954
  pluginConfiguration: {
931
955
  preferenceToolbarAboveSelection?: boolean | undefined;
932
956
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
957
+ contextualFormattingEnabled?: boolean | undefined;
933
958
  };
934
959
  dependencies: [
935
960
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorViewMode", {
@@ -950,7 +975,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
950
975
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
951
976
  }) => void;
952
977
  };
953
- }, undefined>>
978
+ pluginConfiguration?: {
979
+ contextualFormattingEnabled?: boolean | undefined;
980
+ } | undefined;
981
+ }, {
982
+ contextualFormattingEnabled?: boolean | undefined;
983
+ } | undefined>>
954
984
  ];
955
985
  actions?: {
956
986
  suppressToolbar?: (() => boolean) | undefined;
@@ -960,6 +990,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
960
990
  }, {
961
991
  preferenceToolbarAboveSelection?: boolean | undefined;
962
992
  userPreferencesProvider?: import("@atlaskit/editor-common/types").UserPreferencesProvider | undefined;
993
+ contextualFormattingEnabled?: boolean | undefined;
963
994
  }>>
964
995
  ];
965
996
  sharedState: import("@atlaskit/editor-plugins/block-type").BlockTypeState | undefined;
@@ -1057,7 +1088,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1057
1088
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1058
1089
  }) => void;
1059
1090
  };
1060
- }, undefined>>
1091
+ pluginConfiguration?: {
1092
+ contextualFormattingEnabled?: boolean | undefined;
1093
+ } | undefined;
1094
+ }, {
1095
+ contextualFormattingEnabled?: boolean | undefined;
1096
+ } | undefined>>
1061
1097
  ];
1062
1098
  actions: {
1063
1099
  undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
@@ -1072,7 +1108,12 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1072
1108
  component: import("@atlaskit/editor-common/types").ToolbarUIComponentFactory;
1073
1109
  }) => void;
1074
1110
  };
1075
- }, undefined>,
1111
+ pluginConfiguration?: {
1112
+ contextualFormattingEnabled?: boolean | undefined;
1113
+ } | undefined;
1114
+ }, {
1115
+ contextualFormattingEnabled?: boolean | undefined;
1116
+ } | undefined>,
1076
1117
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"history", {
1077
1118
  sharedState: import("packages/editor/editor-plugin-history/dist/types/historyPluginType").HistoryPluginSharedState | undefined;
1078
1119
  commands: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "204.5.5",
3
+ "version": "204.6.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,10 +46,10 @@
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
47
  "@atlaskit/button": "^21.1.0",
48
48
  "@atlaskit/css": "^0.10.0",
49
- "@atlaskit/editor-common": "^102.11.0",
49
+ "@atlaskit/editor-common": "^102.13.0",
50
50
  "@atlaskit/editor-json-transformer": "^8.24.0",
51
51
  "@atlaskit/editor-performance-metrics": "^2.0.0",
52
- "@atlaskit/editor-plugin-quick-insert": "^2.1.0",
52
+ "@atlaskit/editor-plugin-quick-insert": "^2.2.0",
53
53
  "@atlaskit/editor-plugins": "^8.0.0",
54
54
  "@atlaskit/editor-prosemirror": "7.0.0",
55
55
  "@atlaskit/editor-shared-styles": "^3.4.0",
@@ -60,7 +60,7 @@
60
60
  "@atlaskit/platform-feature-flags": "^1.1.0",
61
61
  "@atlaskit/react-ufo": "^3.4.0",
62
62
  "@atlaskit/task-decision": "^19.1.0",
63
- "@atlaskit/tmp-editor-statsig": "^4.1.0",
63
+ "@atlaskit/tmp-editor-statsig": "^4.2.0",
64
64
  "@atlaskit/tokens": "^4.5.0",
65
65
  "@atlaskit/tooltip": "^20.0.0",
66
66
  "@atlaskit/width-detector": "^5.0.0",
@@ -90,7 +90,7 @@
90
90
  "@atlaskit/analytics-listeners": "^9.0.0",
91
91
  "@atlaskit/collab-provider": "^10.10.0",
92
92
  "@atlaskit/editor-plugin-annotation": "^2.1.0",
93
- "@atlaskit/editor-plugin-card": "^5.3.0",
93
+ "@atlaskit/editor-plugin-card": "^5.4.0",
94
94
  "@atlaskit/editor-plugin-list": "^4.1.0",
95
95
  "@atlaskit/editor-plugin-paste": "^3.1.0",
96
96
  "@atlaskit/link-provider": "^2.0.0",
@@ -281,6 +281,9 @@
281
281
  "platform_editor_disable_rerender_tracking_jira": {
282
282
  "type": "boolean"
283
283
  },
284
+ "platform_editor_add_extension_api_to_quick_insert": {
285
+ "type": "boolean"
286
+ },
284
287
  "platform-component-visual-refresh": {
285
288
  "type": "boolean",
286
289
  "referenceOnly": true
@@ -553,6 +556,9 @@
553
556
  "platform_nested_nbm_analytics_location": {
554
557
  "type": "boolean"
555
558
  },
559
+ "platform_editor_transaction_skip_validation": {
560
+ "type": "boolean"
561
+ },
556
562
  "platform_editor_elements_dnd_multi_select_patch_2": {
557
563
  "type": "boolean",
558
564
  "referenceOnly": true
@@ -560,6 +566,18 @@
560
566
  "platform_editor_scroll_table_flickering_fix": {
561
567
  "type": "boolean",
562
568
  "referenceOnly": true
569
+ },
570
+ "platform_editor_render_media_viewer_as_inline": {
571
+ "type": "boolean",
572
+ "referenceOnly": true
573
+ },
574
+ "platform_editor_paste_full_table_inside_empty_cell": {
575
+ "type": "boolean",
576
+ "referenceOnly": true
577
+ },
578
+ "platform_editor_tables_numbered_column_correction": {
579
+ "type": "boolean",
580
+ "referenceOnly": true
563
581
  }
564
582
  },
565
583
  "stricter": {