@atlaskit/editor-core 187.9.2 → 187.10.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.
Files changed (128) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/commands/index.js +8 -134
  3. package/dist/cjs/plugins/base/index.js +2 -2
  4. package/dist/cjs/plugins/block-type/commands/block-type.js +34 -36
  5. package/dist/cjs/plugins/block-type/commands/transform-to-code-block.js +1 -2
  6. package/dist/cjs/plugins/block-type/index.js +16 -13
  7. package/dist/cjs/plugins/block-type/pm-plugins/input-rule.js +19 -18
  8. package/dist/cjs/plugins/block-type/pm-plugins/keymap.js +12 -14
  9. package/dist/cjs/plugins/block-type/pm-plugins/main.js +9 -9
  10. package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +7 -7
  11. package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/index.js +3 -4
  12. package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/styled.js +13 -5
  13. package/dist/cjs/plugins/block-type/utils.js +73 -2
  14. package/dist/cjs/plugins/caption/pm-plugins/keymap.js +2 -2
  15. package/dist/cjs/plugins/media/utils/media-common.js +5 -5
  16. package/dist/cjs/plugins/undo-redo/pm-plugins/keymaps.js +2 -2
  17. package/dist/cjs/ui/styles.js +4 -11
  18. package/dist/cjs/utils/index.js +4 -80
  19. package/dist/cjs/utils/input-rules.js +6 -66
  20. package/dist/cjs/utils/mark.js +2 -38
  21. package/dist/cjs/version-wrapper.js +1 -1
  22. package/dist/cjs/version.json +1 -1
  23. package/dist/es2019/commands/index.js +1 -128
  24. package/dist/es2019/plugins/base/index.js +1 -1
  25. package/dist/es2019/plugins/block-type/commands/block-type.js +11 -13
  26. package/dist/es2019/plugins/block-type/commands/transform-to-code-block.js +1 -2
  27. package/dist/es2019/plugins/block-type/index.js +21 -12
  28. package/dist/es2019/plugins/block-type/pm-plugins/input-rule.js +18 -18
  29. package/dist/es2019/plugins/block-type/pm-plugins/keymap.js +8 -9
  30. package/dist/es2019/plugins/block-type/pm-plugins/main.js +9 -9
  31. package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +2 -2
  32. package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/index.js +2 -3
  33. package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/styled.js +21 -2
  34. package/dist/es2019/plugins/block-type/utils.js +70 -1
  35. package/dist/es2019/plugins/caption/pm-plugins/keymap.js +1 -1
  36. package/dist/es2019/plugins/media/utils/media-common.js +1 -1
  37. package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/keymaps.js +1 -1
  38. package/dist/es2019/plugins/undo-redo/pm-plugins/keymaps.js +1 -1
  39. package/dist/es2019/ui/styles.js +0 -16
  40. package/dist/es2019/utils/index.js +0 -80
  41. package/dist/es2019/utils/input-rules.js +4 -61
  42. package/dist/es2019/utils/mark.js +0 -33
  43. package/dist/es2019/version-wrapper.js +1 -1
  44. package/dist/es2019/version.json +1 -1
  45. package/dist/esm/commands/index.js +7 -125
  46. package/dist/esm/plugins/base/index.js +1 -1
  47. package/dist/esm/plugins/block-type/commands/block-type.js +11 -13
  48. package/dist/esm/plugins/block-type/commands/transform-to-code-block.js +1 -2
  49. package/dist/esm/plugins/block-type/index.js +15 -12
  50. package/dist/esm/plugins/block-type/pm-plugins/input-rule.js +18 -18
  51. package/dist/esm/plugins/block-type/pm-plugins/keymap.js +8 -9
  52. package/dist/esm/plugins/block-type/pm-plugins/main.js +9 -9
  53. package/dist/esm/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +2 -2
  54. package/dist/esm/plugins/block-type/ui/ToolbarBlockType/index.js +2 -3
  55. package/dist/esm/plugins/block-type/ui/ToolbarBlockType/styled.js +8 -4
  56. package/dist/esm/plugins/block-type/utils.js +69 -1
  57. package/dist/esm/plugins/caption/pm-plugins/keymap.js +1 -1
  58. package/dist/esm/plugins/media/utils/media-common.js +1 -1
  59. package/dist/esm/plugins/tasks-and-decisions/pm-plugins/keymaps.js +1 -1
  60. package/dist/esm/plugins/undo-redo/pm-plugins/keymaps.js +1 -1
  61. package/dist/esm/ui/styles.js +3 -6
  62. package/dist/esm/utils/index.js +3 -77
  63. package/dist/esm/utils/input-rules.js +4 -61
  64. package/dist/esm/utils/mark.js +0 -35
  65. package/dist/esm/version-wrapper.js +1 -1
  66. package/dist/esm/version.json +1 -1
  67. package/dist/types/commands/index.d.ts +0 -6
  68. package/dist/types/plugins/block-type/commands/block-type.d.ts +5 -6
  69. package/dist/types/plugins/block-type/commands/delete-and-move-cursor.d.ts +1 -1
  70. package/dist/types/plugins/block-type/commands/delete-block-content.d.ts +1 -1
  71. package/dist/types/plugins/block-type/index.d.ts +1 -1
  72. package/dist/types/plugins/block-type/pm-plugins/input-rule.d.ts +3 -2
  73. package/dist/types/plugins/block-type/pm-plugins/keymap.d.ts +2 -2
  74. package/dist/types/plugins/block-type/pm-plugins/main.d.ts +2 -1
  75. package/dist/types/plugins/block-type/styles.d.ts +1 -1
  76. package/dist/types/plugins/block-type/types.d.ts +2 -3
  77. package/dist/types/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +1 -2
  78. package/dist/types/plugins/block-type/ui/ToolbarBlockType/index.d.ts +2 -2
  79. package/dist/types/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +5 -1
  80. package/dist/types/plugins/block-type/utils.d.ts +15 -1
  81. package/dist/types/plugins/undo-redo/pm-plugins/keymaps.d.ts +1 -1
  82. package/dist/types/types/index.d.ts +1 -1
  83. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
  84. package/dist/types/ui/ContentStyles/index.d.ts +2 -2
  85. package/dist/types/ui/styles.d.ts +0 -3
  86. package/dist/types/utils/index.d.ts +0 -6
  87. package/dist/types/utils/input-rules.d.ts +4 -16
  88. package/dist/types/utils/mark.d.ts +0 -1
  89. package/dist/types-ts4.5/commands/index.d.ts +0 -6
  90. package/dist/types-ts4.5/plugins/block-type/commands/block-type.d.ts +5 -6
  91. package/dist/types-ts4.5/plugins/block-type/commands/delete-and-move-cursor.d.ts +1 -1
  92. package/dist/types-ts4.5/plugins/block-type/commands/delete-block-content.d.ts +1 -1
  93. package/dist/types-ts4.5/plugins/block-type/index.d.ts +1 -1
  94. package/dist/types-ts4.5/plugins/block-type/pm-plugins/input-rule.d.ts +3 -2
  95. package/dist/types-ts4.5/plugins/block-type/pm-plugins/keymap.d.ts +2 -2
  96. package/dist/types-ts4.5/plugins/block-type/pm-plugins/main.d.ts +2 -1
  97. package/dist/types-ts4.5/plugins/block-type/styles.d.ts +1 -1
  98. package/dist/types-ts4.5/plugins/block-type/types.d.ts +2 -3
  99. package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +1 -2
  100. package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/index.d.ts +2 -2
  101. package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +5 -1
  102. package/dist/types-ts4.5/plugins/block-type/utils.d.ts +15 -1
  103. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/keymaps.d.ts +1 -1
  104. package/dist/types-ts4.5/types/index.d.ts +1 -1
  105. package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
  106. package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
  107. package/dist/types-ts4.5/ui/styles.d.ts +0 -3
  108. package/dist/types-ts4.5/utils/index.d.ts +0 -6
  109. package/dist/types-ts4.5/utils/input-rules.d.ts +4 -16
  110. package/dist/types-ts4.5/utils/mark.d.ts +0 -1
  111. package/package.json +4 -4
  112. package/report.api.md +6 -16
  113. package/tmp/api-report-tmp.d.ts +5 -16
  114. package/dist/cjs/types/allowed-block-types.js +0 -5
  115. package/dist/cjs/utils/keymap.js +0 -38
  116. package/dist/es2019/types/allowed-block-types.js +0 -1
  117. package/dist/es2019/utils/keymap.js +0 -33
  118. package/dist/esm/types/allowed-block-types.js +0 -1
  119. package/dist/esm/utils/keymap.js +0 -33
  120. package/dist/types/types/allowed-block-types.d.ts +0 -1
  121. package/dist/types/utils/keymap.d.ts +0 -11
  122. package/dist/types-ts4.5/types/allowed-block-types.d.ts +0 -1
  123. package/dist/types-ts4.5/utils/keymap.d.ts +0 -11
  124. /package/dist/cjs/{keymaps → plugins/block-type}/consts.js +0 -0
  125. /package/dist/es2019/{keymaps → plugins/block-type}/consts.js +0 -0
  126. /package/dist/esm/{keymaps → plugins/block-type}/consts.js +0 -0
  127. /package/dist/types/{keymaps → plugins/block-type}/consts.d.ts +0 -0
  128. /package/dist/types-ts4.5/{keymaps → plugins/block-type}/consts.d.ts +0 -0
