@atlaskit/editor-core 193.24.20 → 193.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 193.25.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#108459](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108459)
8
+ [`dff16b735e876`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dff16b735e876) -
9
+ [ED-23613] Avoid blending background color when inline comments overlap with highlights
10
+ - [#108623](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108623)
11
+ [`c01339668ebde`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c01339668ebde) -
12
+ [ux] ED-23617 Add support in editor for comments on status, emoji, date and mention nodes
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 193.24.20
4
19
 
5
20
  ### Patch Changes
@@ -70,7 +70,7 @@ var placeholderStyles = exports.placeholderStyles = (0, _react2.css)({
70
70
  var contentStyles = function contentStyles(props) {
71
71
  return (0, _react2.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\tpointer-events: none;\n\t\topacity: 0.7;\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), (0, _editorSharedStyles.editorFontSize)({
72
72
  theme: props.theme
73
- }), _styles.whitespaceSharedStyles, _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(props.colorMode), listsStyles, ruleStyles(), _media.mediaStyles, (0, _layout.layoutStyles)(props.viewMode), _collab.telepointerStyle, _selection.gapCursorStyles, (0, _commonStyles.tableStyles)(props), (0, _panel.panelStyles)(), mentionsStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _status.statusStyles, (0, _styles.annotationSharedStyles)(), _styles.smartCardStyles, _styles.smartCardSharedStyles, _date.dateStyles, _styles.embedCardStyles, _styles.unsupportedStyles, _styles.resizerStyles, (0, _aiPanels.aiPanelStyles)(props.colorMode), _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
73
+ }), _styles.whitespaceSharedStyles, _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, _styles.backgroundColorStyles, listsStyles, ruleStyles(), _media.mediaStyles, (0, _layout.layoutStyles)(props.viewMode), _collab.telepointerStyle, _selection.gapCursorStyles, (0, _commonStyles.tableStyles)(props), (0, _panel.panelStyles)(), mentionsStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _status.statusStyles, (0, _styles.annotationSharedStyles)(), _styles.smartCardStyles, _styles.smartCardSharedStyles, _date.dateStyles, _styles.embedCardStyles, _styles.unsupportedStyles, _styles.resizerStyles, (0, _aiPanels.aiPanelStyles)(props.colorMode), _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
74
74
  };
75
75
  var createEditorContentStyle = exports.createEditorContentStyle = function createEditorContentStyle(styles) {
76
76
  return /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
@@ -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.24.20";
8
+ var version = exports.version = "193.25.0";
@@ -183,7 +183,7 @@ const contentStyles = props => css`
183
183
  ${blocktypeStyles()}
184
184
  ${codeMarkSharedStyles()}
185
185
  ${textColorStyles}
186
- ${backgroundColorStyles(props.colorMode)}
186
+ ${backgroundColorStyles}
187
187
  ${listsStyles}
188
188
  ${ruleStyles()}
189
189
  ${mediaStyles}
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "193.24.20";
2
+ export const version = "193.25.0";
@@ -61,7 +61,7 @@ export var placeholderStyles = css({
61
61
  var contentStyles = function contentStyles(props) {
62
62
  return css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\tpointer-events: none;\n\t\topacity: 0.7;\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), editorFontSize({
63
63
  theme: props.theme
64
- }), whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", placeholderTextStyles, placeholderStyles, codeBlockStyles(), blocktypeStyles(), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(props.colorMode), listsStyles, ruleStyles(), mediaStyles, layoutStyles(props.viewMode), telepointerStyle, gapCursorStyles, tableStyles(props), panelStyles(), mentionsStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), findReplaceStyles, textHighlightStyle, taskDecisionStyles, statusStyles, annotationSharedStyles(), smartCardStyles, smartCardSharedStyles, dateStyles, embedCardStyles, unsupportedStyles, resizerStyles, aiPanelStyles(props.colorMode), MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
64
+ }), whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", placeholderTextStyles, placeholderStyles, codeBlockStyles(), blocktypeStyles(), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles, listsStyles, ruleStyles(), mediaStyles, layoutStyles(props.viewMode), telepointerStyle, gapCursorStyles, tableStyles(props), panelStyles(), mentionsStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), findReplaceStyles, textHighlightStyle, taskDecisionStyles, statusStyles, annotationSharedStyles(), smartCardStyles, smartCardSharedStyles, dateStyles, embedCardStyles, unsupportedStyles, resizerStyles, aiPanelStyles(props.colorMode), MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
65
65
  };
66
66
  export var createEditorContentStyle = function createEditorContentStyle(styles) {
67
67
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "193.24.20";
2
+ export var version = "193.25.0";
@@ -266,12 +266,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
266
266
  isMenuOpen: boolean;
267
267
  activeNode: {
268
268
  pos: number;
269
+ anchorName: string;
269
270
  } | null;
270
271
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
271
272
  isDragging: boolean;
272
273
  } | undefined;
273
274
  commands: {
274
275
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
276
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
277
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
275
278
  };
276
279
  }, undefined>>];
277
280
  actions: {
@@ -519,12 +522,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
519
522
  isMenuOpen: boolean;
520
523
  activeNode: {
521
524
  pos: number;
525
+ anchorName: string;
522
526
  } | null;
523
527
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
524
528
  isDragging: boolean;
525
529
  } | undefined;
526
530
  commands: {
527
531
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
532
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
533
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
528
534
  };
529
535
  }, undefined>>];
530
536
  actions: {
@@ -1242,12 +1248,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1242
1248
  isMenuOpen: boolean;
1243
1249
  activeNode: {
1244
1250
  pos: number;
1251
+ anchorName: string;
1245
1252
  } | null;
1246
1253
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1247
1254
  isDragging: boolean;
1248
1255
  } | undefined;
1249
1256
  commands: {
1250
1257
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1258
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1259
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1251
1260
  };
1252
1261
  }, undefined>>];
1253
1262
  actions: {
@@ -1767,12 +1776,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1767
1776
  isMenuOpen: boolean;
1768
1777
  activeNode: {
1769
1778
  pos: number;
1779
+ anchorName: string;
1770
1780
  } | null;
1771
1781
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1772
1782
  isDragging: boolean;
1773
1783
  } | undefined;
1774
1784
  commands: {
1775
1785
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1786
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1787
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1776
1788
  };
1777
1789
  }, undefined>>];
1778
1790
  actions: {
@@ -2517,12 +2529,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
2517
2529
  isMenuOpen: boolean;
2518
2530
  activeNode: {
2519
2531
  pos: number;
2532
+ anchorName: string;
2520
2533
  } | null;
2521
2534
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
2522
2535
  isDragging: boolean;
2523
2536
  } | undefined;
2524
2537
  commands: {
2525
2538
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2539
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2540
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2526
2541
  };
2527
2542
  }, undefined>>];
2528
2543
  actions: {
@@ -3118,12 +3133,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3118
3133
  isMenuOpen: boolean;
3119
3134
  activeNode: {
3120
3135
  pos: number;
3136
+ anchorName: string;
3121
3137
  } | null;
3122
3138
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3123
3139
  isDragging: boolean;
3124
3140
  } | undefined;
3125
3141
  commands: {
3126
3142
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3143
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3144
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3127
3145
  };
3128
3146
  }, undefined>>];
3129
3147
  actions: {
@@ -3375,12 +3393,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3375
3393
  isMenuOpen: boolean;
3376
3394
  activeNode: {
3377
3395
  pos: number;
3396
+ anchorName: string;
3378
3397
  } | null;
3379
3398
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3380
3399
  isDragging: boolean;
3381
3400
  } | undefined;
3382
3401
  commands: {
3383
3402
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3403
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3404
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3384
3405
  };
3385
3406
  }, undefined>>];
3386
3407
  actions: {
@@ -3846,12 +3867,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
3846
3867
  isMenuOpen: boolean;
3847
3868
  activeNode: {
3848
3869
  pos: number;
3870
+ anchorName: string;
3849
3871
  } | null;
3850
3872
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3851
3873
  isDragging: boolean;
3852
3874
  } | undefined;
3853
3875
  commands: {
3854
3876
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3877
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3878
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3855
3879
  };
3856
3880
  }, undefined>>];
3857
3881
  actions: {
@@ -4343,12 +4367,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4343
4367
  isMenuOpen: boolean;
4344
4368
  activeNode: {
4345
4369
  pos: number;
4370
+ anchorName: string;
4346
4371
  } | null;
4347
4372
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4348
4373
  isDragging: boolean;
4349
4374
  } | undefined;
4350
4375
  commands: {
4351
4376
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4377
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4378
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4352
4379
  };
4353
4380
  }, undefined>>];
4354
4381
  actions: {
@@ -4596,12 +4623,15 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
4596
4623
  isMenuOpen: boolean;
4597
4624
  activeNode: {
4598
4625
  pos: number;
4626
+ anchorName: string;
4599
4627
  } | null;
4600
4628
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4601
4629
  isDragging: boolean;
4602
4630
  } | undefined;
4603
4631
  commands: {
4604
4632
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4633
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4634
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4605
4635
  };
4606
4636
  }, undefined>>];
4607
4637
  actions: {
@@ -208,12 +208,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
208
208
  isMenuOpen: boolean;
209
209
  activeNode: {
210
210
  pos: number;
211
+ anchorName: string;
211
212
  } | null;
212
213
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
213
214
  isDragging: boolean;
214
215
  } | undefined;
215
216
  commands: {
216
217
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
218
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
219
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
217
220
  };
218
221
  }, undefined>>];
219
222
  actions: {
@@ -465,12 +468,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
465
468
  isMenuOpen: boolean;
466
469
  activeNode: {
467
470
  pos: number;
471
+ anchorName: string;
468
472
  } | null;
469
473
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
470
474
  isDragging: boolean;
471
475
  } | undefined;
472
476
  commands: {
473
477
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
478
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
479
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
474
480
  };
475
481
  }, undefined>>];
476
482
  actions: {
@@ -936,12 +942,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
936
942
  isMenuOpen: boolean;
937
943
  activeNode: {
938
944
  pos: number;
945
+ anchorName: string;
939
946
  } | null;
940
947
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
941
948
  isDragging: boolean;
942
949
  } | undefined;
943
950
  commands: {
944
951
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
952
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
953
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
945
954
  };
946
955
  }, undefined>>];
947
956
  actions: {
@@ -1433,12 +1442,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1433
1442
  isMenuOpen: boolean;
1434
1443
  activeNode: {
1435
1444
  pos: number;
1445
+ anchorName: string;
1436
1446
  } | null;
1437
1447
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1438
1448
  isDragging: boolean;
1439
1449
  } | undefined;
1440
1450
  commands: {
1441
1451
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1452
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1453
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1442
1454
  };
1443
1455
  }, undefined>>];
1444
1456
  actions: {
@@ -1686,12 +1698,15 @@ export declare function createDefaultPreset(options: DefaultPresetPluginOptions)
1686
1698
  isMenuOpen: boolean;
1687
1699
  activeNode: {
1688
1700
  pos: number;
1701
+ anchorName: string;
1689
1702
  } | null;
1690
1703
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1691
1704
  isDragging: boolean;
1692
1705
  } | undefined;
1693
1706
  commands: {
1694
1707
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1708
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1709
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1695
1710
  };
1696
1711
  }, undefined>>];
1697
1712
  actions: {
@@ -2089,12 +2104,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2089
2104
  isMenuOpen: boolean;
2090
2105
  activeNode: {
2091
2106
  pos: number;
2107
+ anchorName: string;
2092
2108
  } | null;
2093
2109
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
2094
2110
  isDragging: boolean;
2095
2111
  } | undefined;
2096
2112
  commands: {
2097
2113
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2114
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2115
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2098
2116
  };
2099
2117
  }, undefined>>];
2100
2118
  actions: {
@@ -2346,12 +2364,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2346
2364
  isMenuOpen: boolean;
2347
2365
  activeNode: {
2348
2366
  pos: number;
2367
+ anchorName: string;
2349
2368
  } | null;
2350
2369
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
2351
2370
  isDragging: boolean;
2352
2371
  } | undefined;
2353
2372
  commands: {
2354
2373
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2374
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2375
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2355
2376
  };
2356
2377
  }, undefined>>];
2357
2378
  actions: {
@@ -2817,12 +2838,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
2817
2838
  isMenuOpen: boolean;
2818
2839
  activeNode: {
2819
2840
  pos: number;
2841
+ anchorName: string;
2820
2842
  } | null;
2821
2843
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
2822
2844
  isDragging: boolean;
2823
2845
  } | undefined;
2824
2846
  commands: {
2825
2847
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2848
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2849
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2826
2850
  };
2827
2851
  }, undefined>>];
2828
2852
  actions: {
@@ -3314,12 +3338,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3314
3338
  isMenuOpen: boolean;
3315
3339
  activeNode: {
3316
3340
  pos: number;
3341
+ anchorName: string;
3317
3342
  } | null;
3318
3343
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3319
3344
  isDragging: boolean;
3320
3345
  } | undefined;
3321
3346
  commands: {
3322
3347
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3348
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3349
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3323
3350
  };
3324
3351
  }, undefined>>];
3325
3352
  actions: {
@@ -3567,12 +3594,15 @@ export declare function useDefaultPreset(props: DefaultPresetPluginOptions): Edi
3567
3594
  isMenuOpen: boolean;
3568
3595
  activeNode: {
3569
3596
  pos: number;
3597
+ anchorName: string;
3570
3598
  } | null;
3571
3599
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3572
3600
  isDragging: boolean;
3573
3601
  } | undefined;
3574
3602
  commands: {
3575
3603
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3604
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3605
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3576
3606
  };
3577
3607
  }, undefined>>];
3578
3608
  actions: {
@@ -283,12 +283,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
283
283
  isMenuOpen: boolean;
284
284
  activeNode: {
285
285
  pos: number;
286
+ anchorName: string;
286
287
  } | null;
287
288
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
288
289
  isDragging: boolean;
289
290
  } | undefined;
290
291
  commands: {
291
292
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
293
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
294
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
292
295
  };
293
296
  }, undefined>>];
294
297
  actions: {
@@ -536,12 +539,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
536
539
  isMenuOpen: boolean;
537
540
  activeNode: {
538
541
  pos: number;
542
+ anchorName: string;
539
543
  } | null;
540
544
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
541
545
  isDragging: boolean;
542
546
  } | undefined;
543
547
  commands: {
544
548
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
549
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
550
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
545
551
  };
546
552
  }, undefined>>];
547
553
  actions: {
@@ -1259,12 +1265,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1259
1265
  isMenuOpen: boolean;
1260
1266
  activeNode: {
1261
1267
  pos: number;
1268
+ anchorName: string;
1262
1269
  } | null;
1263
1270
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1264
1271
  isDragging: boolean;
1265
1272
  } | undefined;
1266
1273
  commands: {
1267
1274
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1275
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1276
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1268
1277
  };
1269
1278
  }, undefined>>];
1270
1279
  actions: {
@@ -1784,12 +1793,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1784
1793
  isMenuOpen: boolean;
1785
1794
  activeNode: {
1786
1795
  pos: number;
1796
+ anchorName: string;
1787
1797
  } | null;
1788
1798
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
1789
1799
  isDragging: boolean;
1790
1800
  } | undefined;
1791
1801
  commands: {
1792
1802
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
1803
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1804
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
1793
1805
  };
1794
1806
  }, undefined>>];
1795
1807
  actions: {
@@ -2534,12 +2546,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
2534
2546
  isMenuOpen: boolean;
2535
2547
  activeNode: {
2536
2548
  pos: number;
2549
+ anchorName: string;
2537
2550
  } | null;
2538
2551
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
2539
2552
  isDragging: boolean;
2540
2553
  } | undefined;
2541
2554
  commands: {
2542
2555
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
2556
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2557
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
2543
2558
  };
2544
2559
  }, undefined>>];
2545
2560
  actions: {
@@ -3135,12 +3150,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3135
3150
  isMenuOpen: boolean;
3136
3151
  activeNode: {
3137
3152
  pos: number;
3153
+ anchorName: string;
3138
3154
  } | null;
3139
3155
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3140
3156
  isDragging: boolean;
3141
3157
  } | undefined;
3142
3158
  commands: {
3143
3159
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3160
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3161
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3144
3162
  };
3145
3163
  }, undefined>>];
3146
3164
  actions: {
@@ -3392,12 +3410,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3392
3410
  isMenuOpen: boolean;
3393
3411
  activeNode: {
3394
3412
  pos: number;
3413
+ anchorName: string;
3395
3414
  } | null;
3396
3415
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3397
3416
  isDragging: boolean;
3398
3417
  } | undefined;
3399
3418
  commands: {
3400
3419
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3420
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3421
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3401
3422
  };
3402
3423
  }, undefined>>];
3403
3424
  actions: {
@@ -3863,12 +3884,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
3863
3884
  isMenuOpen: boolean;
3864
3885
  activeNode: {
3865
3886
  pos: number;
3887
+ anchorName: string;
3866
3888
  } | null;
3867
3889
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
3868
3890
  isDragging: boolean;
3869
3891
  } | undefined;
3870
3892
  commands: {
3871
3893
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
3894
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3895
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
3872
3896
  };
3873
3897
  }, undefined>>];
3874
3898
  actions: {
@@ -4360,12 +4384,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4360
4384
  isMenuOpen: boolean;
4361
4385
  activeNode: {
4362
4386
  pos: number;
4387
+ anchorName: string;
4363
4388
  } | null;
4364
4389
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4365
4390
  isDragging: boolean;
4366
4391
  } | undefined;
4367
4392
  commands: {
4368
4393
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4394
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4395
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4369
4396
  };
4370
4397
  }, undefined>>];
4371
4398
  actions: {
@@ -4613,12 +4640,15 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
4613
4640
  isMenuOpen: boolean;
4614
4641
  activeNode: {
4615
4642
  pos: number;
4643
+ anchorName: string;
4616
4644
  } | null;
4617
4645
  decorationState: import("@atlaskit/editor-plugin-block-controls").DecorationState;
4618
4646
  isDragging: boolean;
4619
4647
  } | undefined;
4620
4648
  commands: {
4621
4649
  moveNode: (start: number, to: number) => import("@atlaskit/editor-common/types").EditorCommand;
4650
+ showDragHandleAt: (pos: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4651
+ setNodeDragged: (posNumber: number, anchorName: string, nodeType: string) => import("@atlaskit/editor-common/types").EditorCommand;
4622
4652
  };
4623
4653
  }, undefined>>];
4624
4654
  actions: {