@atlaskit/editor-core 193.10.8 → 193.10.12
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 +12 -0
- package/dist/cjs/presets/universal.js +1 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +1 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +64 -10
- package/dist/types/presets/default.d.ts +6 -6
- package/dist/types/presets/universal.d.ts +64 -10
- package/dist/types/presets/useUniversalPreset.d.ts +64 -10
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +72 -10
- package/dist/types-ts4.5/presets/default.d.ts +6 -6
- package/dist/types-ts4.5/presets/universal.d.ts +72 -10
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +72 -10
- package/package.json +7 -7
|
@@ -814,7 +814,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
814
814
|
];
|
|
815
815
|
actions: {
|
|
816
816
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
817
|
-
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;
|
|
817
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
818
818
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
819
819
|
};
|
|
820
820
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -958,7 +958,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
958
958
|
];
|
|
959
959
|
actions: {
|
|
960
960
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
961
|
-
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;
|
|
961
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
962
962
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
963
963
|
};
|
|
964
964
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -1813,7 +1813,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1813
1813
|
];
|
|
1814
1814
|
actions: {
|
|
1815
1815
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1816
|
-
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;
|
|
1816
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1817
1817
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1818
1818
|
};
|
|
1819
1819
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
@@ -2312,7 +2312,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2312
2312
|
];
|
|
2313
2313
|
actions: {
|
|
2314
2314
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2315
|
-
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;
|
|
2315
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2316
2316
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2317
2317
|
};
|
|
2318
2318
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3192,7 +3192,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3192
3192
|
];
|
|
3193
3193
|
actions: {
|
|
3194
3194
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3195
|
-
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;
|
|
3195
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3196
3196
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3197
3197
|
};
|
|
3198
3198
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3280,7 +3280,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3280
3280
|
];
|
|
3281
3281
|
actions: {
|
|
3282
3282
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3283
|
-
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;
|
|
3283
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3284
3284
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3285
3285
|
};
|
|
3286
3286
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
@@ -3343,7 +3343,69 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3343
3343
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3344
3344
|
];
|
|
3345
3345
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3346
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3346
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3347
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionMarker", {
|
|
3348
|
+
dependencies: [
|
|
3349
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3350
|
+
sharedState: {
|
|
3351
|
+
hasFocus: boolean;
|
|
3352
|
+
};
|
|
3353
|
+
}, undefined>,
|
|
3354
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
3355
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
|
|
3356
|
+
dependencies: [
|
|
3357
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3358
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3359
|
+
sharedState: {
|
|
3360
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
3361
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3362
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3363
|
+
};
|
|
3364
|
+
dependencies: [
|
|
3365
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3366
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3367
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3368
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3369
|
+
];
|
|
3370
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3371
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
3372
|
+
];
|
|
3373
|
+
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
3374
|
+
actions: {
|
|
3375
|
+
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3376
|
+
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3377
|
+
insert: (props: {
|
|
3378
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3379
|
+
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
3380
|
+
query: string;
|
|
3381
|
+
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
3382
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
3383
|
+
}) => boolean;
|
|
3384
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
3385
|
+
open: (props: {
|
|
3386
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3387
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3388
|
+
query?: string | undefined;
|
|
3389
|
+
}) => boolean;
|
|
3390
|
+
close: (props: {
|
|
3391
|
+
insertCurrentQueryAsRawText: boolean;
|
|
3392
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
3393
|
+
}) => boolean;
|
|
3394
|
+
openAtTransaction: (props: {
|
|
3395
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3396
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3397
|
+
query?: string | undefined;
|
|
3398
|
+
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3399
|
+
};
|
|
3400
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>
|
|
3401
|
+
];
|
|
3402
|
+
sharedState: {
|
|
3403
|
+
isForcedHidden: boolean;
|
|
3404
|
+
} | undefined;
|
|
3405
|
+
actions: {
|
|
3406
|
+
hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
|
|
3407
|
+
};
|
|
3408
|
+
}, undefined>>
|
|
3347
3409
|
];
|
|
3348
3410
|
actions: {
|
|
3349
3411
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
@@ -4111,7 +4173,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4111
4173
|
];
|
|
4112
4174
|
actions: {
|
|
4113
4175
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4114
|
-
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;
|
|
4176
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4115
4177
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4116
4178
|
};
|
|
4117
4179
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -5262,7 +5324,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5262
5324
|
];
|
|
5263
5325
|
actions: {
|
|
5264
5326
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5265
|
-
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;
|
|
5327
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
5266
5328
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5267
5329
|
};
|
|
5268
5330
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -5406,7 +5468,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
5406
5468
|
];
|
|
5407
5469
|
actions: {
|
|
5408
5470
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5409
|
-
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;
|
|
5471
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
5410
5472
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5411
5473
|
};
|
|
5412
5474
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -660,7 +660,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
660
660
|
];
|
|
661
661
|
actions: {
|
|
662
662
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
663
|
-
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;
|
|
663
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
664
664
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
665
665
|
};
|
|
666
666
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -1811,7 +1811,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1811
1811
|
];
|
|
1812
1812
|
actions: {
|
|
1813
1813
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1814
|
-
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;
|
|
1814
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1815
1815
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1816
1816
|
};
|
|
1817
1817
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -1955,7 +1955,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1955
1955
|
];
|
|
1956
1956
|
actions: {
|
|
1957
1957
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1958
|
-
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;
|
|
1958
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1959
1959
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1960
1960
|
};
|
|
1961
1961
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -2603,7 +2603,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2603
2603
|
];
|
|
2604
2604
|
actions: {
|
|
2605
2605
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2606
|
-
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;
|
|
2606
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2607
2607
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2608
2608
|
};
|
|
2609
2609
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3754,7 +3754,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3754
3754
|
];
|
|
3755
3755
|
actions: {
|
|
3756
3756
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3757
|
-
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;
|
|
3757
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3758
3758
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3759
3759
|
};
|
|
3760
3760
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3898,7 +3898,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3898
3898
|
];
|
|
3899
3899
|
actions: {
|
|
3900
3900
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3901
|
-
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;
|
|
3901
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3902
3902
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3903
3903
|
};
|
|
3904
3904
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -831,7 +831,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
831
831
|
];
|
|
832
832
|
actions: {
|
|
833
833
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
834
|
-
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;
|
|
834
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
835
835
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
836
836
|
};
|
|
837
837
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -975,7 +975,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
975
975
|
];
|
|
976
976
|
actions: {
|
|
977
977
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
978
|
-
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;
|
|
978
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
979
979
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
980
980
|
};
|
|
981
981
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -1830,7 +1830,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1830
1830
|
];
|
|
1831
1831
|
actions: {
|
|
1832
1832
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1833
|
-
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;
|
|
1833
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1834
1834
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1835
1835
|
};
|
|
1836
1836
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
@@ -2329,7 +2329,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2329
2329
|
];
|
|
2330
2330
|
actions: {
|
|
2331
2331
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2332
|
-
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;
|
|
2332
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2333
2333
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2334
2334
|
};
|
|
2335
2335
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -3209,7 +3209,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3209
3209
|
];
|
|
3210
3210
|
actions: {
|
|
3211
3211
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3212
|
-
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;
|
|
3212
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3213
3213
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3214
3214
|
};
|
|
3215
3215
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -3297,7 +3297,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3297
3297
|
];
|
|
3298
3298
|
actions: {
|
|
3299
3299
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3300
|
-
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;
|
|
3300
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3301
3301
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3302
3302
|
};
|
|
3303
3303
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
|
|
@@ -3360,7 +3360,69 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3360
3360
|
}, FeatureFlags>>
|
|
3361
3361
|
];
|
|
3362
3362
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3363
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3363
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3364
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selectionMarker", {
|
|
3365
|
+
dependencies: [
|
|
3366
|
+
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"focus", {
|
|
3367
|
+
sharedState: {
|
|
3368
|
+
hasFocus: boolean;
|
|
3369
|
+
};
|
|
3370
|
+
}, undefined>,
|
|
3371
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"typeAhead", {
|
|
3372
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
|
|
3373
|
+
dependencies: [
|
|
3374
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
3375
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3376
|
+
sharedState: {
|
|
3377
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
3378
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3379
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3380
|
+
};
|
|
3381
|
+
dependencies: [
|
|
3382
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
3383
|
+
pluginConfiguration: FeatureFlags;
|
|
3384
|
+
sharedState: FeatureFlags;
|
|
3385
|
+
}, FeatureFlags>>
|
|
3386
|
+
];
|
|
3387
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3388
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
3389
|
+
];
|
|
3390
|
+
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
3391
|
+
actions: {
|
|
3392
|
+
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3393
|
+
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3394
|
+
insert: (props: {
|
|
3395
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3396
|
+
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
3397
|
+
query: string;
|
|
3398
|
+
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
3399
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
3400
|
+
}) => boolean;
|
|
3401
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-common/types").TypeAheadHandler | null;
|
|
3402
|
+
open: (props: {
|
|
3403
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3404
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3405
|
+
query?: string | undefined;
|
|
3406
|
+
}) => boolean;
|
|
3407
|
+
close: (props: {
|
|
3408
|
+
insertCurrentQueryAsRawText: boolean;
|
|
3409
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
3410
|
+
}) => boolean;
|
|
3411
|
+
openAtTransaction: (props: {
|
|
3412
|
+
triggerHandler: import("@atlaskit/editor-common/types").TypeAheadHandler;
|
|
3413
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3414
|
+
query?: string | undefined;
|
|
3415
|
+
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3416
|
+
};
|
|
3417
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>
|
|
3418
|
+
];
|
|
3419
|
+
sharedState: {
|
|
3420
|
+
isForcedHidden: boolean;
|
|
3421
|
+
} | undefined;
|
|
3422
|
+
actions: {
|
|
3423
|
+
hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
|
|
3424
|
+
};
|
|
3425
|
+
}, undefined>>
|
|
3364
3426
|
];
|
|
3365
3427
|
actions: {
|
|
3366
3428
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
@@ -4128,7 +4190,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4128
4190
|
];
|
|
4129
4191
|
actions: {
|
|
4130
4192
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4131
|
-
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;
|
|
4193
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4132
4194
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4133
4195
|
};
|
|
4134
4196
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -5279,7 +5341,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5279
5341
|
];
|
|
5280
5342
|
actions: {
|
|
5281
5343
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5282
|
-
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;
|
|
5344
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
5283
5345
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5284
5346
|
};
|
|
5285
5347
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -5423,7 +5485,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
5423
5485
|
];
|
|
5424
5486
|
actions: {
|
|
5425
5487
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5426
|
-
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;
|
|
5488
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
5427
5489
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5428
5490
|
};
|
|
5429
5491
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
@@ -817,7 +817,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
817
817
|
];
|
|
818
818
|
actions: {
|
|
819
819
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
820
|
-
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;
|
|
820
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
821
821
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
822
822
|
};
|
|
823
823
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -961,7 +961,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
961
961
|
];
|
|
962
962
|
actions: {
|
|
963
963
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
964
|
-
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;
|
|
964
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
965
965
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
966
966
|
};
|
|
967
967
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -1816,7 +1816,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1816
1816
|
];
|
|
1817
1817
|
actions: {
|
|
1818
1818
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1819
|
-
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;
|
|
1819
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
1820
1820
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1821
1821
|
};
|
|
1822
1822
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
@@ -2315,7 +2315,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2315
2315
|
];
|
|
2316
2316
|
actions: {
|
|
2317
2317
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2318
|
-
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;
|
|
2318
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2319
2319
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2320
2320
|
};
|
|
2321
2321
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3195,7 +3195,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3195
3195
|
];
|
|
3196
3196
|
actions: {
|
|
3197
3197
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3198
|
-
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;
|
|
3198
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3199
3199
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3200
3200
|
};
|
|
3201
3201
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -3283,7 +3283,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3283
3283
|
];
|
|
3284
3284
|
actions: {
|
|
3285
3285
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3286
|
-
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;
|
|
3286
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
3287
3287
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3288
3288
|
};
|
|
3289
3289
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
|
|
@@ -3346,7 +3346,69 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3346
3346
|
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3347
3347
|
];
|
|
3348
3348
|
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3349
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions
|
|
3349
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>,
|
|
3350
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"selectionMarker", {
|
|
3351
|
+
dependencies: [
|
|
3352
|
+
import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"focus", {
|
|
3353
|
+
sharedState: {
|
|
3354
|
+
hasFocus: boolean;
|
|
3355
|
+
};
|
|
3356
|
+
}, undefined>,
|
|
3357
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"typeAhead", {
|
|
3358
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined;
|
|
3359
|
+
dependencies: [
|
|
3360
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"analytics", {
|
|
3361
|
+
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
3362
|
+
sharedState: {
|
|
3363
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
3364
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
3365
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
3366
|
+
};
|
|
3367
|
+
dependencies: [
|
|
3368
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"featureFlags", {
|
|
3369
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3370
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
3371
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
3372
|
+
];
|
|
3373
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
3374
|
+
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>
|
|
3375
|
+
];
|
|
3376
|
+
sharedState: import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginSharedState;
|
|
3377
|
+
actions: {
|
|
3378
|
+
isOpen: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3379
|
+
isAllowed: (editorState: import("prosemirror-state").EditorState) => boolean;
|
|
3380
|
+
insert: (props: {
|
|
3381
|
+
triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
|
|
3382
|
+
contentItem: import("@atlaskit/editor-common/types").TypeAheadItem;
|
|
3383
|
+
query: string;
|
|
3384
|
+
sourceListItem: import("@atlaskit/editor-common/types").TypeAheadItem[];
|
|
3385
|
+
mode?: import("@atlaskit/editor-common/type-ahead").SelectItemMode | undefined;
|
|
3386
|
+
}) => boolean;
|
|
3387
|
+
findHandlerByTrigger: (trigger: string) => import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler | null;
|
|
3388
|
+
open: (props: {
|
|
3389
|
+
triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
|
|
3390
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3391
|
+
query?: string | undefined;
|
|
3392
|
+
}) => boolean;
|
|
3393
|
+
close: (props: {
|
|
3394
|
+
insertCurrentQueryAsRawText: boolean;
|
|
3395
|
+
attachCommand?: import("@atlaskit/editor-common/types").Command | undefined;
|
|
3396
|
+
}) => boolean;
|
|
3397
|
+
openAtTransaction: (props: {
|
|
3398
|
+
triggerHandler: import("@atlaskit/editor-plugin-type-ahead").TypeAheadHandler;
|
|
3399
|
+
inputMethod: import("@atlaskit/editor-plugin-type-ahead").TypeAheadInputMethod;
|
|
3400
|
+
query?: string | undefined;
|
|
3401
|
+
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3402
|
+
};
|
|
3403
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>
|
|
3404
|
+
];
|
|
3405
|
+
sharedState: {
|
|
3406
|
+
isForcedHidden: boolean;
|
|
3407
|
+
} | undefined;
|
|
3408
|
+
actions: {
|
|
3409
|
+
hideDecoration: () => import("@atlaskit/editor-plugin-selection-marker").ReleaseHiddenDecoration | undefined;
|
|
3410
|
+
};
|
|
3411
|
+
}, undefined>>
|
|
3350
3412
|
];
|
|
3351
3413
|
actions: {
|
|
3352
3414
|
insertExpand: import("@atlaskit/editor-common/types").Command;
|
|
@@ -4114,7 +4176,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4114
4176
|
];
|
|
4115
4177
|
actions: {
|
|
4116
4178
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4117
|
-
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;
|
|
4179
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4118
4180
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4119
4181
|
};
|
|
4120
4182
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -5265,7 +5327,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5265
5327
|
];
|
|
5266
5328
|
actions: {
|
|
5267
5329
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5268
|
-
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;
|
|
5330
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
5269
5331
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5270
5332
|
};
|
|
5271
5333
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
@@ -5409,7 +5471,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
5409
5471
|
];
|
|
5410
5472
|
actions: {
|
|
5411
5473
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
5412
|
-
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;
|
|
5474
|
+
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined, targetNodeId?: string | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
5413
5475
|
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
5414
5476
|
};
|
|
5415
5477
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.10.
|
|
3
|
+
"version": "193.10.12",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^17.12.0",
|
|
48
|
-
"@atlaskit/editor-common": "^78.
|
|
48
|
+
"@atlaskit/editor-common": "^78.29.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
50
50
|
"@atlaskit/editor-plugins": "^2.2.0",
|
|
51
51
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
88
88
|
"@atlaskit/analytics-listeners": "^8.9.1",
|
|
89
89
|
"@atlaskit/checkbox": "^13.1.0",
|
|
90
|
-
"@atlaskit/collab-provider": "9.26.
|
|
90
|
+
"@atlaskit/collab-provider": "9.26.3",
|
|
91
91
|
"@atlaskit/dropdown-menu": "^12.9.0",
|
|
92
92
|
"@atlaskit/editor-plugin-annotation": "1.5.9",
|
|
93
93
|
"@atlaskit/editor-plugin-card": "^1.8.0",
|
|
@@ -95,16 +95,16 @@
|
|
|
95
95
|
"@atlaskit/editor-plugin-list": "^3.1.5",
|
|
96
96
|
"@atlaskit/editor-plugin-paste": "^1.0.0",
|
|
97
97
|
"@atlaskit/editor-test-helpers": "*",
|
|
98
|
-
"@atlaskit/flag": "^15.
|
|
98
|
+
"@atlaskit/flag": "^15.4.0",
|
|
99
99
|
"@atlaskit/link-provider": "^1.9.0",
|
|
100
100
|
"@atlaskit/link-test-helpers": "^7.0.0",
|
|
101
101
|
"@atlaskit/logo": "^13.15.0",
|
|
102
102
|
"@atlaskit/media-core": "^34.2.0",
|
|
103
103
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
104
104
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
105
|
-
"@atlaskit/modal-dialog": "^12.
|
|
105
|
+
"@atlaskit/modal-dialog": "^12.11.0",
|
|
106
106
|
"@atlaskit/primitives": "^5.5.0",
|
|
107
|
-
"@atlaskit/renderer": "^109.
|
|
107
|
+
"@atlaskit/renderer": "^109.19.0",
|
|
108
108
|
"@atlaskit/select": "^17.6.0",
|
|
109
109
|
"@atlaskit/smart-card": "^26.56.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "^2.3.0",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"@atlassian/adf-schema-json": "^1.0.7",
|
|
114
114
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
115
115
|
"@atlassian/link-picker-plugins": "^24.0.0",
|
|
116
|
-
"@atlassian/search-provider": "2.4.
|
|
116
|
+
"@atlassian/search-provider": "2.4.57",
|
|
117
117
|
"@atlassian/ufo": "^0.2.0",
|
|
118
118
|
"@emotion/jest": "^11.8.0",
|
|
119
119
|
"@storybook/addon-knobs": "^5.3.18",
|