@atlaskit/editor-core 192.5.0 → 192.7.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.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/ui/Appearance/Comment/Comment.js +207 -10
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +6 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +201 -58
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +6 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +208 -9
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +6 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +45 -9
- package/dist/types/presets/default.d.ts +40 -8
- package/dist/types/presets/universal.d.ts +45 -9
- package/dist/types/presets/useUniversalPreset.d.ts +45 -9
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +54 -9
- package/dist/types-ts4.5/presets/default.d.ts +48 -8
- package/dist/types-ts4.5/presets/universal.d.ts +54 -9
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +54 -9
- package/package.json +15 -8
|
@@ -768,10 +768,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
768
768
|
};
|
|
769
769
|
}, {
|
|
770
770
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
771
|
-
} | undefined
|
|
771
|
+
} | undefined>>,
|
|
772
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
773
|
+
pluginConfiguration: FeatureFlags;
|
|
774
|
+
sharedState: FeatureFlags;
|
|
775
|
+
}, FeatureFlags>>
|
|
772
776
|
];
|
|
773
777
|
actions: {
|
|
774
778
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
779
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
775
780
|
};
|
|
776
781
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>
|
|
777
782
|
];
|
|
@@ -906,10 +911,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
906
911
|
};
|
|
907
912
|
}, {
|
|
908
913
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
909
|
-
} | undefined
|
|
914
|
+
} | undefined>>,
|
|
915
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
916
|
+
pluginConfiguration: FeatureFlags;
|
|
917
|
+
sharedState: FeatureFlags;
|
|
918
|
+
}, FeatureFlags>>
|
|
910
919
|
];
|
|
911
920
|
actions: {
|
|
912
921
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
922
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
913
923
|
};
|
|
914
924
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
915
925
|
];
|
|
@@ -1702,10 +1712,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1702
1712
|
};
|
|
1703
1713
|
}, {
|
|
1704
1714
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1705
|
-
} | undefined
|
|
1715
|
+
} | undefined>>,
|
|
1716
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1717
|
+
pluginConfiguration: FeatureFlags;
|
|
1718
|
+
sharedState: FeatureFlags;
|
|
1719
|
+
}, FeatureFlags>>
|
|
1706
1720
|
];
|
|
1707
1721
|
actions: {
|
|
1708
1722
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1723
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1709
1724
|
};
|
|
1710
1725
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
1711
1726
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
@@ -2143,10 +2158,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2143
2158
|
};
|
|
2144
2159
|
}, {
|
|
2145
2160
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2146
|
-
} | undefined
|
|
2161
|
+
} | undefined>>,
|
|
2162
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2163
|
+
pluginConfiguration: FeatureFlags;
|
|
2164
|
+
sharedState: FeatureFlags;
|
|
2165
|
+
}, FeatureFlags>>
|
|
2147
2166
|
];
|
|
2148
2167
|
actions: {
|
|
2149
2168
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2169
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2150
2170
|
};
|
|
2151
2171
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>
|
|
2152
2172
|
];
|
|
@@ -2900,10 +2920,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2900
2920
|
};
|
|
2901
2921
|
}, {
|
|
2902
2922
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2903
|
-
} | undefined
|
|
2923
|
+
} | undefined>>,
|
|
2924
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2925
|
+
pluginConfiguration: FeatureFlags;
|
|
2926
|
+
sharedState: FeatureFlags;
|
|
2927
|
+
}, FeatureFlags>>
|
|
2904
2928
|
];
|
|
2905
2929
|
actions: {
|
|
2906
2930
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2931
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2907
2932
|
};
|
|
2908
2933
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>
|
|
2909
2934
|
];
|
|
@@ -3617,10 +3642,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3617
3642
|
};
|
|
3618
3643
|
}, {
|
|
3619
3644
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3620
|
-
} | undefined
|
|
3645
|
+
} | undefined>>,
|
|
3646
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3647
|
+
pluginConfiguration: FeatureFlags;
|
|
3648
|
+
sharedState: FeatureFlags;
|
|
3649
|
+
}, FeatureFlags>>
|
|
3621
3650
|
];
|
|
3622
3651
|
actions: {
|
|
3623
3652
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3653
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3624
3654
|
};
|
|
3625
3655
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>
|
|
3626
3656
|
];
|
|
@@ -3950,10 +3980,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3950
3980
|
};
|
|
3951
3981
|
}, {
|
|
3952
3982
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3953
|
-
} | undefined
|
|
3983
|
+
} | undefined>>,
|
|
3984
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3985
|
+
pluginConfiguration: FeatureFlags;
|
|
3986
|
+
sharedState: FeatureFlags;
|
|
3987
|
+
}, FeatureFlags>>
|
|
3954
3988
|
];
|
|
3955
3989
|
actions: {
|
|
3956
3990
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3991
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3957
3992
|
};
|
|
3958
3993
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
3959
3994
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
|
|
@@ -4732,10 +4767,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4732
4767
|
};
|
|
4733
4768
|
}, {
|
|
4734
4769
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4735
|
-
} | undefined
|
|
4770
|
+
} | undefined>>,
|
|
4771
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4772
|
+
pluginConfiguration: FeatureFlags;
|
|
4773
|
+
sharedState: FeatureFlags;
|
|
4774
|
+
}, FeatureFlags>>
|
|
4736
4775
|
];
|
|
4737
4776
|
actions: {
|
|
4738
4777
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4778
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4739
4779
|
};
|
|
4740
4780
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>
|
|
4741
4781
|
];
|
|
@@ -4870,10 +4910,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4870
4910
|
};
|
|
4871
4911
|
}, {
|
|
4872
4912
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4873
|
-
} | undefined
|
|
4913
|
+
} | undefined>>,
|
|
4914
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4915
|
+
pluginConfiguration: FeatureFlags;
|
|
4916
|
+
sharedState: FeatureFlags;
|
|
4917
|
+
}, FeatureFlags>>
|
|
4874
4918
|
];
|
|
4875
4919
|
actions: {
|
|
4876
4920
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4921
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4877
4922
|
};
|
|
4878
4923
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
4879
4924
|
];
|
|
@@ -754,10 +754,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
754
754
|
};
|
|
755
755
|
}, {
|
|
756
756
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
757
|
-
} | undefined
|
|
757
|
+
} | undefined>>,
|
|
758
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
759
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
760
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
761
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
758
762
|
];
|
|
759
763
|
actions: {
|
|
760
764
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
765
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
761
766
|
};
|
|
762
767
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
|
|
763
768
|
];
|
|
@@ -892,10 +897,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
892
897
|
};
|
|
893
898
|
}, {
|
|
894
899
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
895
|
-
} | undefined
|
|
900
|
+
} | undefined>>,
|
|
901
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
902
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
903
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
904
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
896
905
|
];
|
|
897
906
|
actions: {
|
|
898
907
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
908
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
899
909
|
};
|
|
900
910
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
901
911
|
];
|
|
@@ -1688,10 +1698,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1688
1698
|
};
|
|
1689
1699
|
}, {
|
|
1690
1700
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
1691
|
-
} | undefined
|
|
1701
|
+
} | undefined>>,
|
|
1702
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1703
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1704
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1705
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1692
1706
|
];
|
|
1693
1707
|
actions: {
|
|
1694
1708
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1709
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1695
1710
|
};
|
|
1696
1711
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
1697
1712
|
import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
@@ -2129,10 +2144,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2129
2144
|
};
|
|
2130
2145
|
}, {
|
|
2131
2146
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2132
|
-
} | undefined
|
|
2147
|
+
} | undefined>>,
|
|
2148
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2149
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2150
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2151
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2133
2152
|
];
|
|
2134
2153
|
actions: {
|
|
2135
2154
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2155
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2136
2156
|
};
|
|
2137
2157
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
|
|
2138
2158
|
];
|
|
@@ -2886,10 +2906,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2886
2906
|
};
|
|
2887
2907
|
}, {
|
|
2888
2908
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
2889
|
-
} | undefined
|
|
2909
|
+
} | undefined>>,
|
|
2910
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
2911
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2912
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
2913
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
2890
2914
|
];
|
|
2891
2915
|
actions: {
|
|
2892
2916
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2917
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2893
2918
|
};
|
|
2894
2919
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
|
|
2895
2920
|
];
|
|
@@ -3603,10 +3628,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3603
3628
|
};
|
|
3604
3629
|
}, {
|
|
3605
3630
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3606
|
-
} | undefined
|
|
3631
|
+
} | undefined>>,
|
|
3632
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3633
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3634
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3635
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3607
3636
|
];
|
|
3608
3637
|
actions: {
|
|
3609
3638
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3639
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3610
3640
|
};
|
|
3611
3641
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
|
|
3612
3642
|
];
|
|
@@ -3936,10 +3966,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3936
3966
|
};
|
|
3937
3967
|
}, {
|
|
3938
3968
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
3939
|
-
} | undefined
|
|
3969
|
+
} | undefined>>,
|
|
3970
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3971
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3972
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3973
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3940
3974
|
];
|
|
3941
3975
|
actions: {
|
|
3942
3976
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3977
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3943
3978
|
};
|
|
3944
3979
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
3945
3980
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"clearMarksOnEmptyDoc", {}, undefined>,
|
|
@@ -4718,10 +4753,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4718
4753
|
};
|
|
4719
4754
|
}, {
|
|
4720
4755
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4721
|
-
} | undefined
|
|
4756
|
+
} | undefined>>,
|
|
4757
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4758
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4759
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4760
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4722
4761
|
];
|
|
4723
4762
|
actions: {
|
|
4724
4763
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4764
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4725
4765
|
};
|
|
4726
4766
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>
|
|
4727
4767
|
];
|
|
@@ -4856,10 +4896,15 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4856
4896
|
};
|
|
4857
4897
|
}, {
|
|
4858
4898
|
mode?: import("@atlaskit/editor-plugin-editor-viewmode").ViewMode | undefined;
|
|
4859
|
-
} | undefined
|
|
4899
|
+
} | undefined>>,
|
|
4900
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
4901
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4902
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
4903
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
4860
4904
|
];
|
|
4861
4905
|
actions: {
|
|
4862
4906
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4907
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4863
4908
|
};
|
|
4864
4909
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
4865
4910
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "192.
|
|
3
|
+
"version": "192.7.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
47
47
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
48
48
|
"@atlaskit/button": "^17.6.0",
|
|
49
|
-
"@atlaskit/editor-common": "^78.
|
|
49
|
+
"@atlaskit/editor-common": "^78.11.0",
|
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
51
51
|
"@atlaskit/editor-plugins": "^1.5.0",
|
|
52
52
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
89
89
|
"@atlaskit/analytics-listeners": "^8.9.1",
|
|
90
90
|
"@atlaskit/checkbox": "^13.0.0",
|
|
91
|
-
"@atlaskit/collab-provider": "9.25.
|
|
92
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
93
|
-
"@atlaskit/editor-plugin-annotation": "1.
|
|
91
|
+
"@atlaskit/collab-provider": "9.25.4",
|
|
92
|
+
"@atlaskit/dropdown-menu": "^12.7.0",
|
|
93
|
+
"@atlaskit/editor-plugin-annotation": "1.2.0",
|
|
94
94
|
"@atlaskit/editor-plugin-card": "^1.1.0",
|
|
95
95
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.0.0",
|
|
96
96
|
"@atlaskit/editor-plugin-list": "^3.1.5",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
106
106
|
"@atlaskit/modal-dialog": "^12.10.0",
|
|
107
107
|
"@atlaskit/primitives": "^4.0.0",
|
|
108
|
-
"@atlaskit/renderer": "^109.
|
|
109
|
-
"@atlaskit/select": "^17.
|
|
108
|
+
"@atlaskit/renderer": "^109.7.0",
|
|
109
|
+
"@atlaskit/select": "^17.2.0",
|
|
110
110
|
"@atlaskit/smart-card": "^26.48.0",
|
|
111
111
|
"@atlaskit/synchrony-test-helpers": "^2.3.0",
|
|
112
112
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
116
116
|
"@atlassian/feature-flags-test-utils": "^0.2.0",
|
|
117
117
|
"@atlassian/link-picker-plugins": "^24.0.0",
|
|
118
|
-
"@atlassian/search-provider": "2.4.
|
|
118
|
+
"@atlassian/search-provider": "2.4.31",
|
|
119
119
|
"@atlassian/ufo": "^0.2.0",
|
|
120
120
|
"@emotion/jest": "^11.8.0",
|
|
121
121
|
"@storybook/addon-knobs": "^5.3.18",
|
|
@@ -237,6 +237,13 @@
|
|
|
237
237
|
},
|
|
238
238
|
"platform.editor.media.preview-in-full-page": {
|
|
239
239
|
"type": "boolean"
|
|
240
|
+
},
|
|
241
|
+
"platform.editor.media.alluploadsfinished-dispatch-update_ivtow": {
|
|
242
|
+
"type": "boolean"
|
|
243
|
+
},
|
|
244
|
+
"platform.editor.inline_extension.extended_lcqdn": {
|
|
245
|
+
"type": "boolean",
|
|
246
|
+
"referenceOnly": "true"
|
|
240
247
|
}
|
|
241
248
|
},
|
|
242
249
|
"stricter": {
|