@atlaskit/editor-core 193.3.0 → 193.3.11
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/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/cjs/ui/ContentStyles/extension.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +2 -2
- package/dist/es2019/ui/ContentStyles/extension.js +14 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +2 -2
- package/dist/esm/ui/ContentStyles/extension.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +10 -10
- package/dist/types/presets/default.d.ts +8 -8
- package/dist/types/presets/universal.d.ts +10 -10
- package/dist/types/presets/useUniversalPreset.d.ts +10 -10
- package/dist/types/ui/Addon/Dropdown/index.d.ts +1 -0
- package/dist/types/ui/ErrorBoundary/index.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +10 -10
- package/dist/types-ts4.5/presets/default.d.ts +8 -8
- package/dist/types-ts4.5/presets/universal.d.ts +10 -10
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +10 -10
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +1 -0
- package/package.json +18 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.3.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#81768](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81768) [`9d96e603865d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9d96e603865d) - [ux] Fixes issue where inline macros don't turn red on trash hover and updates VR tests to check
|
|
8
|
+
|
|
9
|
+
## 193.3.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#81644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81644) [`8ab7a816dca7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ab7a816dca7) - Revert input border change from the previous version
|
|
14
|
+
|
|
3
15
|
## 193.3.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -51,7 +51,7 @@ var commentEditorStyle = (0, _react2.css)({
|
|
|
51
51
|
minWidth: '272px',
|
|
52
52
|
height: 'auto',
|
|
53
53
|
backgroundColor: "var(--ds-background-input, white)",
|
|
54
|
-
border: "1px solid ".concat("var(--ds-border
|
|
54
|
+
border: "1px solid ".concat("var(--ds-border, ".concat(_colors.N40, ")")),
|
|
55
55
|
boxSizing: 'border-box',
|
|
56
56
|
borderRadius: "".concat((0, _constants.borderRadius)(), "px"),
|
|
57
57
|
maxWidth: 'inherit',
|
|
@@ -10,4 +10,4 @@ var _react = require("@emotion/react");
|
|
|
10
10
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
11
11
|
var _templateObject;
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/no-exported-css -- Needs manual remediation
|
|
13
|
-
var extensionStyles = exports.extensionStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n &:not(.danger).", " {\n & > span > .multiBodiedExtension--container {\n ", "\n }\n }\n .multiBodiedExtension--container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n }\n\n .extensionView-content-wrap,\n .multiBodiedExtensionView-content-wrap,\n .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n\n &:first-of-type {\n margin-top: 0;\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &.inline {\n word-wrap: break-all;\n }\n }\n\n .extensionView-content-wrap .extension-container {\n overflow: hidden;\n }\n\n .bodiedExtensionView-content-wrap\n .extensionView-content-wrap\n .extension-container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n\n [data-mark-type='fragment'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n }\n\n &:first-child {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n }\n }\n\n &:nth-last-of-type(-n + 2):not(:first-of-type) {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n }\n }\n }\n"])), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.blockNodesVerticalMargin);
|
|
13
|
+
var extensionStyles = exports.extensionStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n &:not(.danger).", " {\n & > span > .multiBodiedExtension--container {\n ", "\n }\n }\n .multiBodiedExtension--container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n }\n\n .inlineExtensionView-content-wrap {\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n }\n\n .extensionView-content-wrap,\n .multiBodiedExtensionView-content-wrap,\n .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n\n &:first-of-type {\n margin-top: 0;\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &.inline {\n word-wrap: break-all;\n }\n }\n\n .extensionView-content-wrap .extension-container {\n overflow: hidden;\n }\n\n .bodiedExtensionView-content-wrap\n .extensionView-content-wrap\n .extension-container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n\n [data-mark-type='fragment'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n }\n\n &:first-child {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n }\n }\n\n &:nth-last-of-type(-n + 2):not(:first-of-type) {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n }\n }\n }\n"])), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow, _editorSharedStyles.SelectionStyle.Blanket]), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.akEditorSelectedNodeClassName, (0, _editorSharedStyles.getSelectionStyles)([_editorSharedStyles.SelectionStyle.BoxShadow]), _editorSharedStyles.akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(_editorSharedStyles.akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(_editorSharedStyles.akEditorDeleteBackground, ")"), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.blockNodesVerticalMargin);
|
|
@@ -13,7 +13,7 @@ import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-me
|
|
|
13
13
|
import { tableCommentEditorStyles } from '@atlaskit/editor-plugins/table/ui/common-styles';
|
|
14
14
|
import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles';
|
|
15
15
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
16
|
-
import {
|
|
16
|
+
import { N40 } from '@atlaskit/theme/colors';
|
|
17
17
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
18
18
|
import messages from '../../../messages';
|
|
19
19
|
import { usePresetContext } from '../../../presets/context';
|
|
@@ -33,7 +33,7 @@ const commentEditorStyle = css({
|
|
|
33
33
|
minWidth: '272px',
|
|
34
34
|
height: 'auto',
|
|
35
35
|
backgroundColor: "var(--ds-background-input, white)",
|
|
36
|
-
border: `1px solid ${`var(--ds-border
|
|
36
|
+
border: `1px solid ${`var(--ds-border, ${N40})`}`,
|
|
37
37
|
boxSizing: 'border-box',
|
|
38
38
|
borderRadius: `${borderRadius()}px`,
|
|
39
39
|
maxWidth: 'inherit',
|
|
@@ -19,6 +19,20 @@ export const extensionStyles = css`
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
.inlineExtensionView-content-wrap {
|
|
23
|
+
&.danger > span > .extension-container {
|
|
24
|
+
box-shadow: 0 0 0 ${akEditorSelectedBorderSize}px
|
|
25
|
+
${`var(--ds-border-danger, ${akEditorDeleteBorder})`};
|
|
26
|
+
background-color: ${`var(--ds-background-danger, ${akEditorDeleteBackground})`};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:not(.danger).${akEditorSelectedNodeClassName} {
|
|
30
|
+
& > span > .extension-container {
|
|
31
|
+
${getSelectionStyles([SelectionStyle.BoxShadow])}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
22
36
|
.extensionView-content-wrap,
|
|
23
37
|
.multiBodiedExtensionView-content-wrap,
|
|
24
38
|
.bodiedExtensionView-content-wrap {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.3.
|
|
2
|
+
export const version = "193.3.11";
|
|
@@ -22,7 +22,7 @@ import { ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-me
|
|
|
22
22
|
import { tableCommentEditorStyles } from '@atlaskit/editor-plugins/table/ui/common-styles';
|
|
23
23
|
import { akEditorMobileBreakoutPoint } from '@atlaskit/editor-shared-styles';
|
|
24
24
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
25
|
-
import {
|
|
25
|
+
import { N40 } from '@atlaskit/theme/colors';
|
|
26
26
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
27
27
|
import messages from '../../../messages';
|
|
28
28
|
import { usePresetContext } from '../../../presets/context';
|
|
@@ -42,7 +42,7 @@ var commentEditorStyle = css({
|
|
|
42
42
|
minWidth: '272px',
|
|
43
43
|
height: 'auto',
|
|
44
44
|
backgroundColor: "var(--ds-background-input, white)",
|
|
45
|
-
border: "1px solid ".concat("var(--ds-border
|
|
45
|
+
border: "1px solid ".concat("var(--ds-border, ".concat(N40, ")")),
|
|
46
46
|
boxSizing: 'border-box',
|
|
47
47
|
borderRadius: "".concat(borderRadius(), "px"),
|
|
48
48
|
maxWidth: 'inherit',
|
|
@@ -3,4 +3,4 @@ var _templateObject;
|
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
|
|
5
5
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/design-system/no-exported-css -- Needs manual remediation
|
|
6
|
-
export var extensionStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n &:not(.danger).", " {\n & > span > .multiBodiedExtension--container {\n ", "\n }\n }\n .multiBodiedExtension--container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n }\n\n .extensionView-content-wrap,\n .multiBodiedExtensionView-content-wrap,\n .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n\n &:first-of-type {\n margin-top: 0;\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &.inline {\n word-wrap: break-all;\n }\n }\n\n .extensionView-content-wrap .extension-container {\n overflow: hidden;\n }\n\n .bodiedExtensionView-content-wrap\n .extensionView-content-wrap\n .extension-container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n\n [data-mark-type='fragment'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n }\n\n &:first-child {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n }\n }\n\n &:nth-last-of-type(-n + 2):not(:first-of-type) {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n }\n }\n }\n"])), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), blockNodesVerticalMargin, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), blockNodesVerticalMargin, blockNodesVerticalMargin);
|
|
6
|
+
export var extensionStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n &:not(.danger).", " {\n & > span > .multiBodiedExtension--container {\n ", "\n }\n }\n .multiBodiedExtension--container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n }\n\n .inlineExtensionView-content-wrap {\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n }\n\n .extensionView-content-wrap,\n .multiBodiedExtensionView-content-wrap,\n .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n\n &:first-of-type {\n margin-top: 0;\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n &:not(.danger).", " {\n & > span > .extension-container {\n ", "\n }\n }\n\n &.danger > span > .extension-container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n &.inline {\n word-wrap: break-all;\n }\n }\n\n .extensionView-content-wrap .extension-container {\n overflow: hidden;\n }\n\n .bodiedExtensionView-content-wrap\n .extensionView-content-wrap\n .extension-container {\n width: 100%;\n max-width: 100%; // ensure width can't go over 100%;\n }\n\n [data-mark-type='fragment'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin: ", " 0;\n }\n }\n\n &:first-child {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-top: 0;\n }\n }\n }\n\n &:nth-last-of-type(-n + 2):not(:first-of-type) {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n\n & > [data-mark-type='dataConsumer'] {\n & > .extensionView-content-wrap,\n & > .bodiedExtensionView-content-wrap {\n margin-bottom: 0;\n }\n }\n }\n }\n"])), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), blockNodesVerticalMargin, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), blockNodesVerticalMargin, blockNodesVerticalMargin);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.3.
|
|
2
|
+
export var version = "193.3.11";
|
|
@@ -490,7 +490,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
490
490
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
491
491
|
};
|
|
492
492
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
493
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
493
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
494
494
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
495
495
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
496
496
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -557,7 +557,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
557
557
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
558
558
|
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;
|
|
559
559
|
};
|
|
560
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
560
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
561
561
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
562
562
|
actions: {
|
|
563
563
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1630,7 +1630,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1630
1630
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1631
1631
|
};
|
|
1632
1632
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1633
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1633
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1634
1634
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1635
1635
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1636
1636
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1697,7 +1697,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
1697
1697
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1698
1698
|
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;
|
|
1699
1699
|
};
|
|
1700
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1700
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1701
1701
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1702
1702
|
actions: {
|
|
1703
1703
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2262,7 +2262,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2262
2262
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2263
2263
|
};
|
|
2264
2264
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2265
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2265
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2266
2266
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2267
2267
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2268
2268
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2329,7 +2329,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2329
2329
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2330
2330
|
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;
|
|
2331
2331
|
};
|
|
2332
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2332
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2333
2333
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2334
2334
|
actions: {
|
|
2335
2335
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2911,7 +2911,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2911
2911
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2912
2912
|
};
|
|
2913
2913
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2914
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2914
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2915
2915
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2916
2916
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2917
2917
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2978,7 +2978,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2978
2978
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2979
2979
|
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;
|
|
2980
2980
|
};
|
|
2981
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2981
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2982
2982
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2983
2983
|
actions: {
|
|
2984
2984
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -3771,7 +3771,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3771
3771
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3772
3772
|
};
|
|
3773
3773
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3774
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3774
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3775
3775
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3776
3776
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3777
3777
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3838,7 +3838,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3838
3838
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3839
3839
|
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;
|
|
3840
3840
|
};
|
|
3841
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3841
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
3842
3842
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3843
3843
|
actions: {
|
|
3844
3844
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -414,7 +414,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
414
414
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
415
415
|
};
|
|
416
416
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
417
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
417
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
418
418
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
419
419
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
420
420
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -481,7 +481,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
481
481
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
482
482
|
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;
|
|
483
483
|
};
|
|
484
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
484
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
485
485
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
486
486
|
actions: {
|
|
487
487
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1274,7 +1274,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1274
1274
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1275
1275
|
};
|
|
1276
1276
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1277
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1277
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1278
1278
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1279
1279
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1280
1280
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1341,7 +1341,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1341
1341
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1342
1342
|
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;
|
|
1343
1343
|
};
|
|
1344
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1344
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1345
1345
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1346
1346
|
actions: {
|
|
1347
1347
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1851,7 +1851,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
1851
1851
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1852
1852
|
};
|
|
1853
1853
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1854
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1854
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1855
1855
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1856
1856
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1857
1857
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1918,7 +1918,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
1918
1918
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1919
1919
|
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;
|
|
1920
1920
|
};
|
|
1921
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1921
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1922
1922
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1923
1923
|
actions: {
|
|
1924
1924
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2711,7 +2711,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2711
2711
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2712
2712
|
};
|
|
2713
2713
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2714
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2714
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2715
2715
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2716
2716
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2717
2717
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2778,7 +2778,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2778
2778
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2779
2779
|
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;
|
|
2780
2780
|
};
|
|
2781
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2781
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2782
2782
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2783
2783
|
actions: {
|
|
2784
2784
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -507,7 +507,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
507
507
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
508
508
|
};
|
|
509
509
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
510
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
510
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
511
511
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
512
512
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
513
513
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -574,7 +574,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
574
574
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
575
575
|
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;
|
|
576
576
|
};
|
|
577
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
577
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
578
578
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
579
579
|
actions: {
|
|
580
580
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1647,7 +1647,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1647
1647
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1648
1648
|
};
|
|
1649
1649
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1650
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1650
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1651
1651
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
1652
1652
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
1653
1653
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1714,7 +1714,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
1714
1714
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1715
1715
|
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;
|
|
1716
1716
|
};
|
|
1717
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
1717
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
1718
1718
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1719
1719
|
actions: {
|
|
1720
1720
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2279,7 +2279,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2279
2279
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2280
2280
|
};
|
|
2281
2281
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2282
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2282
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2283
2283
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2284
2284
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2285
2285
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2346,7 +2346,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2346
2346
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2347
2347
|
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;
|
|
2348
2348
|
};
|
|
2349
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
2349
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
2350
2350
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2351
2351
|
actions: {
|
|
2352
2352
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2928,7 +2928,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2928
2928
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2929
2929
|
};
|
|
2930
2930
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2931
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2931
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2932
2932
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2933
2933
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2934
2934
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2995,7 +2995,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2995
2995
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2996
2996
|
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;
|
|
2997
2997
|
};
|
|
2998
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
2998
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
2999
2999
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3000
3000
|
actions: {
|
|
3001
3001
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -3788,7 +3788,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3788
3788
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3789
3789
|
};
|
|
3790
3790
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3791
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3791
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3792
3792
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
3793
3793
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
3794
3794
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3855,7 +3855,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3855
3855
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3856
3856
|
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;
|
|
3857
3857
|
};
|
|
3858
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
3858
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
|
|
3859
3859
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3860
3860
|
actions: {
|
|
3861
3861
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -493,7 +493,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
493
493
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
494
494
|
};
|
|
495
495
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
496
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
496
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
497
497
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
498
498
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
499
499
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -560,7 +560,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
560
560
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
561
561
|
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;
|
|
562
562
|
};
|
|
563
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
563
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
564
564
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
565
565
|
actions: {
|
|
566
566
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -1633,7 +1633,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1633
1633
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
1634
1634
|
};
|
|
1635
1635
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1636
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1636
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1637
1637
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1638
1638
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1639
1639
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -1700,7 +1700,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
1700
1700
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1701
1701
|
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;
|
|
1702
1702
|
};
|
|
1703
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1703
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
1704
1704
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1705
1705
|
actions: {
|
|
1706
1706
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2265,7 +2265,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2265
2265
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2266
2266
|
};
|
|
2267
2267
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2268
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2268
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2269
2269
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2270
2270
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2271
2271
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2332,7 +2332,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2332
2332
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2333
2333
|
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;
|
|
2334
2334
|
};
|
|
2335
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2335
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2336
2336
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2337
2337
|
actions: {
|
|
2338
2338
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -2914,7 +2914,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2914
2914
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
2915
2915
|
};
|
|
2916
2916
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2917
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2917
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2918
2918
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2919
2919
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2920
2920
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -2981,7 +2981,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2981
2981
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2982
2982
|
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;
|
|
2983
2983
|
};
|
|
2984
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2984
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
2985
2985
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2986
2986
|
actions: {
|
|
2987
2987
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -3774,7 +3774,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3774
3774
|
displayGapCursor: (toggle: boolean) => import("@atlaskit/editor-common/types").EditorCommand;
|
|
3775
3775
|
};
|
|
3776
3776
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3777
|
-
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3777
|
+
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3778
3778
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3779
3779
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3780
3780
|
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
@@ -3841,7 +3841,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3841
3841
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3842
3842
|
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;
|
|
3843
3843
|
};
|
|
3844
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3844
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
|
|
3845
3845
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3846
3846
|
actions: {
|
|
3847
3847
|
insertMediaAsMediaSingle: import("@atlaskit/editor-plugins/media/types").InsertMediaAsMediaSingle;
|
|
@@ -4,6 +4,7 @@ import { jsx } from '@emotion/react';
|
|
|
4
4
|
import type EditorActions from '../../../actions';
|
|
5
5
|
import type { RenderOnClickHandler } from '../../Addon/types';
|
|
6
6
|
export interface Props {
|
|
7
|
+
children?: React.ReactNode;
|
|
7
8
|
onClick: (actionOnClick: EditorActions, renderOnClick: RenderOnClickHandler) => void;
|
|
8
9
|
editorActions: EditorActions;
|
|
9
10
|
togglePopup: () => void;
|
|
@@ -5,6 +5,7 @@ type ErrorCrashPayload = Extract<ErrorEventPayload, {
|
|
|
5
5
|
action: ACTION.EDITOR_CRASHED;
|
|
6
6
|
}>;
|
|
7
7
|
interface ErrorBoundaryProps {
|
|
8
|
+
children?: React.ReactNode;
|
|
8
9
|
component: ErrorCrashPayload['actionSubject'];
|
|
9
10
|
componentId?: ErrorCrashPayload['actionSubjectId'];
|
|
10
11
|
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
@@ -681,7 +681,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
681
681
|
};
|
|
682
682
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
683
683
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
684
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
684
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
685
685
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
686
686
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
687
687
|
dependencies: [
|
|
@@ -761,7 +761,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
761
761
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
762
762
|
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;
|
|
763
763
|
};
|
|
764
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
764
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
765
765
|
];
|
|
766
766
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
767
767
|
actions: {
|
|
@@ -2071,7 +2071,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2071
2071
|
};
|
|
2072
2072
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2073
2073
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2074
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2074
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2075
2075
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2076
2076
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2077
2077
|
dependencies: [
|
|
@@ -2151,7 +2151,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2151
2151
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2152
2152
|
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;
|
|
2153
2153
|
};
|
|
2154
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2154
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2155
2155
|
];
|
|
2156
2156
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2157
2157
|
actions: {
|
|
@@ -2833,7 +2833,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2833
2833
|
};
|
|
2834
2834
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2835
2835
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2836
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2836
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2837
2837
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2838
2838
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2839
2839
|
dependencies: [
|
|
@@ -2913,7 +2913,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2913
2913
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2914
2914
|
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;
|
|
2915
2915
|
};
|
|
2916
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2916
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2917
2917
|
];
|
|
2918
2918
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2919
2919
|
actions: {
|
|
@@ -3636,7 +3636,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3636
3636
|
};
|
|
3637
3637
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3638
3638
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3639
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3639
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3640
3640
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3641
3641
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3642
3642
|
dependencies: [
|
|
@@ -3716,7 +3716,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3716
3716
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3717
3717
|
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;
|
|
3718
3718
|
};
|
|
3719
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3719
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
3720
3720
|
];
|
|
3721
3721
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3722
3722
|
actions: {
|
|
@@ -4680,7 +4680,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4680
4680
|
};
|
|
4681
4681
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4682
4682
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
4683
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4683
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4684
4684
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
4685
4685
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
4686
4686
|
dependencies: [
|
|
@@ -4760,7 +4760,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
4760
4760
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4761
4761
|
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;
|
|
4762
4762
|
};
|
|
4763
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
4763
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
4764
4764
|
];
|
|
4765
4765
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4766
4766
|
actions: {
|
|
@@ -530,7 +530,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
530
530
|
};
|
|
531
531
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
532
532
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
533
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
533
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
534
534
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
535
535
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
536
536
|
dependencies: [
|
|
@@ -610,7 +610,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
610
610
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
611
611
|
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;
|
|
612
612
|
};
|
|
613
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
613
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
614
614
|
];
|
|
615
615
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
616
616
|
actions: {
|
|
@@ -1574,7 +1574,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1574
1574
|
};
|
|
1575
1575
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
1576
1576
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
1577
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1577
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
1578
1578
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
1579
1579
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
1580
1580
|
dependencies: [
|
|
@@ -1654,7 +1654,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
|
|
|
1654
1654
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
1655
1655
|
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;
|
|
1656
1656
|
};
|
|
1657
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
1657
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
1658
1658
|
];
|
|
1659
1659
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
1660
1660
|
actions: {
|
|
@@ -2312,7 +2312,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2312
2312
|
};
|
|
2313
2313
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2314
2314
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2315
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2315
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2316
2316
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2317
2317
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2318
2318
|
dependencies: [
|
|
@@ -2392,7 +2392,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
2392
2392
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2393
2393
|
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;
|
|
2394
2394
|
};
|
|
2395
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2395
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2396
2396
|
];
|
|
2397
2397
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2398
2398
|
actions: {
|
|
@@ -3356,7 +3356,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3356
3356
|
};
|
|
3357
3357
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3358
3358
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3359
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3359
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3360
3360
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3361
3361
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3362
3362
|
dependencies: [
|
|
@@ -3436,7 +3436,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
|
|
|
3436
3436
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3437
3437
|
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;
|
|
3438
3438
|
};
|
|
3439
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3439
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
3440
3440
|
];
|
|
3441
3441
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3442
3442
|
actions: {
|
|
@@ -698,7 +698,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
698
698
|
};
|
|
699
699
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
700
700
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
701
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
701
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
702
702
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
703
703
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
704
704
|
dependencies: [
|
|
@@ -778,7 +778,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
778
778
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
779
779
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
780
780
|
};
|
|
781
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
781
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
782
782
|
];
|
|
783
783
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
784
784
|
actions: {
|
|
@@ -2088,7 +2088,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2088
2088
|
};
|
|
2089
2089
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2090
2090
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2091
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2091
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2092
2092
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2093
2093
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2094
2094
|
dependencies: [
|
|
@@ -2168,7 +2168,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2168
2168
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2169
2169
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2170
2170
|
};
|
|
2171
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
2171
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
2172
2172
|
];
|
|
2173
2173
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2174
2174
|
actions: {
|
|
@@ -2850,7 +2850,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2850
2850
|
};
|
|
2851
2851
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2852
2852
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2853
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2853
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2854
2854
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
2855
2855
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
2856
2856
|
dependencies: [
|
|
@@ -2930,7 +2930,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2930
2930
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2931
2931
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2932
2932
|
};
|
|
2933
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
2933
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
2934
2934
|
];
|
|
2935
2935
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2936
2936
|
actions: {
|
|
@@ -3653,7 +3653,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3653
3653
|
};
|
|
3654
3654
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3655
3655
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3656
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3656
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3657
3657
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
3658
3658
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
3659
3659
|
dependencies: [
|
|
@@ -3733,7 +3733,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3733
3733
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3734
3734
|
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;
|
|
3735
3735
|
};
|
|
3736
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
3736
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
3737
3737
|
];
|
|
3738
3738
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3739
3739
|
actions: {
|
|
@@ -4697,7 +4697,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4697
4697
|
};
|
|
4698
4698
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4699
4699
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
4700
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4700
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4701
4701
|
pluginConfiguration: import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined;
|
|
4702
4702
|
sharedState: import("@atlaskit/editor-plugins/annotation").InlineCommentPluginState | undefined;
|
|
4703
4703
|
dependencies: [
|
|
@@ -4777,7 +4777,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
4777
4777
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4778
4778
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4779
4779
|
};
|
|
4780
|
-
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined
|
|
4780
|
+
}, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
|
|
4781
4781
|
];
|
|
4782
4782
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4783
4783
|
actions: {
|
|
@@ -684,7 +684,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
684
684
|
};
|
|
685
685
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
686
686
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
687
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
687
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
688
688
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
689
689
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
690
690
|
dependencies: [
|
|
@@ -764,7 +764,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
764
764
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
765
765
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
766
766
|
};
|
|
767
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
767
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
768
768
|
];
|
|
769
769
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
770
770
|
actions: {
|
|
@@ -2074,7 +2074,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2074
2074
|
};
|
|
2075
2075
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2076
2076
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2077
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2077
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2078
2078
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2079
2079
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2080
2080
|
dependencies: [
|
|
@@ -2154,7 +2154,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2154
2154
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2155
2155
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2156
2156
|
};
|
|
2157
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2157
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2158
2158
|
];
|
|
2159
2159
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2160
2160
|
actions: {
|
|
@@ -2836,7 +2836,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2836
2836
|
};
|
|
2837
2837
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
2838
2838
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
2839
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2839
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
2840
2840
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
2841
2841
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
2842
2842
|
dependencies: [
|
|
@@ -2916,7 +2916,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2916
2916
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
2917
2917
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
2918
2918
|
};
|
|
2919
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
2919
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
2920
2920
|
];
|
|
2921
2921
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
2922
2922
|
actions: {
|
|
@@ -3639,7 +3639,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3639
3639
|
};
|
|
3640
3640
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
3641
3641
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
3642
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3642
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
3643
3643
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
3644
3644
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
3645
3645
|
dependencies: [
|
|
@@ -3719,7 +3719,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3719
3719
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
3720
3720
|
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;
|
|
3721
3721
|
};
|
|
3722
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
3722
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
3723
3723
|
];
|
|
3724
3724
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
3725
3725
|
actions: {
|
|
@@ -4683,7 +4683,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4683
4683
|
};
|
|
4684
4684
|
sharedState: import("@atlaskit/editor-common/selection").SelectionSharedState;
|
|
4685
4685
|
}, import("@atlaskit/editor-plugins/selection/types").SelectionPluginOptions | undefined>,
|
|
4686
|
-
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4686
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"annotation", {
|
|
4687
4687
|
pluginConfiguration: import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined;
|
|
4688
4688
|
sharedState: import("@atlaskit/editor-plugin-annotation").InlineCommentPluginState | undefined;
|
|
4689
4689
|
dependencies: [
|
|
@@ -4763,7 +4763,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
4763
4763
|
stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
|
|
4764
4764
|
setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
|
|
4765
4765
|
};
|
|
4766
|
-
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined
|
|
4766
|
+
}, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
|
|
4767
4767
|
];
|
|
4768
4768
|
sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
|
|
4769
4769
|
actions: {
|
|
@@ -4,6 +4,7 @@ import { jsx } from '@emotion/react';
|
|
|
4
4
|
import type EditorActions from '../../../actions';
|
|
5
5
|
import type { RenderOnClickHandler } from '../../Addon/types';
|
|
6
6
|
export interface Props {
|
|
7
|
+
children?: React.ReactNode;
|
|
7
8
|
onClick: (actionOnClick: EditorActions, renderOnClick: RenderOnClickHandler) => void;
|
|
8
9
|
editorActions: EditorActions;
|
|
9
10
|
togglePopup: () => void;
|
|
@@ -5,6 +5,7 @@ type ErrorCrashPayload = Extract<ErrorEventPayload, {
|
|
|
5
5
|
action: ACTION.EDITOR_CRASHED;
|
|
6
6
|
}>;
|
|
7
7
|
interface ErrorBoundaryProps {
|
|
8
|
+
children?: React.ReactNode;
|
|
8
9
|
component: ErrorCrashPayload['actionSubject'];
|
|
9
10
|
componentId?: ErrorCrashPayload['actionSubjectId'];
|
|
10
11
|
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.3.
|
|
3
|
+
"version": "193.3.11",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^17.7.0",
|
|
48
|
-
"@atlaskit/editor-common": "^78.
|
|
48
|
+
"@atlaskit/editor-common": "^78.14.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
50
|
-
"@atlaskit/editor-plugins": "^1.
|
|
50
|
+
"@atlaskit/editor-plugins": "^1.7.0",
|
|
51
51
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
52
52
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
53
53
|
"@atlaskit/emoji": "^67.6.0",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"@atlaskit/checkbox": "^13.1.0",
|
|
90
90
|
"@atlaskit/collab-provider": "9.25.11",
|
|
91
91
|
"@atlaskit/dropdown-menu": "^12.8.0",
|
|
92
|
-
"@atlaskit/editor-plugin-annotation": "1.
|
|
93
|
-
"@atlaskit/editor-plugin-card": "^1.
|
|
92
|
+
"@atlaskit/editor-plugin-annotation": "1.4.0",
|
|
93
|
+
"@atlaskit/editor-plugin-card": "^1.2.0",
|
|
94
94
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.0.0",
|
|
95
95
|
"@atlaskit/editor-plugin-list": "^3.1.5",
|
|
96
96
|
"@atlaskit/editor-plugin-paste": "^1.0.0",
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
104
104
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
105
105
|
"@atlaskit/modal-dialog": "^12.10.0",
|
|
106
|
-
"@atlaskit/primitives": "^
|
|
106
|
+
"@atlaskit/primitives": "^5.0.0",
|
|
107
107
|
"@atlaskit/renderer": "^109.8.0",
|
|
108
108
|
"@atlaskit/select": "^17.3.0",
|
|
109
|
-
"@atlaskit/smart-card": "^26.
|
|
109
|
+
"@atlaskit/smart-card": "^26.50.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "^2.3.0",
|
|
111
111
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
112
112
|
"@atlaskit/visual-regression": "*",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
115
115
|
"@atlassian/feature-flags-test-utils": "^0.2.0",
|
|
116
116
|
"@atlassian/link-picker-plugins": "^24.0.0",
|
|
117
|
-
"@atlassian/search-provider": "2.4.
|
|
117
|
+
"@atlassian/search-provider": "2.4.36",
|
|
118
118
|
"@atlassian/ufo": "^0.2.0",
|
|
119
119
|
"@emotion/jest": "^11.8.0",
|
|
120
120
|
"@storybook/addon-knobs": "^5.3.18",
|
|
@@ -188,12 +188,17 @@
|
|
|
188
188
|
"referenceOnly": "true"
|
|
189
189
|
},
|
|
190
190
|
"platform.design-system-team.border-checkbox_nyoiu": {
|
|
191
|
-
"type": "boolean"
|
|
191
|
+
"type": "boolean",
|
|
192
|
+
"referenceOnly": "true"
|
|
192
193
|
},
|
|
193
194
|
"platform.design-system-team.editor-new-button_jjjdo": {
|
|
194
195
|
"type": "boolean",
|
|
195
196
|
"referenceOnly": "true"
|
|
196
197
|
},
|
|
198
|
+
"platform.design-system-team.update-border-radio-checkbox_7askv": {
|
|
199
|
+
"type": "boolean",
|
|
200
|
+
"referenceOnly": "true"
|
|
201
|
+
},
|
|
197
202
|
"platform.media-experience.cardv2_7zann": {
|
|
198
203
|
"type": "boolean",
|
|
199
204
|
"referenceOnly": "true"
|
|
@@ -226,6 +231,10 @@
|
|
|
226
231
|
"platform.editor.allow-list-in-blockquote": {
|
|
227
232
|
"type": "boolean"
|
|
228
233
|
},
|
|
234
|
+
"platform.linking-platform.datasource-word_wrap": {
|
|
235
|
+
"type": "boolean",
|
|
236
|
+
"referenceOnly": "true"
|
|
237
|
+
},
|
|
229
238
|
"platform.editor.media.fix-copy-paste-excel_62g4s": {
|
|
230
239
|
"type": "boolean",
|
|
231
240
|
"referenceOnly": "true"
|