@atlaskit/editor-core 193.5.5 → 193.5.6

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 193.5.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777) [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) - Bump adf-schema to 35.7.0
8
+ - [#83037](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83037) [`659c2a11c370`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/659c2a11c370) - [ux] Fix bodied macro copy/delete behavior
9
+
3
10
  ## 193.5.5
4
11
 
5
12
  ### Patch Changes
@@ -9,6 +9,8 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
9
9
  var _react = require("@emotion/react");
10
10
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
11
11
  var _colors = require("@atlaskit/theme/colors");
12
- var _templateObject;
12
+ var _templateObject, _templateObject2;
13
+ var extensionLabelStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n &.danger > span > div > .extension-label {\n background-color: ", ";\n color: ", ";\n opacity: 1;\n }\n\n &:not(.danger).", "\n > span\n > div\n > .extension-label {\n background-color: ", ";\n color: ", ";\n opacity: 1;\n }\n"])), "var(--ds-background-accent-red-subtler, ".concat(_colors.R200, ")"), "var(--ds-text-danger, ".concat(_colors.R400, ")"), _editorSharedStyles.akEditorSelectedNodeClassName, "var(--ds-background-selected, ".concat(_colors.B50, ")"), "var(--ds-text-selected, ".concat(_colors.B400, ")"));
14
+
13
15
  // 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
14
- 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\n &.danger > span > div > .extension-label {\n background-color: ", ";\n color: ", ";\n }\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 &.danger > span > div > .extension-label {\n background-color: ", ";\n color: ", ";\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 &.danger > span > div > .extension-label {\n background-color: ", ";\n 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, ")"), "var(--ds-background-accent-red-subtler, ".concat(_colors.R200, ")"), "var(--ds-text-danger, ".concat(_colors.R400, ")"), _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]), "var(--ds-background-accent-red-subtler, ".concat(_colors.R200, ")"), "var(--ds-text-danger, ".concat(_colors.R400, ")"), _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, ")"), "var(--ds-background-accent-red-subtler, ".concat(_colors.R200, ")"), "var(--ds-text-danger, ".concat(_colors.R400, ")"), _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.blockNodesVerticalMargin);
16
+ var extensionStyles = exports.extensionStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (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\n ", "\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 }\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 ", "\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, ")"), extensionLabelStyles, _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]), extensionLabelStyles, _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, ")"), extensionLabelStyles, _editorSharedStyles.blockNodesVerticalMargin, _editorSharedStyles.blockNodesVerticalMargin);
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "193.5.5";
8
+ var version = exports.version = "193.5.6";
@@ -1,6 +1,23 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
3
- import { R200, R400 } from '@atlaskit/theme/colors';
3
+ import { B400, B50, R200, R400 } from '@atlaskit/theme/colors';
4
+ const extensionLabelStyles = css`
5
+ &.danger > span > div > .extension-label {
6
+ background-color: ${`var(--ds-background-accent-red-subtler, ${R200})`};
7
+ color: ${`var(--ds-text-danger, ${R400})`};
8
+ opacity: 1;
9
+ }
10
+
11
+ &:not(.danger).${akEditorSelectedNodeClassName}
12
+ > span
13
+ > div
14
+ > .extension-label {
15
+ background-color: ${`var(--ds-background-selected, ${B50})`};
16
+ color: ${`var(--ds-text-selected, ${B400})`};
17
+ opacity: 1;
18
+ }
19
+ `;
20
+
4
21
  // 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
5
22
  export const extensionStyles = css`
6
23
  .multiBodiedExtensionView-content-wrap {
@@ -10,10 +27,7 @@ export const extensionStyles = css`
10
27
  background-color: ${`var(--ds-background-danger, ${akEditorDeleteBackground})`};
11
28
  }
12
29
 
13
- &.danger > span > div > .extension-label {
14
- background-color: ${`var(--ds-background-accent-red-subtler, ${R200})`};
15
- color: ${`var(--ds-text-danger, ${R400})`};
16
- }
30
+ ${extensionLabelStyles}
17
31
 