@@ -3,7 +3,7 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
3
3
  export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
4
4
  theme?: any;
5
5
  featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
6
- } & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "start" | "aria-label" | "aria-expanded" | "className" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "useMap" | "wmode" | "wrap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof {
6
+ } & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "aria-expanded" | "aria-label" | "className" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "wmode" | "wrap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof {
7
7
  theme?: any;
8
8
  featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
9
9
  }> & import("react").RefAttributes<HTMLDivElement>>;
@@ -8,6 +8,6 @@ type ContentStylesProps = {
8
8
  featureFlags?: FeatureFlags;
9
9
  };
10
10
  type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
11
- export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "start" | "aria-label" | "aria-expanded" | "className" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "useMap" | "wmode" | "wrap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
12
- declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "start" | "aria-label" | "aria-expanded" | "className" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "target" | "useMap" | "wmode" | "wrap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
11
+ export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "aria-expanded" | "aria-label" | "className" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "wmode" | "wrap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
12
+ declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "key" | "dir" | "color" | "content" | "height" | "width" | "media" | "mediaGroup" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "placeholder" | "value" | "autoFocus" | "name" | "default" | "action" | "disabled" | "children" | "property" | "aria-hidden" | "size" | "aria-expanded" | "aria-label" | "className" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "useMap" | "wmode" | "wrap" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
13
13
  export default _default;
