@atlaskit/editor-core 193.7.0 → 193.8.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 +18 -0
- package/dist/cjs/presets/universal.js +1 -7
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -7
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +1 -7
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +10 -50
- package/dist/types/presets/default.d.ts +6 -6
- package/dist/types/presets/universal.d.ts +10 -50
- package/dist/types/presets/useUniversalPreset.d.ts +10 -50
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +9 -60
- package/dist/types-ts4.5/presets/default.d.ts +6 -6
- package/dist/types-ts4.5/presets/universal.d.ts +9 -60
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +9 -60
- package/package.json +49 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#84430](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84430) [`2981b2835973`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2981b2835973) - [ux] EDM-9111 Prevent linkification of links with suspicious tlds
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#85470](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85470) [`32cb4d4ca34f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32cb4d4ca34f) - Update loom plugin to take in interface and remove SDK references
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 193.7.16
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [#86724](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86724) [`718a9aa2424d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/718a9aa2424d) - [ED-22607] Remove references to maxFrames for multi bodied extensions and bump adf-schema from 35.7.0 to 35.8.0
|
|
19
|
+
- [#86222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86222) [`38afb794d859`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/38afb794d859) - Fix a table content paste issue when copy content from a table cell inside bodied extension
|
|
20
|
+
|
|
3
21
|
## 193.7.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -39,7 +39,6 @@ var _indentation = require("@atlaskit/editor-plugins/indentation");
|
|
|
39
39
|
var _insertBlock = require("@atlaskit/editor-plugins/insert-block");
|
|
40
40
|
var _layout = require("@atlaskit/editor-plugins/layout");
|
|
41
41
|
var _list = require("@atlaskit/editor-plugins/list");
|
|
42
|
-
var _loom = require("@atlaskit/editor-plugins/loom");
|
|
43
42
|
var _maxContentSize = require("@atlaskit/editor-plugins/max-content-size");
|
|
44
43
|
var _media = require("@atlaskit/editor-plugins/media");
|
|
45
44
|
var _mentions = require("@atlaskit/editor-plugins/mentions");
|
|
@@ -208,12 +207,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
208
207
|
return false;
|
|
209
208
|
}).add([_codeBidiWarning.codeBidiWarningPlugin, {
|
|
210
209
|
appearance: appearance
|
|
211
|
-
}])
|
|
212
|
-
if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.loom-integration')) {
|
|
213
|
-
return true;
|
|
214
|
-
}
|
|
215
|
-
return false;
|
|
216
|
-
});
|
|
210
|
+
}]);
|
|
217
211
|
return finalPreset;
|
|
218
212
|
}
|
|
219
213
|
function isExpandInsertionEnabled(_ref) {
|
|
@@ -29,7 +29,6 @@ import { indentationPlugin } from '@atlaskit/editor-plugins/indentation';
|
|
|
29
29
|
import { insertBlockPlugin } from '@atlaskit/editor-plugins/insert-block';
|
|
30
30
|
import { layoutPlugin } from '@atlaskit/editor-plugins/layout';
|
|
31
31
|
import { listPlugin } from '@atlaskit/editor-plugins/list';
|
|
32
|
-
import { loomPlugin } from '@atlaskit/editor-plugins/loom';
|
|
33
32
|
import { maxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
34
33
|
import { mediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
35
34
|
import { mentionsPlugin } from '@atlaskit/editor-plugins/mentions';
|
|
@@ -203,12 +202,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
203
202
|
return false;
|
|
204
203
|
}).add([codeBidiWarningPlugin, {
|
|
205
204
|
appearance
|
|
206
|
-
}])
|
|
207
|
-
if (getBooleanFF('platform.editor.loom-integration')) {
|
|
208
|
-
return true;
|
|
209
|
-
}
|
|
210
|
-
return false;
|
|
211
|
-
});
|
|
205
|
+
}]);
|
|
212
206
|
return finalPreset;
|
|
213
207
|
}
|
|
214
208
|
export function isExpandInsertionEnabled({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.
|
|
2
|
+
export const version = "193.8.0";
|
|
@@ -33,7 +33,6 @@ import { indentationPlugin } from '@atlaskit/editor-plugins/indentation';
|
|
|
33
33
|
import { insertBlockPlugin } from '@atlaskit/editor-plugins/insert-block';
|
|
34
34
|
import { layoutPlugin } from '@atlaskit/editor-plugins/layout';
|
|
35
35
|
import { listPlugin } from '@atlaskit/editor-plugins/list';
|
|
36
|
-
import { loomPlugin } from '@atlaskit/editor-plugins/loom';
|
|
37
36
|
import { maxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
38
37
|
import { mediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
39
38
|
import { mentionsPlugin } from '@atlaskit/editor-plugins/mentions';
|
|
@@ -200,12 +199,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
200
199
|
return false;
|
|
201
200
|
}).add([codeBidiWarningPlugin, {
|
|
202
201
|
appearance: appearance
|
|
203
|
-
}])
|
|
204
|
-
if (getBooleanFF('platform.editor.loom-integration')) {
|
|
205
|
-
return true;
|
|
206
|
-
}
|
|
207
|
-
return false;
|
|
208
|
-
});
|
|
202
|
+
}]);
|
|
209
203
|
return finalPreset;
|
|
210
204
|
}
|
|
211
205
|
export function isExpandInsertionEnabled(_ref) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.
|
|
2
|
+
export var version = "193.8.0";
|
|
@@ -1,46 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { EditorProps } from '../types';
|
|
3
|
-
export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[
|
|
4
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
5
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
6
|
-
sharedState: {
|
|
7
|
-
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
8
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
9
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
10
|
-
};
|
|
11
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
12
|
-
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
13
|
-
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
14
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
15
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
16
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
17
|
-
pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
|
|
18
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
19
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
20
|
-
sharedState: {
|
|
21
|
-
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
22
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
23
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
24
|
-
};
|
|
25
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
26
|
-
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
27
|
-
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
28
|
-
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
29
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
30
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
31
|
-
actions: {
|
|
32
|
-
prependToolbarButtons: import("@atlaskit/editor-plugin-hyperlink").PrependToolbarButtons;
|
|
33
|
-
hideLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").HideLinkToolbar;
|
|
34
|
-
insertLink: import("@atlaskit/editor-plugin-hyperlink").InsertLink;
|
|
35
|
-
updateLink: import("@atlaskit/editor-plugin-hyperlink").UpdateLink;
|
|
36
|
-
};
|
|
37
|
-
commands: {
|
|
38
|
-
showLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").ShowLinkToolbar;
|
|
39
|
-
};
|
|
40
|
-
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
41
|
-
}, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>];
|
|
42
|
-
sharedState: import("@atlaskit/editor-plugin-loom").LoomPluginState | undefined;
|
|
43
|
-
}, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
|
|
3
|
+
export declare function createPreset(props: EditorProps, prevProps?: EditorProps): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
|
|
44
4
|
pluginConfiguration: {
|
|
45
5
|
appearance?: import("@atlaskit/editor-common/types").EditorAppearance | undefined;
|
|
46
6
|
} | undefined;
|
|
@@ -600,7 +560,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
600
560
|
actions: {
|
|
601
561
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
602
562
|
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;
|
|
603
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
563
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
604
564
|
};
|
|
605
565
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
606
566
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -719,7 +679,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
719
679
|
actions: {
|
|
720
680
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
721
681
|
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;
|
|
722
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
682
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
723
683
|
};
|
|
724
684
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
725
685
|
sharedState: {
|
|
@@ -1378,7 +1338,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1378
1338
|
actions: {
|
|
1379
1339
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1380
1340
|
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;
|
|
1381
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
1341
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1382
1342
|
};
|
|
1383
1343
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1384
1344
|
pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
|
|
@@ -1787,7 +1747,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1787
1747
|
actions: {
|
|
1788
1748
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1789
1749
|
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;
|
|
1790
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
1750
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1791
1751
|
};
|
|
1792
1752
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1793
1753
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -2466,7 +2426,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2466
2426
|
actions: {
|
|
2467
2427
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2468
2428
|
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;
|
|
2469
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
2429
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2470
2430
|
};
|
|
2471
2431
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2472
2432
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -2539,7 +2499,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2539
2499
|
actions: {
|
|
2540
2500
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2541
2501
|
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;
|
|
2542
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
2502
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2543
2503
|
};
|
|
2544
2504
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
2545
2505
|
pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
|
|
@@ -3169,7 +3129,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3169
3129
|
actions: {
|
|
3170
3130
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3171
3131
|
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;
|
|
3172
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
3132
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3173
3133
|
};
|
|
3174
3134
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
3175
3135
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -4074,7 +4034,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4074
4034
|
actions: {
|
|
4075
4035
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4076
4036
|
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;
|
|
4077
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
4037
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4078
4038
|
};
|
|
4079
4039
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
4080
4040
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -4193,7 +4153,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4193
4153
|
actions: {
|
|
4194
4154
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4195
4155
|
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;
|
|
4196
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
4156
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4197
4157
|
};
|
|
4198
4158
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
4199
4159
|
sharedState: {
|
|
@@ -524,7 +524,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
524
524
|
actions: {
|
|
525
525
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
526
526
|
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;
|
|
527
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
527
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
528
528
|
};
|
|
529
529
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
530
530
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -1429,7 +1429,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1429
1429
|
actions: {
|
|
1430
1430
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1431
1431
|
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;
|
|
1432
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
1432
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1433
1433
|
};
|
|
1434
1434
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1435
1435
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -1548,7 +1548,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1548
1548
|
actions: {
|
|
1549
1549
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1550
1550
|
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;
|
|
1551
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
1551
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1552
1552
|
};
|
|
1553
1553
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1554
1554
|
sharedState: {
|
|
@@ -2052,7 +2052,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2052
2052
|
actions: {
|
|
2053
2053
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2054
2054
|
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;
|
|
2055
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
2055
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2056
2056
|
};
|
|
2057
2057
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2058
2058
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -2957,7 +2957,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2957
2957
|
actions: {
|
|
2958
2958
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2959
2959
|
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;
|
|
2960
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
2960
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2961
2961
|
};
|
|
2962
2962
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2963
2963
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -3076,7 +3076,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3076
3076
|
actions: {
|
|
3077
3077
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3078
3078
|
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;
|
|
3079
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
3079
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3080
3080
|
};
|
|
3081
3081
|
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
3082
3082
|
sharedState: {
|
|
@@ -17,47 +17,7 @@ type UniversalPresetProps = DefaultPresetPluginOptions & EditorSharedPropsWithPl
|
|
|
17
17
|
* @param prevAppearance The appearance of the editor in the previous render
|
|
18
18
|
* @returns a full featured preset configured according to the provided props - basis for create-plugins-list
|
|
19
19
|
*/
|
|
20
|
-
export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): import("@atlaskit/editor-common/preset").EditorPresetBuilder<[
|
|
21
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
22
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
23
|
-
sharedState: {
|
|
24
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
25
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
26
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
27
|
-
};
|
|
28
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
29
|
-
pluginConfiguration: FeatureFlags;
|
|
30
|
-
sharedState: FeatureFlags;
|
|
31
|
-
}, FeatureFlags>>];
|
|
32
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
33
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"hyperlink", {
|
|
34
|
-
pluginConfiguration: import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined;
|
|
35
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
36
|
-
pluginConfiguration: import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions;
|
|
37
|
-
sharedState: {
|
|
38
|
-
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
39
|
-
attachAnalyticsEvent: import("@atlaskit/editor-plugin-analytics").CreateAttachPayloadIntoTransaction | null;
|
|
40
|
-
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
41
|
-
};
|
|
42
|
-
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
43
|
-
pluginConfiguration: FeatureFlags;
|
|
44
|
-
sharedState: FeatureFlags;
|
|
45
|
-
}, FeatureFlags>>];
|
|
46
|
-
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
47
|
-
}, import("@atlaskit/editor-plugin-analytics").AnalyticsPluginOptions>>];
|
|
48
|
-
actions: {
|
|
49
|
-
prependToolbarButtons: import("@atlaskit/editor-plugin-hyperlink").PrependToolbarButtons;
|
|
50
|
-
hideLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").HideLinkToolbar;
|
|
51
|
-
insertLink: import("@atlaskit/editor-plugin-hyperlink").InsertLink;
|
|
52
|
-
updateLink: import("@atlaskit/editor-plugin-hyperlink").UpdateLink;
|
|
53
|
-
};
|
|
54
|
-
commands: {
|
|
55
|
-
showLinkToolbar: import("@atlaskit/editor-plugin-hyperlink").ShowLinkToolbar;
|
|
56
|
-
};
|
|
57
|
-
sharedState: import("@atlaskit/editor-common/link").HyperlinkState | undefined;
|
|
58
|
-
}, import("@atlaskit/editor-common/types").HyperlinkPluginOptions | undefined>];
|
|
59
|
-
sharedState: import("@atlaskit/editor-plugins/loom").LoomPluginState | undefined;
|
|
60
|
-
}, undefined>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
|
|
20
|
+
export default function createUniversalPreset(appearance: EditorAppearance | undefined, props: UniversalPresetProps, featureFlags: FeatureFlags, prevAppearance?: EditorAppearance, createAnalyticsEvent?: CreateUIAnalyticsEvent): import("@atlaskit/editor-common/preset").EditorPresetBuilder<["codeBidiWarning", import("@atlaskit/editor-common/types").MaybePluginName<"pasteOptionsToolbarPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"fragmentPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"border">, import("@atlaskit/editor-common/types").MaybePluginName<"findReplace">, "avatarGroup", import("@atlaskit/editor-common/types").MaybePluginName<"beforePrimaryToolbar">, "insertBlock", "toolbarListsIndentation", import("@atlaskit/editor-common/types").MaybePluginName<"scrollIntoView">, import("@atlaskit/editor-common/types").MaybePluginName<"indentation">, import("@atlaskit/editor-common/types").MaybePluginName<"status">, import("@atlaskit/editor-common/types").MaybePluginName<"customAutoformat">, import("@atlaskit/editor-common/types").MaybePluginName<"card">, import("@atlaskit/editor-common/types").MaybePluginName<"layout">, import("@atlaskit/editor-common/types").MaybePluginName<"placeholderText">, import("@atlaskit/editor-common/types").MaybePluginName<"date">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"extension">, import("@atlaskit/editor-common/types").MaybePluginName<"contextPanel">, import("@atlaskit/editor-common/types").MaybePluginName<"panel">, import("@atlaskit/editor-common/types").MaybePluginName<"maxContentSize">, import("@atlaskit/editor-common/types").MaybePluginName<"collabEdit">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"imageUpload">, import("@atlaskit/editor-common/types").MaybePluginName<"saveOnEnter">, import("@atlaskit/editor-common/types").MaybePluginName<"helpDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"feedbackDialog">, import("@atlaskit/editor-common/types").MaybePluginName<"taskDecision">, import("@atlaskit/editor-common/types").MaybePluginName<"table">, import("@atlaskit/editor-common/types").MaybePluginName<"emoji">, import("@atlaskit/editor-common/types").MaybePluginName<"mention">, import("@atlaskit/editor-common/types").MaybePluginName<"caption">, import("@atlaskit/editor-common/types").MaybePluginName<"media">, import("@atlaskit/editor-common/types").MaybePluginName<"annotation">, import("@atlaskit/editor-common/types").MaybePluginName<"grid">, import("@atlaskit/editor-common/types").MaybePluginName<"guideline">, import("@atlaskit/editor-common/types").MaybePluginName<"expand">, import("@atlaskit/editor-common/types").MaybePluginName<"rule">, "list", import("@atlaskit/editor-common/types").MaybePluginName<"textColor">, import("@atlaskit/editor-common/types").MaybePluginName<"alignment">, import("@atlaskit/editor-common/types").MaybePluginName<"breakout">, "contentInsertion", "accessibilityUtils", "dataConsumer", "codeBlock", "selection", "floatingToolbar", "copyButton", "submitEditor", "editorDisabled", "unsupportedContent", "placeholder", "quickInsert", "width", "textFormatting", "hyperlink", import("@atlaskit/editor-common/types").MaybePluginName<"selectionToolbar">, "clearMarksOnEmptyDoc", "blockType", import("@atlaskit/editor-common/types").MaybePluginName<"undoRedoPlugin">, import("@atlaskit/editor-common/types").MaybePluginName<"history">, "typeAhead", "decorations", "base", "contextIdentifier", "composition", "focus", "clipboard", "paste", "betterTypeHistory", import("@atlaskit/editor-common/types").MaybePluginName<"analytics">, "featureFlags"], [import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"codeBidiWarning", {
|
|
61
21
|
pluginConfiguration: {
|
|
62
22
|
appearance?: EditorAppearance | undefined;
|
|
63
23
|
} | undefined;
|
|
@@ -617,7 +577,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
617
577
|
actions: {
|
|
618
578
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
619
579
|
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;
|
|
620
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
580
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
621
581
|
};
|
|
622
582
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
623
583
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -736,7 +696,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
736
696
|
actions: {
|
|
737
697
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
738
698
|
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;
|
|
739
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
699
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
740
700
|
};
|
|
741
701
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
742
702
|
sharedState: {
|
|
@@ -1395,7 +1355,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1395
1355
|
actions: {
|
|
1396
1356
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1397
1357
|
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;
|
|
1398
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
1358
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1399
1359
|
};
|
|
1400
1360
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
|
|
1401
1361
|
pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
|
|
@@ -1804,7 +1764,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1804
1764
|
actions: {
|
|
1805
1765
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1806
1766
|
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;
|
|
1807
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
1767
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
1808
1768
|
};
|
|
1809
1769
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
1810
1770
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -2483,7 +2443,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2483
2443
|
actions: {
|
|
2484
2444
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2485
2445
|
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;
|
|
2486
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
2446
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2487
2447
|
};
|
|
2488
2448
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
2489
2449
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -2556,7 +2516,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2556
2516
|
actions: {
|
|
2557
2517
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2558
2518
|
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;
|
|
2559
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
2519
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
2560
2520
|
};
|
|
2561
2521
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
|
|
2562
2522
|
pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
|
|
@@ -3186,7 +3146,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3186
3146
|
actions: {
|
|
3187
3147
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3188
3148
|
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;
|
|
3189
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
3149
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
3190
3150
|
};
|
|
3191
3151
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
3192
3152
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -4091,7 +4051,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4091
4051
|
actions: {
|
|
4092
4052
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4093
4053
|
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;
|
|
4094
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
4054
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4095
4055
|
};
|
|
4096
4056
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
4097
4057
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
@@ -4210,7 +4170,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4210
4170
|
actions: {
|
|
4211
4171
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4212
4172
|
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;
|
|
4213
|
-
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command
|
|
4173
|
+
showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command;
|
|
4214
4174
|
};
|
|
4215
4175
|
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
4216
4176
|
sharedState: {
|