18
32
  &:not(.danger).${akEditorSelectedNodeClassName} {
19
33
  & > span > .multiBodiedExtension--container {
@@ -39,10 +53,7 @@ export const extensionStyles = css`
39
53
  }
40
54
  }
41
55
 
42
- &.danger > span > div > .extension-label {
43
- background-color: ${`var(--ds-background-accent-red-subtler, ${R200})`};
44
- color: ${`var(--ds-text-danger, ${R400})`};
45
- }
56
+ ${extensionLabelStyles}
46
57
  }
47
58
 
48
59
  .extensionView-content-wrap,
@@ -70,10 +81,7 @@ export const extensionStyles = css`
70
81
  background-color: ${`var(--ds-background-danger, ${akEditorDeleteBackground})`};
71
82
  }
72
83
 
73
- &.danger > span > div > .extension-label {
74
- background-color: ${`var(--ds-background-accent-red-subtler, ${R200})`};
75
- color: ${`var(--ds-text-danger, ${R400})`};
76
- }
84
+ ${extensionLabelStyles}
77
85
 
78
86
  &.inline {
79
87
  word-wrap: break-all;
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "193.5.5";
2
+ export const version = "193.5.6";
@@ -1,7 +1,9 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject;
2
+ var _templateObject, _templateObject2;
3
3
  import { css } from '@emotion/react';
4
4
  import { akEditorDeleteBackground, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
5
- import { R200, R400 } from '@atlaskit/theme/colors';
5
+ import { B400, B50, R200, R400 } from '@atlaskit/theme/colors';
6
+ var extensionLabelStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n &.danger > span > div > .extension-label {\n background-color: ", ";\n color: ", ";\n opacity: 1;\n }\n\n &:not(.danger).", "\n > span\n > div\n > .extension-label {\n background-color: ", ";\n color: ", ";\n opacity: 1;\n }\n"])), "var(--ds-background-accent-red-subtler, ".concat(R200, ")"), "var(--ds-text-danger, ".concat(R400, ")"), akEditorSelectedNodeClassName, "var(--ds-background-selected, ".concat(B50, ")"), "var(--ds-text-selected, ".concat(B400, ")"));
7
+
6
8
  // 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
7
- 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\n &.danger > span > div > .extension-label {\n background-color: ", ";\n color: ", ";\n }\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 &.danger > span > div > .extension-label {\n background-color: ", ";\n color: ", ";\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 &.danger > span > div > .extension-label {\n background-color: ", ";\n 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, ")"), "var(--ds-background-accent-red-subtler, ".concat(R200, ")"), "var(--ds-text-danger, ".concat(R400, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), "var(--ds-background-accent-red-subtler, ".concat(R200, ")"), "var(--ds-text-danger, ".concat(R400, ")"), blockNodesVerticalMargin, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), "var(--ds-background-accent-red-subtler, ".concat(R200, ")"), "var(--ds-text-danger, ".concat(R400, ")"), blockNodesVerticalMargin, blockNodesVerticalMargin);
9
+ export var extensionStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n .multiBodiedExtensionView-content-wrap {\n &.danger > span > .multiBodiedExtension--container {\n box-shadow: 0 0 0 ", "px\n ", ";\n background-color: ", ";\n }\n\n ", "\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 }\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 ", "\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, ")"), extensionLabelStyles, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow, SelectionStyle.Blanket]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), extensionLabelStyles, blockNodesVerticalMargin, akEditorSelectedNodeClassName, getSelectionStyles([SelectionStyle.BoxShadow]), akEditorSelectedBorderSize, "var(--ds-border-danger, ".concat(akEditorDeleteBorder, ")"), "var(--ds-background-danger, ".concat(akEditorDeleteBackground, ")"), extensionLabelStyles, blockNodesVerticalMargin, blockNodesVerticalMargin);
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "193.5.5";
2
+ export var version = "193.5.6";
@@ -600,6 +600,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
600
600
  actions: {
601
601
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
602
602
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
603
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
603
604
  };
604
605
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
605
606
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -718,6 +719,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
718
719
  actions: {
719
720
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
720
721
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
722
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
721
723
  };