@@ -1,7 +1,4 @@
1
1
  export { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
2
2
  export { scrollbarStyles } from '@atlaskit/editor-shared-styles/scrollbar';
3
- export declare const wrapperSmallStyle: import("@emotion/react").SerializedStyles;
4
3
  export declare const expandIconWrapperStyle: import("@emotion/react").SerializedStyles;
5
- export declare const buttonContentStyle: import("@emotion/react").SerializedStyles;
6
- export declare const buttonContentReducedSpacingStyle: import("@emotion/react").SerializedStyles;
7
4
  export declare const clickSelectWrapperStyle: import("@emotion/react").SerializedStyles;
@@ -8,8 +8,6 @@ export { isParagraph, isText, isLinkMark } from './nodes';
8
8
  export { setNodeSelection, setGapCursorSelection, setTextSelection, } from './selection';
9
9
  export type { JSONDocNode };
10
10
  export { default as measurements } from './performance/measure-enum';
11
- export declare function canMoveUp(state: EditorState): boolean;
12
- export declare function canMoveDown(state: EditorState): boolean;
13
11
  export declare function isSelectionInsideLastNodeInDocument(selection: Selection): boolean;
14
12
  export declare function getCursor(selection: Selection): ResolvedPos | undefined;
15
13
  /**
@@ -27,10 +25,6 @@ export declare function nodeToJSON(node: Node): JSONNode;
27
25
  */
28
26
  export declare function stringRepeat(text: string, length: number): string;
29
27
  export declare function whichTransitionEvent<TransitionEventName extends string>(): TransitionEventName | undefined;
30
- /**
31
- * Function will check if changing block types: Paragraph, Heading is enabled.
32
- */
33
- export declare function areBlockTypesDisabled(state: EditorState): boolean;
34
28
  export declare const isTemporary: (id: string) => boolean;
35
29
  export declare const isEmptyNode: (schema: Schema) => (node: Node) => boolean;
36
30
  export declare const insideTableCell: (state: EditorState) => boolean;
@@ -1,22 +1,10 @@
1
- import type { Node as PMNode, NodeType } from '@atlaskit/editor-prosemirror/model';
2
1
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
2
  import type { InputRuleWrapper } from '@atlaskit/prosemirror-input-rules';
4
3
  import type { AnalyticsEventPayload } from '../plugins/analytics/types';
5
- import { JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST } from '@atlaskit/editor-common/analytics';
6
4
  type GetPayload = AnalyticsEventPayload | ((state: EditorState, matchResult: RegExpExecArray) => AnalyticsEventPayload);
5
+ /**
6
+ * @private
7
+ * @deprecated Use import {inputRuleWithAnalytics} from "@atlaskit/editor-common/utils"; instead
8
+ */
7
9
  export declare const ruleWithAnalytics: (getPayload: GetPayload) => (originalRule: InputRuleWrapper) => InputRuleWrapper;
8
- type WrappingTextRuleProps = {
9
- match: RegExp;
10
- nodeType: NodeType;
11
- getAttrs?: Record<string, any> | ((matchResult: RegExpExecArray) => Record<string, any>);
12
- };
13
- export declare const createWrappingTextBlockRule: ({ match, nodeType, getAttrs, }: WrappingTextRuleProps) => InputRuleWrapper;
14
- type WrappingRuleProps = {
15
- match: RegExp;
16
- nodeType: NodeType;
17
- getAttrs?: Record<string, any> | ((matchResult: RegExpExecArray) => Record<string, any>);
18
- joinPredicate?: (matchResult: RegExpExecArray, node: PMNode, joinScenario: JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST) => boolean;
19
- };
20
- export declare const createWrappingJoinRule: ({ match, nodeType, getAttrs, joinPredicate, }: WrappingRuleProps) => InputRuleWrapper;
21
- export declare const createJoinNodesRule: (match: RegExp, nodeType: NodeType) => InputRuleWrapper;
22
10
  export {};
@@ -2,7 +2,6 @@ import type { Node, Mark, MarkType, NodeType } from '@atlaskit/editor-prosemirro
2
2
  import type { SelectionRange, EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
3
3
  export declare const isMarkAllowedInRange: (doc: Node, ranges: readonly SelectionRange[], type: MarkType) => boolean;
4
4
  export declare const isMarkExcluded: (type: MarkType, marks?: readonly Mark[] | null) => boolean;
5
- export declare const removeBlockMarks: (state: EditorState, marks: Array<MarkType | undefined>) => Transaction | undefined;
6
5
  /**
7
6
  * Removes marks from nodes in the current selection that are not supported
8
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "187.9.2",
3
+ "version": "187.10.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/code": "^14.6.0",
56
56
  "@atlaskit/date": "^0.10.0",
57
57
  "@atlaskit/datetime-picker": "^12.7.0",
58
- "@atlaskit/editor-common": "^74.33.0",
58
+ "@atlaskit/editor-common": "^74.34.0",
59
59
  "@atlaskit/editor-json-transformer": "^8.10.0",
60
60
  "@atlaskit/editor-markdown-transformer": "^5.2.5",
61
61
  "@atlaskit/editor-palette": "1.5.1",
@@ -92,7 +92,7 @@
92
92
  "@atlaskit/modal-dialog": "^12.6.0",
93
93
  "@atlaskit/platform-feature-flags": "^0.2.0",
94
94
  "@atlaskit/prosemirror-collab": "^0.2.0",
95
- "@atlaskit/prosemirror-input-rules": "^2.3.0",
95
+ "@atlaskit/prosemirror-input-rules": "^2.4.0",
96
96
  "@atlaskit/radio": "^5.6.0",
97
97
  "@atlaskit/section-message": "^6.4.0",
98
98
  "@atlaskit/select": "^16.5.0",
@@ -106,7 +106,7 @@
106
106
  "@atlaskit/textfield": "^5.6.0",
107
107
  "@atlaskit/theme": "^12.5.0",
108
108
  "@atlaskit/toggle": "^12.6.0",
109
- "@atlaskit/tokens": "^1.13.0",
109
+ "@atlaskit/tokens": "^1.14.0",
110
110
  "@atlaskit/tooltip": "^17.8.0",
111
111
  "@atlaskit/width-detector": "^4.1.0",
112
112
  "@babel/runtime": "^7.0.0",
package/report.api.md CHANGED
@@ -24,6 +24,7 @@ import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
24
24
  import { ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
25
25
  import type { ActivityProvider } from '@atlaskit/activity-provider';
26
26
  import type { AllEditorPresetPluginTypes } from '@atlaskit/editor-common/types';
27
+ import type { AllowedBlockTypes } from '@atlaskit/editor-common/types';
27
28
  import { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
28
29
  import type { AnalyticsEventPayload as AnalyticsEventPayload_2 } from '@atlaskit/analytics-next/AnalyticsEvent';
29
30
  import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
@@ -112,6 +113,7 @@ import { MentionProvider } from '@atlaskit/mention/resource';
112
113
  import type { MentionProvider as MentionProvider_2 } from '@atlaskit/mention';
113
114
  import { MentionResource } from '@atlaskit/mention/resource';
114
115
  import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
116
+ import type { MessageDescriptor } from 'react-intl-next';
115
117
  import { default as messages } from '@atlaskit/editor-common/messages';
116
118
  import { NextEditorPlugin } from '@atlaskit/editor-common/types';
117
119
  import { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
@@ -191,9 +193,6 @@ type AddItemTransactionCreator = (opts: {
191
193
  itemLocalId: string;
192
194
  }) => Transaction | null;
193
195
 
194
- // @public (undocumented)
195
- type AllowedBlockTypes = 'blockquote' | 'codeBlock' | 'hardBreak' | 'heading';
196
-
197
196
  // @public (undocumented)
198
197
  interface AllSelectionData {
199
198
  // (undocumented)
@@ -1204,7 +1203,7 @@ export type InsertBlockInputMethodToolbar =
1204
1203
  | INPUT_METHOD.TOOLBAR;
1205
1204
 
1206
1205
  // @public (undocumented)
1207
- export function insertBlockType(name: string): Command;
1206
+ export function insertBlockType(name: string): Command_2;
1208
1207
 
1209
1208
  // @public (undocumented)
1210
1209
  export const insertBlockTypesWithAnalytics: (
@@ -1649,16 +1648,6 @@ export { MentionProvider };
1649
1648
 
1650
1649
  export { MentionResource };
1651
1650
 
1652
- // @public (undocumented)
1653
- interface MessageDescriptor {
1654
- // (undocumented)
1655
- defaultMessage: string;
1656
- // (undocumented)
1657
- description: string;
1658
- // (undocumented)
1659
- id: string;
1660
- }
1661
-
1662
1651
  export { messages };
1663
1652
 
1664
1653
  // @public (undocumented)
@@ -2046,13 +2035,14 @@ interface SelectionPluginOptions extends LongPressSelectionPluginOptions {}
2046
2035
  export { SelectOption };
2047
2036
 
2048
2037
  // @public (undocumented)
2049
- export function setBlockType(name: string): Command;
2038
+ export function setBlockType(name: string): Command_2;
2050
2039
 
2051
2040
  // @public (undocumented)
2052
2041
  export function setBlockTypeWithAnalytics(
2053
2042
  name: string,
2054
2043
  inputMethod: BlockTypeInputMethod,
2055
- ): Command;
2044
+ editorAnalyticsApi: EditorAnalyticsAPI | undefined,
2045
+ ): Command_2;
2056
2046
 
2057
2047
  // @public (undocumented)
2058
2048
  export const setIsExpanded: (isExpanded: boolean) => Command_2;
@@ -13,6 +13,7 @@ import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
13
13
  import { ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
14
14
  import type { ActivityProvider } from '@atlaskit/activity-provider';
15
15
  import type { AllEditorPresetPluginTypes } from '@atlaskit/editor-common/types';
16
+ import type { AllowedBlockTypes } from '@atlaskit/editor-common/types';
16
17
  import { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
17
18
  import type { AnalyticsEventPayload as AnalyticsEventPayload_2 } from '@atlaskit/analytics-next/AnalyticsEvent';
18
19
  import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
@@ -101,6 +102,7 @@ import { MentionProvider } from '@atlaskit/mention/resource';
101
102
  import type { MentionProvider as MentionProvider_2 } from '@atlaskit/mention';
102
103
  import { MentionResource } from '@atlaskit/mention/resource';
103
104
  import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
105
+ import type { MessageDescriptor } from 'react-intl-next';
104
106
  import { default as messages } from '@atlaskit/editor-common/messages';
105
107
  import { NextEditorPlugin } from '@atlaskit/editor-common/types';
106
108
  import { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
@@ -180,9 +182,6 @@ type AddItemTransactionCreator = (opts: {
180
182
  itemLocalId: string;
181
183
  }) => Transaction | null;
182
184
 
183
- // @public (undocumented)
184
- type AllowedBlockTypes = 'blockquote' | 'codeBlock' | 'hardBreak' | 'heading';
185
-
186
185
  // @public (undocumented)
187
186
  interface AllSelectionData {
188
187
  // (undocumented)
@@ -1099,7 +1098,7 @@ export { INPUT_METHOD }
1099
1098
  export type InsertBlockInputMethodToolbar = INPUT_METHOD.INSERT_MENU | INPUT_METHOD.TOOLBAR;
1100
1099
 
1101
1100
  // @public (undocumented)
1102
- export function insertBlockType(name: string): Command;
1101
+ export function insertBlockType(name: string): Command_2;
1103
1102
 
1104
1103
  // @public (undocumented)
1105
1104
  export const insertBlockTypesWithAnalytics: (name: string, inputMethod: BlockTypeInputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined) => Command_2;
@@ -1471,16 +1470,6 @@ export { MentionProvider }
1471
1470
 
1472
1471
  export { MentionResource }
1473
1472
 
1474
- // @public (undocumented)
1475
- interface MessageDescriptor {
1476
- // (undocumented)
1477
- defaultMessage: string;
1478
- // (undocumented)
1479
- description: string;
1480
- // (undocumented)
1481
- id: string;
1482
- }
1483
-
1484
1473
  export { messages }
1485
1474
 
1486
1475
  // @public (undocumented)
@@ -1825,10 +1814,10 @@ interface SelectionPluginOptions extends LongPressSelectionPluginOptions {
1825
1814
  export { SelectOption }
1826
1815
 
1827
1816
  // @public (undocumented)
1828
- export function setBlockType(name: string): Command;
1817
+ export function setBlockType(name: string): Command_2;
1829
1818
 
1830
1819
  // @public (undocumented)
1831
- export function setBlockTypeWithAnalytics(name: string, inputMethod: BlockTypeInputMethod): Command;
1820
+ export function setBlockTypeWithAnalytics(name: string, inputMethod: BlockTypeInputMethod, editorAnalyticsApi: EditorAnalyticsAPI | undefined): Command_2;
1832
1821
 
1833
1822
  // @public (undocumented)
1834
1823
  export const setIsExpanded: (isExpanded: boolean) => Command_2;
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.keymap = keymap;
7
- var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
8
- var _keymap = require("@atlaskit/editor-prosemirror/keymap");
9
- var _w3cKeyname = require("w3c-keyname");
10
- /**
11
- * A workaround for mostly Cyrillic but should have a positive affect
12
- * on other languages / layouts. Attempts a similar approach to OS X.
13
- * @see ED-7310
14
- * @see https://github.com/ProseMirror/prosemirror/issues/957
15
- * @param bindings
16
- */
17
- function keymap(bindings) {
18
- return new _safePlugin.SafePlugin({
19
- props: {
20
- handleKeyDown: function handleKeyDown(view, event) {
21
- var name = (0, _w3cKeyname.keyName)(event);
22
- var keyboardEvent = event;
23
- if (event.ctrlKey && name.length === 1 &&
24
- // Check the unicode of the character to
25
- // assert that its not an ASCII character.
26
- // These are characters outside Latin's range.
27
- /[^\u0000-\u007f]/.test(name)) {
28
- keyboardEvent = new KeyboardEvent('keydown', {
29
- key: _w3cKeyname.base[event.keyCode],
30
- code: event.code,
31
- ctrlKey: true
32
- });
33
- }
34
- return (0, _keymap.keydownHandler)(bindings)(view, keyboardEvent);
35
- }
36
- }
37
- });
38
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,33 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { keydownHandler } from '@atlaskit/editor-prosemirror/keymap';
3
- import { base, keyName } from 'w3c-keyname';
4
-
5
- /**
6
- * A workaround for mostly Cyrillic but should have a positive affect
7
- * on other languages / layouts. Attempts a similar approach to OS X.
8
- * @see ED-7310
9
- * @see https://github.com/ProseMirror/prosemirror/issues/957
10
- * @param bindings
11
- */
12
- export function keymap(bindings) {
13
- return new SafePlugin({
14
- props: {
15
- handleKeyDown(view, event) {
16
- const name = keyName(event);
17
- let keyboardEvent = event;
18
- if (event.ctrlKey && name.length === 1 &&
19
- // Check the unicode of the character to
20
- // assert that its not an ASCII character.
21
- // These are characters outside Latin's range.
22
- /[^\u0000-\u007f]/.test(name)) {
23
- keyboardEvent = new KeyboardEvent('keydown', {
24
- key: base[event.keyCode],
25
- code: event.code,
26
- ctrlKey: true
27
- });
28
- }
29
- return keydownHandler(bindings)(view, keyboardEvent);
30
- }
31
- }
32
- });
33
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,33 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import { keydownHandler } from '@atlaskit/editor-prosemirror/keymap';
3
- import { base, keyName } from 'w3c-keyname';
4
-
5
- /**
6
- * A workaround for mostly Cyrillic but should have a positive affect
7
- * on other languages / layouts. Attempts a similar approach to OS X.
8
- * @see ED-7310
9
- * @see https://github.com/ProseMirror/prosemirror/issues/957
10
- * @param bindings
11
- */
12
- export function keymap(bindings) {
13
- return new SafePlugin({
14
- props: {
15
- handleKeyDown: function handleKeyDown(view, event) {
16
- var name = keyName(event);
17
- var keyboardEvent = event;
18
- if (event.ctrlKey && name.length === 1 &&
19
- // Check the unicode of the character to
20
- // assert that its not an ASCII character.
21
- // These are characters outside Latin's range.
22
- /[^\u0000-\u007f]/.test(name)) {
23
- keyboardEvent = new KeyboardEvent('keydown', {
24
- key: base[event.keyCode],
25
- code: event.code,
26
- ctrlKey: true
27
- });
28
- }
29
- return keydownHandler(bindings)(view, keyboardEvent);
30
- }
31
- }
32
- });
33
- }
@@ -1 +0,0 @@
1
- export type AllowedBlockTypes = 'heading' | 'blockquote' | 'hardBreak' | 'codeBlock';
@@ -1,11 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- /**
3
- * A workaround for mostly Cyrillic but should have a positive affect
4
- * on other languages / layouts. Attempts a similar approach to OS X.
5
- * @see ED-7310
6
- * @see https://github.com/ProseMirror/prosemirror/issues/957
7
- * @param bindings
8
- */
9
- export declare function keymap(bindings: {
10
- [key: string]: any;
11
- }): SafePlugin<any>;
@@ -1 +0,0 @@
1
- export type AllowedBlockTypes = 'heading' | 'blockquote' | 'hardBreak' | 'codeBlock';
@@ -1,11 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- /**
3
- * A workaround for mostly Cyrillic but should have a positive affect
4
- * on other languages / layouts. Attempts a similar approach to OS X.
5
- * @see ED-7310
6
- * @see https://github.com/ProseMirror/prosemirror/issues/957
7
- * @param bindings
8
- */
9
- export declare function keymap(bindings: {
10
- [key: string]: any;
11
- }): SafePlugin<any>;