722
724
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
723
725
  sharedState: {
@@ -1376,6 +1378,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1376
1378
  actions: {
1377
1379
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1378
1380
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1381
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1379
1382
  };
1380
1383
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
1381
1384
  pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
@@ -1784,6 +1787,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1784
1787
  actions: {
1785
1788
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1786
1789
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1790
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1787
1791
  };
1788
1792
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
1789
1793
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2460,6 +2464,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2460
2464
  actions: {
2461
2465
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2462
2466
  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;
2467
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2463
2468
  };
2464
2469
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
2465
2470
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2532,6 +2537,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2532
2537
  actions: {
2533
2538
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2534
2539
  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;
2540
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2535
2541
  };
2536
2542
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2537
2543
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
@@ -3161,6 +3167,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3161
3167
  actions: {
3162
3168
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3163
3169
  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;
3170
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3164
3171
  };
3165
3172
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
3166
3173
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -4065,6 +4072,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4065
4072
  actions: {
4066
4073
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4067
4074
  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;
4075
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4068
4076
  };
4069
4077
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
4070
4078
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -4183,6 +4191,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4183
4191
  actions: {
4184
4192
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4185
4193
  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;
4194
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4186
4195
  };
4187
4196
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
4188
4197
  sharedState: {
@@ -524,6 +524,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
524
524
  actions: {
525
525
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
526
526
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
527
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
527
528
  };
528
529
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
529
530
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -1428,6 +1429,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1428
1429
  actions: {
1429
1430
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1430
1431
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1432
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1431
1433
  };
1432
1434
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
1433
1435
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -1546,6 +1548,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1546
1548
  actions: {
1547
1549
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1548
1550
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1551
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1549
1552
  };
1550
1553
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
1551
1554
  sharedState: {
@@ -2049,6 +2052,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2049
2052
  actions: {
2050
2053
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2051
2054
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2055
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2052
2056
  };
2053
2057
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
2054
2058
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2953,6 +2957,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2953
2957
  actions: {
2954
2958
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2955
2959
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
2960
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2956
2961
  };
2957
2962
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
2958
2963
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -3071,6 +3076,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3071
3076
  actions: {
3072
3077
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3073
3078
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3079
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3074
3080
  };
3075
3081
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
3076
3082
  sharedState: {
@@ -617,6 +617,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
617
617
  actions: {
618
618
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
619
619
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
620
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
620
621
  };
621
622
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
622
623
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -735,6 +736,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
735
736
  actions: {
736
737
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
737
738
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
739
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
738
740
  };
739
741
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
740
742
  sharedState: {
@@ -1393,6 +1395,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1393
1395
  actions: {
1394
1396
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1395
1397
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1398
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1396
1399
  };
1397
1400
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
1398
1401
  pluginConfiguration: import("@atlaskit/editor-plugins/extension").ExtensionPluginOptions | undefined;
@@ -1801,6 +1804,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1801
1804
  actions: {
1802
1805
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1803
1806
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugins/annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugins/annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
1807
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1804
1808
  };
1805
1809
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
1806
1810
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2477,6 +2481,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2477
2481
  actions: {
2478
2482
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2479
2483
  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;
2484
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2480
2485
  };
2481
2486
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
2482
2487
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2549,6 +2554,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2549
2554
  actions: {
2550
2555
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2551
2556
  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;
2557
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2552
2558
  };
2553
2559
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
2554
2560
  pluginConfiguration: import("@atlaskit/editor-plugins/grid").GridPluginOptions | undefined;
@@ -3178,6 +3184,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3178
3184
  actions: {
3179
3185
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3180
3186
  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;
3187
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3181
3188
  };
3182
3189
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
3183
3190
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -4082,6 +4089,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4082
4089
  actions: {
4083
4090
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4084
4091
  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;
4092
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4085
4093
  };
4086
4094
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
4087
4095
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -4200,6 +4208,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4200
4208
  actions: {
4201
4209
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4202
4210
  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;
4211
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4203
4212
  };
4204
4213
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>];
4205
4214
  sharedState: {
@@ -603,6 +603,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
603
603
  actions: {
604
604
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
605
605
  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;
606
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
606
607
  };
607
608
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
608
609
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -721,6 +722,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
721
722
  actions: {
722
723
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
723
724
  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;
725
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
724
726
  };
725
727
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
726
728
  sharedState: {
@@ -1379,6 +1381,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1379
1381
  actions: {
1380
1382
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1381
1383
  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;
1384
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1382
1385
  };
1383
1386
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
1384
1387
  pluginConfiguration: import("@atlaskit/editor-plugin-extension").ExtensionPluginOptions | undefined;
@@ -1787,6 +1790,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1787
1790
  actions: {
1788
1791
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1789
1792
  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;
1793
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1790
1794
  };
1791
1795
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
1792
1796
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2463,6 +2467,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2463
2467
  actions: {
2464
2468
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2465
2469
  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;
2470
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2466
2471
  };
2467
2472
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
2468
2473
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -2535,6 +2540,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2535
2540
  actions: {
2536
2541
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2537
2542
  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;
2543
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2538
2544
  };
2539
2545
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>, import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"grid", {
2540
2546
  pluginConfiguration: import("@atlaskit/editor-plugin-grid").GridPluginOptions | undefined;
@@ -3164,6 +3170,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3164
3170
  actions: {
3165
3171
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3166
3172
  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;
3173
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3167
3174
  };
3168
3175
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
3169
3176
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -4068,6 +4075,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4068
4075
  actions: {
4069
4076
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4070
4077
  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;
4078
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4071
4079
  };
4072
4080
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
4073
4081
  sharedState: import("@atlaskit/editor-plugins/media/types").MediaPluginState | null;
@@ -4186,6 +4194,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
4186
4194
  actions: {
4187
4195
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
4188
4196
  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;
4197
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
4189
4198
  };
4190
4199
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>];
4191
4200
  sharedState: {
@@ -813,6 +813,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
813
813
  actions: {
814
814
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
815
815
  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;
816
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
816
817
  };
817
818
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
818
819
  ];
@@ -956,6 +957,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
956
957
  actions: {
957
958
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
958
959
  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;
960
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
959
961
  };
960
962
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
961
963
  ];
@@ -1757,6 +1759,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1757
1759
  actions: {
1758
1760
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1759
1761
  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;
1762
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1760
1763
  };
1761
1764
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
1762
1765
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
@@ -2255,6 +2258,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2255
2258
  actions: {
2256
2259
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2257
2260
  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;
2261
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2258
2262
  };
2259
2263
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
2260
2264
  ];
@@ -3069,6 +3073,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3069
3073
  actions: {
3070
3074
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3071
3075
  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;
3076
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3072
3077
  };
3073
3078
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3074
3079
  ];
@@ -3156,6 +3161,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3156
3161
  actions: {
3157
3162
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3158
3163
  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;
3164
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3159
3165
  };
3160
3166
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
3161
3167
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
@@ -3934,6 +3940,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3934
3940
  actions: {
3935
3941
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3936
3942
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3943
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3937
3944
  };
3938
3945
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3939
3946
  ];
@@ -5030,6 +5037,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
5030
5037
  actions: {
5031
5038
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5032
5039
  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;
5040
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5033
5041
  };
5034
5042
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
5035
5043
  ];
@@ -5173,6 +5181,7 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
5173
5181
  actions: {
5174
5182
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5175
5183
  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;
5184
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5176
5185
  };
5177
5186
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
5178
5187
  ];
@@ -661,6 +661,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
661
661
  actions: {
662
662
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
663
663
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
664
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
664
665
  };
665
666
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
666
667
  ];
@@ -1757,6 +1758,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1757
1758
  actions: {
1758
1759
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1759
1760
  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;
1761
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1760
1762
  };
1761
1763
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
1762
1764
  ];
@@ -1900,6 +1902,7 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1900
1902
  actions: {
1901
1903
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1902
1904
  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;
1905
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1903
1906
  };
1904
1907
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
1905
1908
  ];
@@ -2547,6 +2550,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2547
2550
  actions: {
2548
2551
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2549
2552
  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;
2553
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2550
2554
  };
2551
2555
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
2552
2556
  ];
@@ -3643,6 +3647,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3643
3647
  actions: {
3644
3648
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3645
3649
  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;
3650
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3646
3651
  };
3647
3652
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3648
3653
  ];
@@ -3786,6 +3791,7 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3786
3791
  actions: {
3787
3792
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3788
3793
  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;
3794
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3789
3795
  };
3790
3796
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3791
3797
  ];
@@ -830,6 +830,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
830
830
  actions: {
831
831
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
832
832
  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;
833
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
833
834
  };
834
835
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
835
836
  ];
@@ -973,6 +974,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
973
974
  actions: {
974
975
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
975
976
  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;
977
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
976
978
  };
977
979
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
978
980
  ];
@@ -1774,6 +1776,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1774
1776
  actions: {
1775
1777
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1776
1778
  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;
1779
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1777
1780
  };
1778
1781
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
1779
1782
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"extension", {
@@ -2272,6 +2275,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2272
2275
  actions: {
2273
2276
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2274
2277
  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;
2278
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2275
2279
  };
2276
2280
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
2277
2281
  ];
@@ -3086,6 +3090,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3086
3090
  actions: {
3087
3091
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3088
3092
  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;
3093
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3089
3094
  };
3090
3095
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
3091
3096
  ];
@@ -3173,6 +3178,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3173
3178
  actions: {
3174
3179
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3175
3180
  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;
3181
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3176
3182
  };
3177
3183
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>,
3178
3184
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"grid", {
@@ -3951,6 +3957,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3951
3957
  actions: {
3952
3958
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3953
3959
  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;
3960
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3954
3961
  };
3955
3962
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
3956
3963
  ];
@@ -5047,6 +5054,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
5047
5054
  actions: {
5048
5055
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5049
5056
  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;
5057
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5050
5058
  };
5051
5059
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
5052
5060
  ];
@@ -5190,6 +5198,7 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
5190
5198
  actions: {
5191
5199
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5192
5200
  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;
5201
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5193
5202
  };
5194
5203
  }, import("@atlaskit/editor-plugins/annotation").AnnotationProviders | undefined>>
5195
5204
  ];
@@ -816,6 +816,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
816
816
  actions: {
817
817
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
818
818
  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;
819
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
819
820
  };
820
821
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
821
822
  ];
@@ -959,6 +960,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
959
960
  actions: {
960
961
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
961
962
  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;
963
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
962
964
  };
963
965
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
964
966
  ];
@@ -1760,6 +1762,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1760
1762
  actions: {
1761
1763
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
1762
1764
  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;
1765
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
1763
1766
  };
1764
1767
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
1765
1768
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"extension", {
@@ -2258,6 +2261,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
2258
2261
  actions: {
2259
2262
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
2260
2263
  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;
2264
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
2261
2265
  };
2262
2266
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
2263
2267
  ];
@@ -3072,6 +3076,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3072
3076
  actions: {
3073
3077
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3074
3078
  setInlineCommentDraftState: (drafting: boolean, inputMethod: import("@atlaskit/editor-plugin-annotation").InlineCommentInputMethod, targetType?: import("@atlaskit/editor-plugin-annotation").TargetType | undefined, isCommentOnMediaOn?: boolean | undefined) => import("@atlaskit/editor-common/types").Command;
3079
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3075
3080
  };
3076
3081
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3077
3082
  ];
@@ -3159,6 +3164,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3159
3164
  actions: {
3160
3165
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3161
3166
  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;
3167
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3162
3168
  };
3163
3169
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>,
3164
3170
  import("@atlaskit/editor-common/types").MaybePlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"grid", {
@@ -3937,6 +3943,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
3937
3943
  actions: {
3938
3944
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
3939
3945
  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;
3946
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
3940
3947
  };
3941
3948
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
3942
3949
  ];
@@ -5033,6 +5040,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
5033
5040
  actions: {
5034
5041
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5035
5042
  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;
5043
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5036
5044
  };
5037
5045
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
5038
5046
  ];
@@ -5176,6 +5184,7 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
5176
5184
  actions: {
5177
5185
  stripNonExistingAnnotations: (slice: import("prosemirror-model").Slice, state: import("prosemirror-state").EditorState) => boolean | undefined;
5178
5186
  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;
5187
+ showCommentForBlockNode: (node: import("prosemirror-model").Node | null) => import("@atlaskit/editor-common/types").Command | undefined;
5179
5188
  };
5180
5189
  }, import("@atlaskit/editor-plugin-annotation").AnnotationProviders | undefined>>
5181
5190
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "193.5.5",
3
+ "version": "193.5.6",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@atlaskit/activity-provider": "^2.4.0",
43
- "@atlaskit/adf-schema": "^35.6.0",
43
+ "@atlaskit/adf-schema": "^35.7.0",
44
44
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
45
45
  "@atlaskit/analytics-next": "^9.2.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
@@ -87,9 +87,9 @@
87
87
  "@atlaskit/adf-utils": "^19.0.0",
88
88
  "@atlaskit/analytics-listeners": "^8.9.1",
89
89
  "@atlaskit/checkbox": "^13.1.0",
90
- "@atlaskit/collab-provider": "9.25.12",
90
+ "@atlaskit/collab-provider": "9.25.13",
91
91
  "@atlaskit/dropdown-menu": "^12.8.0",
92
- "@atlaskit/editor-plugin-annotation": "1.4.1",
92
+ "@atlaskit/editor-plugin-annotation": "1.5.0",
93
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",
@@ -97,7 +97,7 @@
97
97
  "@atlaskit/editor-test-helpers": "*",
98
98
  "@atlaskit/flag": "^15.2.0",
99
99
  "@atlaskit/link-provider": "^1.9.0",
100
- "@atlaskit/link-test-helpers": "^6.2.0",
100
+ "@atlaskit/link-test-helpers": "^7.0.0",
101
101
  "@atlaskit/logo": "^13.15.0",
102
102
  "@atlaskit/media-core": "^34.2.0",
103
103
  "@atlaskit/media-integration-test-helpers": "^3.0.0",