@atlaskit/editor-core 185.8.2 → 185.9.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 (569) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/commands/index.js +1 -1
  3. package/dist/cjs/plugins/annotation/index.js +1 -1
  4. package/dist/cjs/plugins/annotation/pm-plugins/inline-comment.js +14 -14
  5. package/dist/cjs/plugins/annotation/ui/InlineCommentView.js +7 -6
  6. package/dist/cjs/plugins/annotation/utils.js +5 -4
  7. package/dist/cjs/plugins/base/pm-plugins/composition.js +2 -1
  8. package/dist/cjs/plugins/base/pm-plugins/disable-spell-checking.js +4 -4
  9. package/dist/cjs/plugins/base/pm-plugins/newline-preserve-marks.js +1 -5
  10. package/dist/cjs/plugins/block-type/commands/delete-and-move-cursor.js +1 -1
  11. package/dist/cjs/plugins/block-type/commands/delete-block-content.js +1 -1
  12. package/dist/cjs/plugins/breakout/index.js +8 -2
  13. package/dist/cjs/plugins/breakout/plugin-key.js +1 -1
  14. package/dist/cjs/plugins/breakout/ui/LayoutButton.js +6 -0
  15. package/dist/cjs/plugins/card/index.js +1 -1
  16. package/dist/cjs/plugins/card/toolbar.js +6 -6
  17. package/dist/cjs/plugins/card/utils.js +3 -0
  18. package/dist/cjs/plugins/code-block/pm-plugins/keymaps.js +1 -1
  19. package/dist/cjs/plugins/collab-edit/events/initialize.js +1 -1
  20. package/dist/cjs/plugins/collab-edit/events/send-transaction.js +4 -3
  21. package/dist/cjs/plugins/collab-edit/get-participants-count.js +4 -1
  22. package/dist/cjs/plugins/collab-edit/plugin.js +3 -2
  23. package/dist/cjs/plugins/custom-autoformat/index.js +3 -1
  24. package/dist/cjs/plugins/date/actions.js +11 -12
  25. package/dist/cjs/plugins/date/index.js +14 -14
  26. package/dist/cjs/plugins/editor-disabled/index.js +7 -1
  27. package/dist/cjs/plugins/emoji/index.js +14 -14
  28. package/dist/cjs/plugins/expand/commands.js +2 -2
  29. package/dist/cjs/plugins/expand/index.js +3 -0
  30. package/dist/cjs/plugins/expand/nodeviews/index.js +2 -0
  31. package/dist/cjs/plugins/fragment/pm-plugins/fragment-consistency.js +11 -4
  32. package/dist/cjs/plugins/hyperlink/commands.js +3 -2
  33. package/dist/cjs/plugins/image-upload/pm-plugins/commands.js +2 -2
  34. package/dist/cjs/plugins/list/actions/outdent-list-items-selected.js +1 -0
  35. package/dist/cjs/plugins/macro/actions.js +2 -2
  36. package/dist/cjs/plugins/media/commands/helpers.js +6 -0
  37. package/dist/cjs/plugins/media/index.js +2 -2
  38. package/dist/cjs/plugins/media/nodeviews/mediaGroup.js +17 -13
  39. package/dist/cjs/plugins/media/nodeviews/mediaNodeView/media.js +10 -5
  40. package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +1 -1
  41. package/dist/cjs/plugins/media/toolbar/commands.js +2 -0
  42. package/dist/cjs/plugins/media/utils/media-common.js +1 -0
  43. package/dist/cjs/plugins/paste/edge-cases/lists.js +1 -0
  44. package/dist/cjs/plugins/paste/handlers.js +4 -3
  45. package/dist/cjs/plugins/paste/pm-plugins/main.js +2 -0
  46. package/dist/cjs/plugins/paste/util/index.js +2 -2
  47. package/dist/cjs/plugins/quick-insert/search.js +2 -2
  48. package/dist/cjs/plugins/save-on-enter/index.js +1 -1
  49. package/dist/cjs/plugins/selection/gap-cursor/utils/place-gap-cursor.js +1 -0
  50. package/dist/cjs/plugins/selection/pm-plugins/gap-cursor-main.js +2 -2
  51. package/dist/cjs/plugins/status/actions.js +4 -4
  52. package/dist/cjs/plugins/status/plugin.js +3 -3
  53. package/dist/cjs/plugins/submit-editor/index.js +3 -0
  54. package/dist/cjs/plugins/text-color/commands/change-color.js +3 -3
  55. package/dist/cjs/plugins/text-formatting/commands/transform-to-code.js +1 -1
  56. package/dist/cjs/plugins/text-formatting/pm-plugins/input-rule.js +1 -1
  57. package/dist/cjs/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +4 -1
  58. package/dist/cjs/plugins/toolbar-lists-indentation/ui/onItemActivated.js +4 -2
  59. package/dist/cjs/plugins/type-ahead/commands/update-query.js +1 -1
  60. package/dist/cjs/plugins/type-ahead/commands/update-selected-index.js +1 -1
  61. package/dist/cjs/plugins/type-ahead/pm-plugins/decorations.js +1 -1
  62. package/dist/cjs/plugins/type-ahead/ui/InputQuery.js +2 -2
  63. package/dist/cjs/plugins/type-ahead/ui/WrapperTypeAhead.js +3 -3
  64. package/dist/cjs/plugins/type-ahead/utils.js +5 -3
  65. package/dist/cjs/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -1
  66. package/dist/cjs/utils/mark.js +1 -1
  67. package/dist/cjs/version-wrapper.js +1 -1
  68. package/dist/cjs/version.json +1 -1
  69. package/dist/es2019/commands/index.js +1 -1
  70. package/dist/es2019/plugins/annotation/index.js +1 -1
  71. package/dist/es2019/plugins/annotation/pm-plugins/inline-comment.js +8 -10
  72. package/dist/es2019/plugins/annotation/ui/InlineCommentView.js +2 -2
  73. package/dist/es2019/plugins/annotation/utils.js +3 -3
  74. package/dist/es2019/plugins/base/pm-plugins/composition.js +2 -1
  75. package/dist/es2019/plugins/base/pm-plugins/disable-spell-checking.js +4 -4
  76. package/dist/es2019/plugins/base/pm-plugins/newline-preserve-marks.js +1 -3
  77. package/dist/es2019/plugins/block-type/commands/delete-and-move-cursor.js +1 -1
  78. package/dist/es2019/plugins/block-type/commands/delete-block-content.js +1 -1
  79. package/dist/es2019/plugins/breakout/index.js +8 -2
  80. package/dist/es2019/plugins/breakout/plugin-key.js +1 -1
  81. package/dist/es2019/plugins/breakout/ui/LayoutButton.js +6 -0
  82. package/dist/es2019/plugins/card/index.js +1 -1
  83. package/dist/es2019/plugins/card/toolbar.js +6 -6
  84. package/dist/es2019/plugins/card/utils.js +3 -0
  85. package/dist/es2019/plugins/code-block/pm-plugins/keymaps.js +1 -1
  86. package/dist/es2019/plugins/collab-edit/events/initialize.js +1 -1
  87. package/dist/es2019/plugins/collab-edit/events/send-transaction.js +3 -3
  88. package/dist/es2019/plugins/collab-edit/get-participants-count.js +4 -1
  89. package/dist/es2019/plugins/collab-edit/plugin.js +3 -2
  90. package/dist/es2019/plugins/custom-autoformat/index.js +3 -1
  91. package/dist/es2019/plugins/date/actions.js +9 -10
  92. package/dist/es2019/plugins/date/index.js +3 -3
  93. package/dist/es2019/plugins/editor-disabled/index.js +7 -1
  94. package/dist/es2019/plugins/emoji/index.js +2 -2
  95. package/dist/es2019/plugins/expand/commands.js +2 -2
  96. package/dist/es2019/plugins/expand/index.js +3 -0
  97. package/dist/es2019/plugins/expand/nodeviews/index.js +2 -0
  98. package/dist/es2019/plugins/fragment/pm-plugins/fragment-consistency.js +8 -4
  99. package/dist/es2019/plugins/hyperlink/commands.js +3 -2
  100. package/dist/es2019/plugins/image-upload/pm-plugins/commands.js +2 -2
  101. package/dist/es2019/plugins/list/actions/outdent-list-items-selected.js +1 -0
  102. package/dist/es2019/plugins/macro/actions.js +2 -2
  103. package/dist/es2019/plugins/media/commands/helpers.js +6 -0
  104. package/dist/es2019/plugins/media/index.js +2 -2
  105. package/dist/es2019/plugins/media/nodeviews/mediaGroup.js +8 -5
  106. package/dist/es2019/plugins/media/nodeviews/mediaNodeView/media.js +10 -5
  107. package/dist/es2019/plugins/media/nodeviews/mediaSingle.js +1 -1
  108. package/dist/es2019/plugins/media/toolbar/commands.js +2 -0
  109. package/dist/es2019/plugins/media/utils/media-common.js +1 -0
  110. package/dist/es2019/plugins/paste/edge-cases/lists.js +1 -0
  111. package/dist/es2019/plugins/paste/handlers.js +4 -3
  112. package/dist/es2019/plugins/paste/pm-plugins/main.js +2 -0
  113. package/dist/es2019/plugins/paste/util/index.js +2 -2
  114. package/dist/es2019/plugins/quick-insert/search.js +2 -2
  115. package/dist/es2019/plugins/save-on-enter/index.js +1 -1
  116. package/dist/es2019/plugins/selection/gap-cursor/utils/place-gap-cursor.js +1 -0
  117. package/dist/es2019/plugins/selection/pm-plugins/gap-cursor-main.js +2 -2
  118. package/dist/es2019/plugins/status/actions.js +2 -2
  119. package/dist/es2019/plugins/status/plugin.js +1 -1
  120. package/dist/es2019/plugins/submit-editor/index.js +3 -0
  121. package/dist/es2019/plugins/text-color/commands/change-color.js +3 -3
  122. package/dist/es2019/plugins/text-formatting/commands/transform-to-code.js +1 -1
  123. package/dist/es2019/plugins/text-formatting/pm-plugins/input-rule.js +1 -1
  124. package/dist/es2019/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +6 -1
  125. package/dist/es2019/plugins/toolbar-lists-indentation/ui/onItemActivated.js +4 -2
  126. package/dist/es2019/plugins/type-ahead/commands/update-query.js +1 -1
  127. package/dist/es2019/plugins/type-ahead/commands/update-selected-index.js +1 -1
  128. package/dist/es2019/plugins/type-ahead/pm-plugins/decorations.js +1 -1
  129. package/dist/es2019/plugins/type-ahead/ui/InputQuery.js +1 -1
  130. package/dist/es2019/plugins/type-ahead/ui/WrapperTypeAhead.js +1 -1
  131. package/dist/es2019/plugins/type-ahead/utils.js +5 -3
  132. package/dist/es2019/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -1
  133. package/dist/es2019/utils/mark.js +1 -1
  134. package/dist/es2019/version-wrapper.js +1 -1
  135. package/dist/es2019/version.json +1 -1
  136. package/dist/esm/commands/index.js +1 -1
  137. package/dist/esm/plugins/annotation/index.js +1 -1
  138. package/dist/esm/plugins/annotation/pm-plugins/inline-comment.js +14 -14
  139. package/dist/esm/plugins/annotation/ui/InlineCommentView.js +7 -6
  140. package/dist/esm/plugins/annotation/utils.js +5 -4
  141. package/dist/esm/plugins/base/pm-plugins/composition.js +2 -1
  142. package/dist/esm/plugins/base/pm-plugins/disable-spell-checking.js +4 -4
  143. package/dist/esm/plugins/base/pm-plugins/newline-preserve-marks.js +1 -5
  144. package/dist/esm/plugins/block-type/commands/delete-and-move-cursor.js +1 -1
  145. package/dist/esm/plugins/block-type/commands/delete-block-content.js +1 -1
  146. package/dist/esm/plugins/breakout/index.js +8 -2
  147. package/dist/esm/plugins/breakout/plugin-key.js +1 -1
  148. package/dist/esm/plugins/breakout/ui/LayoutButton.js +6 -0
  149. package/dist/esm/plugins/card/index.js +1 -1
  150. package/dist/esm/plugins/card/toolbar.js +6 -6
  151. package/dist/esm/plugins/card/utils.js +3 -0
  152. package/dist/esm/plugins/code-block/pm-plugins/keymaps.js +1 -1
  153. package/dist/esm/plugins/collab-edit/events/initialize.js +1 -1
  154. package/dist/esm/plugins/collab-edit/events/send-transaction.js +4 -3
  155. package/dist/esm/plugins/collab-edit/get-participants-count.js +4 -1
  156. package/dist/esm/plugins/collab-edit/plugin.js +3 -2
  157. package/dist/esm/plugins/custom-autoformat/index.js +3 -1
  158. package/dist/esm/plugins/date/actions.js +11 -12
  159. package/dist/esm/plugins/date/index.js +14 -14
  160. package/dist/esm/plugins/editor-disabled/index.js +7 -1
  161. package/dist/esm/plugins/emoji/index.js +14 -14
  162. package/dist/esm/plugins/expand/commands.js +2 -2
  163. package/dist/esm/plugins/expand/index.js +3 -0
  164. package/dist/esm/plugins/expand/nodeviews/index.js +2 -0
  165. package/dist/esm/plugins/fragment/pm-plugins/fragment-consistency.js +10 -4
  166. package/dist/esm/plugins/hyperlink/commands.js +3 -2
  167. package/dist/esm/plugins/image-upload/pm-plugins/commands.js +2 -2
  168. package/dist/esm/plugins/list/actions/outdent-list-items-selected.js +1 -0
  169. package/dist/esm/plugins/macro/actions.js +2 -2
  170. package/dist/esm/plugins/media/commands/helpers.js +6 -0
  171. package/dist/esm/plugins/media/index.js +2 -2
  172. package/dist/esm/plugins/media/nodeviews/mediaGroup.js +17 -13
  173. package/dist/esm/plugins/media/nodeviews/mediaNodeView/media.js +10 -5
  174. package/dist/esm/plugins/media/nodeviews/mediaSingle.js +1 -1
  175. package/dist/esm/plugins/media/toolbar/commands.js +2 -0
  176. package/dist/esm/plugins/media/utils/media-common.js +1 -0
  177. package/dist/esm/plugins/paste/edge-cases/lists.js +1 -0
  178. package/dist/esm/plugins/paste/handlers.js +4 -3
  179. package/dist/esm/plugins/paste/pm-plugins/main.js +2 -0
  180. package/dist/esm/plugins/paste/util/index.js +2 -2
  181. package/dist/esm/plugins/quick-insert/search.js +2 -2
  182. package/dist/esm/plugins/save-on-enter/index.js +1 -1
  183. package/dist/esm/plugins/selection/gap-cursor/utils/place-gap-cursor.js +1 -0
  184. package/dist/esm/plugins/selection/pm-plugins/gap-cursor-main.js +2 -2
  185. package/dist/esm/plugins/status/actions.js +4 -4
  186. package/dist/esm/plugins/status/plugin.js +3 -3
  187. package/dist/esm/plugins/submit-editor/index.js +3 -0
  188. package/dist/esm/plugins/text-color/commands/change-color.js +3 -3
  189. package/dist/esm/plugins/text-formatting/commands/transform-to-code.js +1 -1
  190. package/dist/esm/plugins/text-formatting/pm-plugins/input-rule.js +1 -1
  191. package/dist/esm/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.js +4 -1
  192. package/dist/esm/plugins/toolbar-lists-indentation/ui/onItemActivated.js +4 -2
  193. package/dist/esm/plugins/type-ahead/commands/update-query.js +1 -1
  194. package/dist/esm/plugins/type-ahead/commands/update-selected-index.js +1 -1
  195. package/dist/esm/plugins/type-ahead/pm-plugins/decorations.js +1 -1
  196. package/dist/esm/plugins/type-ahead/ui/InputQuery.js +2 -2
  197. package/dist/esm/plugins/type-ahead/ui/WrapperTypeAhead.js +3 -3
  198. package/dist/esm/plugins/type-ahead/utils.js +5 -3
  199. package/dist/esm/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.js +1 -1
  200. package/dist/esm/utils/mark.js +1 -1
  201. package/dist/esm/version-wrapper.js +1 -1
  202. package/dist/esm/version.json +1 -1
  203. package/dist/types/commands/index.d.ts +2 -2
  204. package/dist/types/create-editor/ReactEditorViewInternal.d.ts +2 -2
  205. package/dist/types/extensibility.d.ts +3 -1
  206. package/dist/types/labs/next/presets/cxhtml.d.ts +17 -15
  207. package/dist/types/labs/next/presets/default.d.ts +32 -30
  208. package/dist/types/labs/next/presets/mobile.d.ts +17 -15
  209. package/dist/types/plugins/alignment/pm-plugins/main.d.ts +1 -1
  210. package/dist/types/plugins/analytics/index.d.ts +3 -1
  211. package/dist/types/plugins/analytics/plugin-key.d.ts +1 -1
  212. package/dist/types/plugins/annotation/commands/transform.d.ts +5 -5
  213. package/dist/types/plugins/annotation/pm-plugins/inline-comment.d.ts +1 -1
  214. package/dist/types/plugins/annotation/pm-plugins/plugin-factory.d.ts +3 -1
  215. package/dist/types/plugins/annotation/pm-plugins/types.d.ts +1 -1
  216. package/dist/types/plugins/annotation/utils.d.ts +5 -4
  217. package/dist/types/plugins/base/pm-plugins/better-type-history.d.ts +2 -2
  218. package/dist/types/plugins/base/pm-plugins/composition.d.ts +2 -2
  219. package/dist/types/plugins/base/pm-plugins/context-identifier.d.ts +2 -2
  220. package/dist/types/plugins/base/pm-plugins/disable-spell-checking.d.ts +1 -1
  221. package/dist/types/plugins/base/pm-plugins/filter-steps.d.ts +1 -1
  222. package/dist/types/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +2 -2
  223. package/dist/types/plugins/base/pm-plugins/focus-handler.d.ts +2 -2
  224. package/dist/types/plugins/base/pm-plugins/frozen-editor.d.ts +2 -2
  225. package/dist/types/plugins/base/pm-plugins/inline-cursor-target.d.ts +2 -2
  226. package/dist/types/plugins/base/pm-plugins/newline-preserve-marks.d.ts +2 -2
  227. package/dist/types/plugins/base/pm-plugins/scroll-gutter.d.ts +1 -1
  228. package/dist/types/plugins/block-type/commands/delete-and-move-cursor.d.ts +1 -1
  229. package/dist/types/plugins/block-type/commands/delete-block-content.d.ts +1 -1
  230. package/dist/types/plugins/block-type/pm-plugins/main.d.ts +2 -2
  231. package/dist/types/plugins/breakout/plugin-key.d.ts +2 -2
  232. package/dist/types/plugins/breakout/types.d.ts +1 -1
  233. package/dist/types/plugins/caption/pm-plugins/main.d.ts +1 -1
  234. package/dist/types/plugins/caption/pm-plugins/plugin-key.d.ts +1 -1
  235. package/dist/types/plugins/card/pm-plugins/actions.d.ts +13 -13
  236. package/dist/types/plugins/card/pm-plugins/doc.d.ts +1 -1
  237. package/dist/types/plugins/card/pm-plugins/mountHyperlink.d.ts +1 -1
  238. package/dist/types/plugins/card/pm-plugins/plugin-key.d.ts +1 -1
  239. package/dist/types/plugins/card/ui/DatasourceModal.d.ts +1 -1
  240. package/dist/types/plugins/card/ui/EditLinkToolbar.d.ts +1 -1
  241. package/dist/types/plugins/card/ui/ResizableEmbedCard.d.ts +2 -1
  242. package/dist/types/plugins/clear-marks-on-change-to-empty-document/index.d.ts +1 -1
  243. package/dist/types/plugins/clipboard/plugin-key.d.ts +1 -1
  244. package/dist/types/plugins/clipboard/pm-plugins/main.d.ts +1 -1
  245. package/dist/types/plugins/code-bidi-warning/plugin-key.d.ts +1 -1
  246. package/dist/types/plugins/code-bidi-warning/pm-plugins/main.d.ts +1 -1
  247. package/dist/types/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +5 -3
  248. package/dist/types/plugins/code-block/plugin-key.d.ts +1 -1
  249. package/dist/types/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +2 -6
  250. package/dist/types/plugins/code-block/pm-plugins/ide-ux.d.ts +1 -1
  251. package/dist/types/plugins/code-block/pm-plugins/main.d.ts +1 -1
  252. package/dist/types/plugins/code-block/refresh-browser-selection.d.ts +1 -1
  253. package/dist/types/plugins/code-block/utils.d.ts +2 -2
  254. package/dist/types/plugins/collab-edit/analytics.d.ts +2 -2
  255. package/dist/types/plugins/collab-edit/events/handlers.d.ts +1 -1
  256. package/dist/types/plugins/collab-edit/events/send-transaction.d.ts +2 -2
  257. package/dist/types/plugins/collab-edit/native-collab-provider-plugin.d.ts +1 -1
  258. package/dist/types/plugins/collab-edit/plugin-key.d.ts +1 -1
  259. package/dist/types/plugins/collab-edit/plugin-state.d.ts +1 -1
  260. package/dist/types/plugins/collab-edit/plugin.d.ts +1 -1
  261. package/dist/types/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +2 -2
  262. package/dist/types/plugins/collab-edit/utils.d.ts +3 -1
  263. package/dist/types/plugins/copy-button/pm-plugins/main.d.ts +1 -10
  264. package/dist/types/plugins/copy-button/pm-plugins/plugin-key.d.ts +1 -1
  265. package/dist/types/plugins/copy-button/toolbar.d.ts +3 -1
  266. package/dist/types/plugins/custom-autoformat/index.d.ts +1 -2
  267. package/dist/types/plugins/custom-autoformat/utils.d.ts +1 -1
  268. package/dist/types/plugins/date/pm-plugins/main.d.ts +3 -1
  269. package/dist/types/plugins/date/pm-plugins/plugin-key.d.ts +1 -1
  270. package/dist/types/plugins/editor-disabled/index.d.ts +1 -1
  271. package/dist/types/plugins/emoji/index.d.ts +2 -2
  272. package/dist/types/plugins/emoji/pm-plugins/ascii-input-rules.d.ts +2 -2
  273. package/dist/types/plugins/expand/commands.d.ts +1 -1
  274. package/dist/types/plugins/expand/nodeviews/index.d.ts +2 -2
  275. package/dist/types/plugins/expand/pm-plugins/main.d.ts +1 -1
  276. package/dist/types/plugins/expand/pm-plugins/plugin-factory.d.ts +4 -2
  277. package/dist/types/plugins/extension/actions.d.ts +3 -3
  278. package/dist/types/plugins/extension/plugin-factory.d.ts +5 -3
  279. package/dist/types/plugins/extension/plugin-key.d.ts +1 -1
  280. package/dist/types/plugins/extension/pm-plugins/main.d.ts +1 -1
  281. package/dist/types/plugins/extension/pm-plugins/unique-id.d.ts +1 -1
  282. package/dist/types/plugins/fake-text-cursor/index.d.ts +2 -2
  283. package/dist/types/plugins/find-replace/keymap.d.ts +1 -1
  284. package/dist/types/plugins/find-replace/plugin.d.ts +4 -2
  285. package/dist/types/plugins/find-replace/types.d.ts +1 -1
  286. package/dist/types/plugins/find-replace/utils/index.d.ts +4 -3
  287. package/dist/types/plugins/floating-toolbar/index.d.ts +2 -2
  288. package/dist/types/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +2 -2
  289. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +3 -1
  290. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +1 -1
  291. package/dist/types/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +1 -1
  292. package/dist/types/plugins/fragment/plugin-key.d.ts +1 -1
  293. package/dist/types/plugins/fragment/pm-plugins/fragment-consistency.d.ts +1 -1
  294. package/dist/types/plugins/help-dialog/index.d.ts +1 -1
  295. package/dist/types/plugins/help-dialog/plugin-key.d.ts +1 -1
  296. package/dist/types/plugins/history/index.d.ts +1 -1
  297. package/dist/types/plugins/hyperlink/commands.d.ts +1 -1
  298. package/dist/types/plugins/hyperlink/pm-plugins/fake-curor-for-toolbar-plugin-key.d.ts +1 -1
  299. package/dist/types/plugins/hyperlink/pm-plugins/main.d.ts +2 -2
  300. package/dist/types/plugins/hyperlink/pm-plugins/toolbar-buttons.d.ts +2 -2
  301. package/dist/types/plugins/image-upload/pm-plugins/actions.d.ts +1 -1
  302. package/dist/types/plugins/image-upload/pm-plugins/main.d.ts +2 -1
  303. package/dist/types/plugins/image-upload/pm-plugins/plugin-key.d.ts +1 -1
  304. package/dist/types/plugins/jira-issue/index.d.ts +1 -1
  305. package/dist/types/plugins/layout/actions.d.ts +2 -2
  306. package/dist/types/plugins/layout/pm-plugins/main.d.ts +2 -1
  307. package/dist/types/plugins/layout/pm-plugins/plugin-key.d.ts +1 -1
  308. package/dist/types/plugins/list/pm-plugins/main.d.ts +1 -1
  309. package/dist/types/plugins/list/transforms.d.ts +2 -2
  310. package/dist/types/plugins/list/utils/selection.d.ts +1 -1
  311. package/dist/types/plugins/macro/index.d.ts +1 -1
  312. package/dist/types/plugins/macro/plugin-key.d.ts +1 -1
  313. package/dist/types/plugins/max-content-size/index.d.ts +1 -1
  314. package/dist/types/plugins/media/nodeviews/mediaSingle.d.ts +1 -1
  315. package/dist/types/plugins/media/pm-plugins/alt-text/index.d.ts +5 -3
  316. package/dist/types/plugins/media/pm-plugins/linking/index.d.ts +5 -3
  317. package/dist/types/plugins/media/pm-plugins/main.d.ts +1 -1
  318. package/dist/types/plugins/media/pm-plugins/media-editor-plugin-factory.d.ts +1 -1
  319. package/dist/types/plugins/media/pm-plugins/plugin-key.d.ts +1 -1
  320. package/dist/types/plugins/media/toolbar/utils.d.ts +3 -1
  321. package/dist/types/plugins/media/ui/ResizableMediaSingle/index.d.ts +2 -1
  322. package/dist/types/plugins/media/utils/media-common.d.ts +1 -1
  323. package/dist/types/plugins/media/utils/media-single.d.ts +2 -2
  324. package/dist/types/plugins/mentions/pm-plugins/key.d.ts +1 -1
  325. package/dist/types/plugins/mentions/pm-plugins/main.d.ts +1 -1
  326. package/dist/types/plugins/mobile-dimensions/plugin-factory.d.ts +4 -2
  327. package/dist/types/plugins/mobile-selection/mobile-selection-plugin.d.ts +1 -1
  328. package/dist/types/plugins/panel/pm-plugins/main.d.ts +1 -1
  329. package/dist/types/plugins/panel/types.d.ts +1 -1
  330. package/dist/types/plugins/panel/utils.d.ts +1 -1
  331. package/dist/types/plugins/paste/edge-cases/index.d.ts +1 -1
  332. package/dist/types/plugins/paste/edge-cases/lists.d.ts +1 -1
  333. package/dist/types/plugins/paste/handlers.d.ts +2 -2
  334. package/dist/types/plugins/paste/pm-plugins/main.d.ts +1 -1
  335. package/dist/types/plugins/paste/pm-plugins/plugin-factory.d.ts +4 -2
  336. package/dist/types/plugins/paste/util/index.d.ts +2 -2
  337. package/dist/types/plugins/placeholder/index.d.ts +1 -1
  338. package/dist/types/plugins/placeholder-text/plugin-key.d.ts +1 -1
  339. package/dist/types/plugins/quick-insert/index.d.ts +1 -1
  340. package/dist/types/plugins/quick-insert/plugin-key.d.ts +1 -1
  341. package/dist/types/plugins/quick-insert/search.d.ts +1 -1
  342. package/dist/types/plugins/rule/pm-plugins/input-rule.d.ts +1 -1
  343. package/dist/types/plugins/scroll-into-view/index.d.ts +1 -1
  344. package/dist/types/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +1 -1
  345. package/dist/types/plugins/selection/plugin-factory.d.ts +3 -1
  346. package/dist/types/plugins/selection/pm-plugins/gap-cursor-main.d.ts +1 -1
  347. package/dist/types/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +1 -1
  348. package/dist/types/plugins/selection/pm-plugins/keymap.d.ts +1 -1
  349. package/dist/types/plugins/selection/pm-plugins/selection-main.d.ts +1 -1
  350. package/dist/types/plugins/selection/types.d.ts +1 -1
  351. package/dist/types/plugins/status/plugin-key.d.ts +1 -1
  352. package/dist/types/plugins/status/plugin.d.ts +1 -1
  353. package/dist/types/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +2 -1
  354. package/dist/types/plugins/tasks-and-decisions/pm-plugins/main.d.ts +1 -1
  355. package/dist/types/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +1 -1
  356. package/dist/types/plugins/text-color/pm-plugins/main.d.ts +1 -1
  357. package/dist/types/plugins/text-formatting/pm-plugins/clear-formatting.d.ts +2 -2
  358. package/dist/types/plugins/text-formatting/pm-plugins/cursor.d.ts +1 -1
  359. package/dist/types/plugins/text-formatting/pm-plugins/main.d.ts +1 -1
  360. package/dist/types/plugins/text-formatting/pm-plugins/plugin-key.d.ts +1 -1
  361. package/dist/types/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +1 -1
  362. package/dist/types/plugins/text-formatting/ui/Toolbar/index.d.ts +2 -2
  363. package/dist/types/plugins/text-formatting/utils.d.ts +2 -2
  364. package/dist/types/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +2 -2
  365. package/dist/types/plugins/type-ahead/api.d.ts +2 -2
  366. package/dist/types/plugins/type-ahead/pm-plugins/key.d.ts +1 -1
  367. package/dist/types/plugins/type-ahead/pm-plugins/utils.d.ts +1 -1
  368. package/dist/types/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +1 -1
  369. package/dist/types/plugins/type-ahead/utils.d.ts +4 -4
  370. package/dist/types/plugins/undo-redo/pm-plugins/plugin-key.d.ts +1 -1
  371. package/dist/types/plugins/unsupported-content/index.d.ts +1 -1
  372. package/dist/types/plugins/view-update-subscription/index.d.ts +2 -2
  373. package/dist/types/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
  374. package/dist/types/types/editor-config.d.ts +1 -1
  375. package/dist/types/ui/Addon/click-area-helper.d.ts +1 -1
  376. package/dist/types/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +1 -1
  377. package/dist/types/utils/action.d.ts +60 -2
  378. package/dist/types/utils/cell-selection.d.ts +1 -1
  379. package/dist/types/utils/commands.d.ts +1 -1
  380. package/dist/types/utils/document.d.ts +1 -1
  381. package/dist/types/utils/index.d.ts +1 -1
  382. package/dist/types/utils/keymap.d.ts +1 -1
  383. package/dist/types/utils/mark.d.ts +2 -2
  384. package/dist/types/utils/performance/instrumented-plugin.d.ts +2 -3
  385. package/dist/types-ts4.5/commands/index.d.ts +2 -2
  386. package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +2 -2
  387. package/dist/types-ts4.5/extensibility.d.ts +3 -1
  388. package/dist/types-ts4.5/labs/next/presets/cxhtml.d.ts +17 -15
  389. package/dist/types-ts4.5/labs/next/presets/default.d.ts +32 -30
  390. package/dist/types-ts4.5/labs/next/presets/mobile.d.ts +17 -15
  391. package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +1 -1
  392. package/dist/types-ts4.5/plugins/analytics/index.d.ts +3 -1
  393. package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +1 -1
  394. package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +5 -5
  395. package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +1 -1
  396. package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +3 -1
  397. package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +1 -1
  398. package/dist/types-ts4.5/plugins/annotation/utils.d.ts +5 -4
  399. package/dist/types-ts4.5/plugins/base/pm-plugins/better-type-history.d.ts +2 -2
  400. package/dist/types-ts4.5/plugins/base/pm-plugins/composition.d.ts +2 -2
  401. package/dist/types-ts4.5/plugins/base/pm-plugins/context-identifier.d.ts +2 -2
  402. package/dist/types-ts4.5/plugins/base/pm-plugins/disable-spell-checking.d.ts +1 -1
  403. package/dist/types-ts4.5/plugins/base/pm-plugins/filter-steps.d.ts +1 -1
  404. package/dist/types-ts4.5/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +2 -2
  405. package/dist/types-ts4.5/plugins/base/pm-plugins/focus-handler.d.ts +2 -2
  406. package/dist/types-ts4.5/plugins/base/pm-plugins/frozen-editor.d.ts +2 -2
  407. package/dist/types-ts4.5/plugins/base/pm-plugins/inline-cursor-target.d.ts +2 -2
  408. package/dist/types-ts4.5/plugins/base/pm-plugins/newline-preserve-marks.d.ts +2 -2
  409. package/dist/types-ts4.5/plugins/base/pm-plugins/scroll-gutter.d.ts +1 -1
  410. package/dist/types-ts4.5/plugins/block-type/commands/delete-and-move-cursor.d.ts +1 -1
  411. package/dist/types-ts4.5/plugins/block-type/commands/delete-block-content.d.ts +1 -1
  412. package/dist/types-ts4.5/plugins/block-type/pm-plugins/main.d.ts +2 -2
  413. package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +2 -2
  414. package/dist/types-ts4.5/plugins/breakout/types.d.ts +1 -1
  415. package/dist/types-ts4.5/plugins/caption/pm-plugins/main.d.ts +1 -1
  416. package/dist/types-ts4.5/plugins/caption/pm-plugins/plugin-key.d.ts +1 -1
  417. package/dist/types-ts4.5/plugins/card/pm-plugins/actions.d.ts +13 -13
  418. package/dist/types-ts4.5/plugins/card/pm-plugins/doc.d.ts +1 -1
  419. package/dist/types-ts4.5/plugins/card/pm-plugins/mountHyperlink.d.ts +1 -1
  420. package/dist/types-ts4.5/plugins/card/pm-plugins/plugin-key.d.ts +1 -1
  421. package/dist/types-ts4.5/plugins/card/ui/DatasourceModal.d.ts +1 -1
  422. package/dist/types-ts4.5/plugins/card/ui/EditLinkToolbar.d.ts +1 -1
  423. package/dist/types-ts4.5/plugins/card/ui/ResizableEmbedCard.d.ts +2 -1
  424. package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +1 -1
  425. package/dist/types-ts4.5/plugins/clipboard/plugin-key.d.ts +1 -1
  426. package/dist/types-ts4.5/plugins/clipboard/pm-plugins/main.d.ts +1 -1
  427. package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +1 -1
  428. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +1 -1
  429. package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +5 -3
  430. package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +1 -1
  431. package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +2 -9
  432. package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +1 -1
  433. package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +1 -1
  434. package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +1 -1
  435. package/dist/types-ts4.5/plugins/code-block/utils.d.ts +2 -2
  436. package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +2 -2
  437. package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +1 -1
  438. package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +2 -2
  439. package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +1 -1
  440. package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +1 -1
  441. package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +1 -1
  442. package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +1 -1
  443. package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +2 -2
  444. package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +3 -1
  445. package/dist/types-ts4.5/plugins/copy-button/pm-plugins/main.d.ts +1 -10
  446. package/dist/types-ts4.5/plugins/copy-button/pm-plugins/plugin-key.d.ts +1 -1
  447. package/dist/types-ts4.5/plugins/copy-button/toolbar.d.ts +3 -1
  448. package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +1 -2
  449. package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +1 -1
  450. package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +3 -1
  451. package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +1 -1
  452. package/dist/types-ts4.5/plugins/editor-disabled/index.d.ts +1 -1
  453. package/dist/types-ts4.5/plugins/emoji/index.d.ts +2 -2
  454. package/dist/types-ts4.5/plugins/emoji/pm-plugins/ascii-input-rules.d.ts +2 -2
  455. package/dist/types-ts4.5/plugins/expand/commands.d.ts +1 -1
  456. package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +2 -2
  457. package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +1 -1
  458. package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +4 -2
  459. package/dist/types-ts4.5/plugins/extension/actions.d.ts +3 -3
  460. package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +5 -3
  461. package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +1 -1
  462. package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +1 -1
  463. package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +1 -1
  464. package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +2 -2
  465. package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +1 -1
  466. package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +4 -2
  467. package/dist/types-ts4.5/plugins/find-replace/types.d.ts +1 -1
  468. package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +4 -3
  469. package/dist/types-ts4.5/plugins/floating-toolbar/index.d.ts +2 -2
  470. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +2 -2
  471. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +3 -1
  472. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +1 -1
  473. package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +1 -1
  474. package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +1 -1
  475. package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +1 -1
  476. package/dist/types-ts4.5/plugins/help-dialog/index.d.ts +1 -1
  477. package/dist/types-ts4.5/plugins/help-dialog/plugin-key.d.ts +1 -1
  478. package/dist/types-ts4.5/plugins/history/index.d.ts +1 -1
  479. package/dist/types-ts4.5/plugins/hyperlink/commands.d.ts +1 -1
  480. package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/fake-curor-for-toolbar-plugin-key.d.ts +1 -1
  481. package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/main.d.ts +2 -2
  482. package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/toolbar-buttons.d.ts +2 -2
  483. package/dist/types-ts4.5/plugins/image-upload/pm-plugins/actions.d.ts +1 -1
  484. package/dist/types-ts4.5/plugins/image-upload/pm-plugins/main.d.ts +2 -1
  485. package/dist/types-ts4.5/plugins/image-upload/pm-plugins/plugin-key.d.ts +1 -1
  486. package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +1 -1
  487. package/dist/types-ts4.5/plugins/layout/actions.d.ts +2 -2
  488. package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +2 -1
  489. package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +1 -1
  490. package/dist/types-ts4.5/plugins/list/pm-plugins/main.d.ts +1 -1
  491. package/dist/types-ts4.5/plugins/list/transforms.d.ts +2 -2
  492. package/dist/types-ts4.5/plugins/list/utils/selection.d.ts +1 -1
  493. package/dist/types-ts4.5/plugins/macro/index.d.ts +1 -1
  494. package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +1 -1
  495. package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +1 -1
  496. package/dist/types-ts4.5/plugins/media/nodeviews/mediaSingle.d.ts +1 -1
  497. package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/index.d.ts +5 -3
  498. package/dist/types-ts4.5/plugins/media/pm-plugins/linking/index.d.ts +5 -3
  499. package/dist/types-ts4.5/plugins/media/pm-plugins/main.d.ts +1 -1
  500. package/dist/types-ts4.5/plugins/media/pm-plugins/media-editor-plugin-factory.d.ts +1 -1
  501. package/dist/types-ts4.5/plugins/media/pm-plugins/plugin-key.d.ts +1 -1
  502. package/dist/types-ts4.5/plugins/media/toolbar/utils.d.ts +3 -1
  503. package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/index.d.ts +2 -1
  504. package/dist/types-ts4.5/plugins/media/utils/media-common.d.ts +1 -1
  505. package/dist/types-ts4.5/plugins/media/utils/media-single.d.ts +2 -2
  506. package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +1 -1
  507. package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +1 -1
  508. package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +4 -2
  509. package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +1 -1
  510. package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +1 -1
  511. package/dist/types-ts4.5/plugins/panel/types.d.ts +1 -1
  512. package/dist/types-ts4.5/plugins/panel/utils.d.ts +1 -1
  513. package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +1 -1
  514. package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +1 -1
  515. package/dist/types-ts4.5/plugins/paste/handlers.d.ts +2 -2
  516. package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +1 -1
  517. package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +4 -2
  518. package/dist/types-ts4.5/plugins/paste/util/index.d.ts +2 -2
  519. package/dist/types-ts4.5/plugins/placeholder/index.d.ts +1 -1
  520. package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +1 -1
  521. package/dist/types-ts4.5/plugins/quick-insert/index.d.ts +1 -1
  522. package/dist/types-ts4.5/plugins/quick-insert/plugin-key.d.ts +1 -1
  523. package/dist/types-ts4.5/plugins/quick-insert/search.d.ts +1 -1
  524. package/dist/types-ts4.5/plugins/rule/pm-plugins/input-rule.d.ts +1 -1
  525. package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +1 -1
  526. package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +1 -1
  527. package/dist/types-ts4.5/plugins/selection/plugin-factory.d.ts +3 -1
  528. package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-main.d.ts +1 -1
  529. package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +1 -1
  530. package/dist/types-ts4.5/plugins/selection/pm-plugins/keymap.d.ts +1 -1
  531. package/dist/types-ts4.5/plugins/selection/pm-plugins/selection-main.d.ts +1 -1
  532. package/dist/types-ts4.5/plugins/selection/types.d.ts +1 -1
  533. package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +1 -1
  534. package/dist/types-ts4.5/plugins/status/plugin.d.ts +1 -1
  535. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +2 -1
  536. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +1 -1
  537. package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +1 -1
  538. package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +1 -1
  539. package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/clear-formatting.d.ts +2 -2
  540. package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/cursor.d.ts +1 -1
  541. package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/main.d.ts +1 -1
  542. package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/plugin-key.d.ts +1 -1
  543. package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +1 -1
  544. package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/index.d.ts +2 -2
  545. package/dist/types-ts4.5/plugins/text-formatting/utils.d.ts +2 -2
  546. package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +2 -2
  547. package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +2 -2
  548. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +1 -1
  549. package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +1 -1
  550. package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +1 -1
  551. package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +4 -4
  552. package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +1 -1
  553. package/dist/types-ts4.5/plugins/unsupported-content/index.d.ts +1 -1
  554. package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +2 -2
  555. package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
  556. package/dist/types-ts4.5/types/editor-config.d.ts +1 -1
  557. package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +1 -1
  558. package/dist/types-ts4.5/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +1 -1
  559. package/dist/types-ts4.5/utils/action.d.ts +60 -2
  560. package/dist/types-ts4.5/utils/cell-selection.d.ts +1 -1
  561. package/dist/types-ts4.5/utils/commands.d.ts +1 -1
  562. package/dist/types-ts4.5/utils/document.d.ts +1 -1
  563. package/dist/types-ts4.5/utils/index.d.ts +1 -1
  564. package/dist/types-ts4.5/utils/keymap.d.ts +1 -1
  565. package/dist/types-ts4.5/utils/mark.d.ts +2 -2
  566. package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +2 -3
  567. package/package.json +7 -15
  568. package/report.api.md +21 -24
  569. package/tmp/api-report-tmp.d.ts +21 -21
@@ -1,2 +1,2 @@
1
1
  import { PluginKey } from 'prosemirror-state';
2
- export declare const pluginKey: PluginKey<any, any>;
2
+ export declare const pluginKey: PluginKey<any>;
@@ -1,5 +1,5 @@
1
1
  import { PluginKey } from 'prosemirror-state';
2
2
  import { NextEditorPlugin } from '@atlaskit/editor-common/types';
3
- export declare const pluginKey: PluginKey<any, any>;
3
+ export declare const pluginKey: PluginKey<any>;
4
4
  declare const unsupportedContentPlugin: NextEditorPlugin<'unsupportedContent'>;
5
5
  export default unsupportedContentPlugin;
@@ -4,10 +4,10 @@ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
4
4
  type UpdateArgs = {
5
5
  newEditorState: EditorState;
6
6
  oldEditorState: EditorState;
7
- transactions: Transaction[];
7
+ transactions: readonly Transaction[];
8
8
  };
9
9
  export type ViewUpdateSubscription = (args: UpdateArgs) => void;
10
- export declare const trackerStore: WeakMap<EditorView<any>, Tracker>;
10
+ export declare const trackerStore: WeakMap<EditorView, Tracker>;
11
11
  declare class Tracker {
12
12
  private subscriptions;
13
13
  constructor();
@@ -3,8 +3,8 @@ import { DatePluginState } from '../../date/pm-plugins/types';
3
3
  import { ConfigWithNodeInfo } from '../../floating-toolbar';
4
4
  import { StatusState } from '../../status/types';
5
5
  type SubscribeToToolbarAndPickerUpdatesCallbackArgs = {
6
- dateState: DatePluginState;
7
- statusState: StatusState;
6
+ dateState?: DatePluginState;
7
+ statusState?: StatusState;
8
8
  toolbarConfig: ConfigWithNodeInfo | null | undefined;
9
9
  };
10
10
  type SubscribeToToolbarAndPickerUpdates = (editorView: EditorView, cb: (args: SubscribeToToolbarAndPickerUpdatesCallbackArgs) => void) => () => void;
@@ -5,7 +5,7 @@ import { MarkConfig, NodeConfig } from './pm-config';
5
5
  import type { UIComponentFactory, ReactHookFactory } from '@atlaskit/editor-common/types';
6
6
  type EditorViewStateUpdatedCallbackProps = {
7
7
  readonly originalTransaction: Readonly<Transaction>;
8
- readonly transactions: Transaction[];
8
+ readonly transactions: readonly Transaction[];
9
9
  readonly oldEditorState: Readonly<EditorState>;
10
10
  readonly newEditorState: Readonly<EditorState>;
11
11
  };
@@ -9,5 +9,5 @@ import { EditorView } from 'prosemirror-view';
9
9
  * 2. if another modal is open (e.g. delete confirmation modal for confluence table) then ignore clicks as they shouldn't influence editor state
10
10
  */
11
11
  export declare const checkForModal: (target: HTMLElement) => boolean;
12
- declare const clickAreaClickHandler: (view: EditorView<any>, event: React.MouseEvent<any>) => false | undefined;
12
+ declare const clickAreaClickHandler: (view: EditorView, event: React.MouseEvent<any>) => false | undefined;
13
13
  export { clickAreaClickHandler };
@@ -19,7 +19,7 @@ export declare const KeyDownHandlerContext: React.Context<KeyDownHandlerContext>
19
19
  */
20
20
  export declare const ToolbarArrowKeyNavigationProvider: ({ children, editorView, childComponentSelector, handleEscape, disableArrowKeyNavigation, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar, intl, }: {
21
21
  children: ReactNode;
22
- editorView?: EditorView<any> | undefined;
22
+ editorView?: EditorView | undefined;
23
23
  childComponentSelector: string;
24
24
  handleEscape?: ((event: KeyboardEvent) => void) | undefined;
25
25
  disableArrowKeyNavigation?: boolean | undefined;
@@ -1,8 +1,66 @@
1
- /// <reference types="prosemirror-model" />
1
+ /// <reference path="../../../../../../typings/prosemirror.d.ts" />
2
2
  import type { EditorView } from 'prosemirror-view';
3
3
  import type { Command } from '../types/command';
4
4
  export declare function __temporaryFixForConfigPanel(editorView: EditorView): Promise<void>;
5
- export declare function getEditorValueWithMedia(editorView: EditorView): Promise<import("prosemirror-model").Node<any>>;
5
+ export declare function getEditorValueWithMedia(editorView: EditorView): Promise<{
6
+ type: import("prosemirror-model").NodeType;
7
+ attrs: {
8
+ [key: string]: any;
9
+ };
10
+ content: import("prosemirror-model").Fragment;
11
+ marks: import("prosemirror-model").Mark[];
12
+ text?: string | null | undefined;
13
+ nodeSize: number;
14
+ childCount: number;
15
+ child(index: number): any;
16
+ maybeChild(index: number): any | null | undefined;
17
+ forEach(f: (node: any, offset: number, index: number) => void): void;
18
+ nodesBetween(from: number, to: number, f: (node: any, pos: number, parent: any, index: number) => boolean | void | null | undefined, startPos?: number | undefined): void;
19
+ descendants(f: (node: any, pos: number, parent: any) => boolean | void | null | undefined): void;
20
+ textContent: string;
21
+ textBetween(from: number, to: number, blockSeparator?: string | undefined, leafText?: string | undefined): string;
22
+ firstChild?: any | null | undefined;
23
+ lastChild?: any | null | undefined;
24
+ eq(other: any): boolean;
25
+ sameMarkup(other: any): boolean;
26
+ hasMarkup(type: import("prosemirror-model").NodeType, attrs?: {
27
+ [key: string]: any;
28
+ } | undefined, marks?: import("prosemirror-model").Mark[] | undefined): boolean;
29
+ copy(content?: import("prosemirror-model").Fragment | undefined): any;
30
+ mark(marks: import("prosemirror-model").Mark[]): any;
31
+ cut(from: number, to?: number | undefined): any;
32
+ slice(from: number, to?: number | undefined): import("prosemirror-model").Slice;
33
+ replace(from: number, to: number, slice: import("prosemirror-model").Slice): any;
34
+ nodeAt(pos: number): any | null | undefined;
35
+ childAfter(pos: number): {
36
+ node?: any | null | undefined;
37
+ index: number;
38
+ offset: number;
39
+ };
40
+ childBefore(pos: number): {
41
+ node?: any | null | undefined;
42
+ index: number;
43
+ offset: number;
44
+ };
45
+ resolve(pos: number): import("prosemirror-model").ResolvedPos;
46
+ rangeHasMark(from: number, to: number, type: import("prosemirror-model").Mark | import("prosemirror-model").MarkType): boolean;
47
+ isBlock: boolean;
48
+ isTextblock: boolean;
49
+ inlineContent: boolean;
50
+ isInline: boolean;
51
+ isText: boolean;
52
+ isLeaf: boolean;
53
+ isAtom: boolean;
54
+ toString(): string;
55
+ contentMatchAt(index: number): import("prosemirror-model").ContentMatch;
56
+ canReplace(from: number, to: number, replacement?: import("prosemirror-model").Fragment | undefined, start?: number | undefined, end?: number | undefined): boolean;
57
+ canReplaceWith(from: number, to: number, type: import("prosemirror-model").NodeType, marks?: import("prosemirror-model").Mark[] | undefined): boolean;
58
+ canAppend(other: any): boolean;
59
+ check(): void;
60
+ toJSON(): {
61
+ [key: string]: any;
62
+ };
63
+ }>;
6
64
  /**
7
65
  * Iterates over the commands one after the other,
8
66
  * passes the tr through and dispatches the cumulated transaction
@@ -1,3 +1,3 @@
1
1
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
2
2
  import { Node } from 'prosemirror-model';
3
- export declare const cellSelectionNodesBetween: (selection: CellSelection, doc: Node, f: (node: Node, pos: number, parent: Node, index: number) => boolean | null | undefined | void, startPos?: number) => void;
3
+ export declare const cellSelectionNodesBetween: (selection: CellSelection, doc: Node, f: (node: Node, pos: number, parent: Node | null, index: number) => void | boolean, startPos?: number) => void;
@@ -17,7 +17,7 @@ declare const isFirstChildOfParent: (state: EditorState) => boolean;
17
17
  */
18
18
  declare const isNthParentOfType: (nodeType: string, depthAway: number) => (state: EditorState, view?: EditorView) => boolean;
19
19
  declare function findCutBefore($pos: ResolvedPos): ResolvedPos | null;
20
- declare const applyMarkOnRange: (from: number, to: number, removeMark: boolean, mark: Mark, tr: Transaction) => Transaction<any>;
20
+ declare const applyMarkOnRange: (from: number, to: number, removeMark: boolean, mark: Mark, tr: Transaction) => Transaction;
21
21
  /**
22
22
  * A wrapper over the default toggleMark, except when we have a selection
23
23
  * we only toggle marks on text nodes rather than inline nodes.
@@ -21,7 +21,7 @@ export declare function processRawFragmentValue(schema: Schema, value?: ReplaceR
21
21
  */
22
22
  export declare const findFarthestParentNode: (predicate: (node: Node) => boolean) => ($pos: ResolvedPos) => ContentNodeWithPos | null;
23
23
  export declare const isSelectionEndOfParagraph: (state: EditorState) => boolean;
24
- export type ChangedFn = (node: Node<any>, pos: number, parent: Node<any>, index: number) => boolean | null | undefined | void;
24
+ export type ChangedFn = (node: Node, pos: number, parent: Node | null, index: number) => boolean | void;
25
25
  export declare function getChangedNodesIn({ tr, doc, }: {
26
26
  tr: ReadonlyTransaction | Transaction;
27
27
  doc: Node;
@@ -37,7 +37,7 @@ export declare const insideTableCell: (state: EditorState) => boolean;
37
37
  export declare const isInListItem: (state: EditorState) => boolean;
38
38
  export declare const hasOpenEnd: (slice: Slice) => boolean;
39
39
  export declare const isInsideBlockQuote: (state: EditorState) => boolean;
40
- export declare function filterChildrenBetween(doc: Node, from: number, to: number, predicate: (node: Node, pos: number, parent: Node) => boolean | undefined): {
40
+ export declare function filterChildrenBetween(doc: Node, from: number, to: number, predicate: (node: Node, pos: number, parent: Node | null) => boolean | undefined): {
41
41
  node: Node;
42
42
  pos: number;
43
43
  }[];
@@ -8,4 +8,4 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
8
8
  */
9
9
  export declare function keymap(bindings: {
10
10
  [key: string]: any;
11
- }): SafePlugin<any, any>;
11
+ }): SafePlugin<any>;
@@ -1,7 +1,7 @@
1
1
  import { Node, Mark, MarkType, NodeType } from 'prosemirror-model';
2
2
  import { SelectionRange, EditorState, Transaction } from 'prosemirror-state';
3
- export declare const isMarkAllowedInRange: (doc: Node, ranges: Array<SelectionRange>, type: MarkType) => boolean;
4
- export declare const isMarkExcluded: (type: MarkType, marks?: Array<Mark> | null) => boolean;
3
+ export declare const isMarkAllowedInRange: (doc: Node, ranges: readonly SelectionRange[], type: MarkType) => boolean;
4
+ export declare const isMarkExcluded: (type: MarkType, marks?: readonly Mark[] | null) => boolean;
5
5
  export declare const removeBlockMarks: (state: EditorState, marks: Array<MarkType | undefined>) => Transaction | undefined;
6
6
  /**
7
7
  * Removes marks from nodes in the current selection that are not supported
@@ -1,6 +1,5 @@
1
1
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
2
  import { SafePluginSpec } from 'prosemirror-state';
3
- import { Schema } from 'prosemirror-model';
4
3
  import { EditorProps } from '../../types/editor-props';
5
4
  import { TransactionTracker } from './track-transactions';
6
5
  import { FeatureFlags } from '../../types/feature-flags';
@@ -10,8 +9,8 @@ type InstrumentedPluginOptions = EditorProps['performanceTracking'] & {
10
9
  saferDispatchedTransactionsAnalyticsOnly?: FeatureFlags['saferDispatchedTransactionsAnalyticsOnly'];
11
10
  dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
12
11
  };
13
- export declare class InstrumentedPlugin<PluginState, NodeSchema extends Schema<any, any>> extends SafePlugin<PluginState, NodeSchema> {
12
+ export declare class InstrumentedPlugin<PluginState> extends SafePlugin<PluginState> {
14
13
  constructor(spec: SafePluginSpec, options?: InstrumentedPluginOptions, transactionTracker?: TransactionTracker);
15
- static fromPlugin<T, V extends Schema<any, any>>(plugin: SafePlugin<T, V>, options: InstrumentedPluginOptions, transactionTracker?: TransactionTracker): InstrumentedPlugin<T, V>;
14
+ static fromPlugin<T>(plugin: SafePlugin<T>, options: InstrumentedPluginOptions, transactionTracker?: TransactionTracker): InstrumentedPlugin<T>;
16
15
  }
17
16
  export {};
@@ -11,7 +11,7 @@ export declare function createParagraphNear(append?: boolean): Command;
11
11
  export declare function addParagraphAtEnd(tr: Transaction): void;
12
12
  export declare function createParagraphAtEnd(): Command;
13
13
  export declare const changeImageAlignment: (align?: AlignmentState) => Command;
14
- export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType<any>[] | ((schema: Schema, node: PMNode, parent: PMNode) => boolean) | undefined) => (from: number, to: number, tr: Transaction, state: EditorState) => boolean;
14
+ export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType[] | ((schema: Schema, node: PMNode, parent: PMNode | null) => boolean) | undefined) => (from: number, to: number, tr: Transaction, state: EditorState) => boolean;
15
15
  /**
16
16
  * Toggles block mark based on the return type of `getAttrs`.
17
17
  * This is similar to ProseMirror's `getAttrs` from `AttributeSpec`
@@ -19,5 +19,5 @@ export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markT
19
19
  * return `undefined for no-op.
20
20
  * return an `object` to update the mark.
21
21
  */
22
- export declare const toggleBlockMark: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType<any>[] | ((schema: Schema, node: PMNode, parent: PMNode) => boolean) | undefined) => Command;
22
+ export declare const toggleBlockMark: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType[] | ((schema: Schema, node: PMNode, parent: PMNode | null) => boolean) | undefined) => Command;
23
23
  export declare const clearEditorContent: Command;
@@ -85,7 +85,7 @@ export declare class ReactEditorView<T = {}> extends React.Component<EditorViewP
85
85
  private countNodes;
86
86
  private isTransactionTrackingExplicitlyDisabled;
87
87
  constructor(props: EditorViewProps & WrappedComponentProps & T, context: EditorReactContext);
88
- getEditorState: () => EditorState<any> | undefined;
88
+ getEditorState: () => EditorState | undefined;
89
89
  UNSAFE_componentWillReceiveProps(nextProps: EditorViewProps): void;
90
90
  formatFullWidthAppearance: (appearance: EditorAppearance | undefined) => FULL_WIDTH_MODE;
91
91
  resetEditorState: ({ doc, shouldScrollToBottom, }: {
@@ -102,7 +102,7 @@ export declare class ReactEditorView<T = {}> extends React.Component<EditorViewP
102
102
  componentWillUnmount(): void;
103
103
  private editorPlugins;
104
104
  getPlugins(preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>): EditorPlugin[];
105
- createEditorState: (options: CreateEditorStateOptions) => EditorState<any>;
105
+ createEditorState: (options: CreateEditorStateOptions) => EditorState;
106
106
  private onEditorViewStateUpdated;
107
107
  private trackValidTransactions;
108
108
  private dispatchTransaction;
@@ -1,3 +1,5 @@
1
+ /// <reference path="../../../../../typings/prosemirror.d.ts" />
2
+ /// <reference path="../../../../../typings/prosemirror-state.d.ts" />
1
3
  export { getChangedNodes } from './utils/document';
2
4
  export { validateNodes } from './utils/nodes';
3
5
  export { toJSON } from './utils';
@@ -8,7 +10,7 @@ export { ExtensionNode } from './plugins/extension/nodeviews/extension';
8
10
  * @deprecated [ED-14688] - used during the table viz project and not used anymore
9
11
  * will be removed in a future version of `@atlaskit/editor-core`
10
12
  */
11
- declare const tablePluginKey: import("prosemirror-state").PluginKey<import("@atlaskit/editor-plugin-table/types").TablePluginState, any>;
13
+ declare const tablePluginKey: import("prosemirror-state").PluginKey<import("@atlaskit/editor-plugin-table/types").TablePluginState>;
12
14
  export { tablePluginKey };
13
15
  export declare const EmitterEvents: {
14
16
  TABLE_DELETED: string;
@@ -1,3 +1,5 @@
1
+ /// <reference path="../../../../../../../../typings/prosemirror.d.ts" />
2
+ /// <reference path="../../../../../../../../typings/prosemirror-state.d.ts" />
1
3
  import React from 'react';
2
4
  import { MentionProvider } from '@atlaskit/mention/resource';
3
5
  import { MediaProvider } from '../../../plugins/media';
@@ -29,13 +31,13 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
29
31
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
30
32
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
31
33
  actions: {
32
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
34
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
33
35
  removeDecoration: import("@atlaskit/editor-common/types").Command;
34
36
  };
35
37
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
36
38
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
37
39
  actions: {
38
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
40
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
39
41
  removeDecoration: import("@atlaskit/editor-common/types").Command;
40
42
  };
41
43
  }>,
@@ -79,13 +81,13 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
79
81
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
80
82
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
81
83
  actions: {
82
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
84
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
83
85
  removeDecoration: import("@atlaskit/editor-common/types").Command;
84
86
  };
85
87
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
86
88
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
87
89
  actions: {
88
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
90
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
89
91
  removeDecoration: import("@atlaskit/editor-common/types").Command;
90
92
  };
91
93
  }>,
@@ -141,23 +143,23 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
141
143
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
142
144
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
143
145
  actions: {
144
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
146
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
145
147
  removeDecoration: import("@atlaskit/editor-common/types").Command;
146
148
  };
147
149
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
148
150
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
149
151
  actions: {
150
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
152
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
151
153
  removeDecoration: import("@atlaskit/editor-common/types").Command;
152
154
  };
153
155
  }>,
154
156
  import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
155
157
  actions: {
156
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
158
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
157
159
  };
158
160
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
159
161
  actions: {
160
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
162
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
161
163
  };
162
164
  }>>
163
165
  ];
@@ -176,23 +178,23 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
176
178
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
177
179
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
178
180
  actions: {
179
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
181
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
180
182
  removeDecoration: import("@atlaskit/editor-common/types").Command;
181
183
  };
182
184
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
183
185
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
184
186
  actions: {
185
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
187
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
186
188
  removeDecoration: import("@atlaskit/editor-common/types").Command;
187
189
  };
188
190
  }>,
189
191
  import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
190
192
  actions: {
191
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
193
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
192
194
  };
193
195
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
194
196
  actions: {
195
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
197
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
196
198
  };
197
199
  }>>
198
200
  ];
@@ -201,10 +203,10 @@ export declare function useCXHTMLPreset({ mentionProvider, mediaProvider, placeh
201
203
  };
202
204
  }>,
203
205
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"fakeTextCursor", {}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"fakeTextCursor", {}>,
204
- (config?: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
205
- pluginConfiguration: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined;
206
+ (config?: ((editorView: import("prosemirror-view").EditorView) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
207
+ pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
206
208
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"submitEditor", {
207
- pluginConfiguration: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined;
209
+ pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
208
210
  }>,
209
211
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"editorDisabled", {
210
212
  sharedState: import("../../../plugins/editor-disabled").EditorDisabledPluginState;
@@ -1,3 +1,5 @@
1
+ /// <reference path="../../../../../../../../typings/prosemirror.d.ts" />
2
+ /// <reference path="../../../../../../../../typings/prosemirror-state.d.ts" />
1
3
  import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
4
  import { PastePluginOptions } from '../../../plugins/paste';
3
5
  import { BasePluginOptions } from '../../../plugins/base';
@@ -58,13 +60,13 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
58
60
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
59
61
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
60
62
  actions: {
61
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
63
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
62
64
  removeDecoration: import("@atlaskit/editor-common/types").Command;
63
65
  };
64
66
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
65
67
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
66
68
  actions: {
67
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
69
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
68
70
  removeDecoration: import("@atlaskit/editor-common/types").Command;
69
71
  };
70
72
  }>,
@@ -108,13 +110,13 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
108
110
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
109
111
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
110
112
  actions: {
111
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
113
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
112
114
  removeDecoration: import("@atlaskit/editor-common/types").Command;
113
115
  };
114
116
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
115
117
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
116
118
  actions: {
117
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
119
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
118
120
  removeDecoration: import("@atlaskit/editor-common/types").Command;
119
121
  };
120
122
  }>,
@@ -170,23 +172,23 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
170
172
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
171
173
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
172
174
  actions: {
173
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
175
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
174
176
  removeDecoration: import("@atlaskit/editor-common/types").Command;
175
177
  };
176
178
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
177
179
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
178
180
  actions: {
179
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
181
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
180
182
  removeDecoration: import("@atlaskit/editor-common/types").Command;
181
183
  };
182
184
  }>,
183
185
  import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
184
186
  actions: {
185
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
187
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
186
188
  };
187
189
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
188
190
  actions: {
189
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
191
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
190
192
  };
191
193
  }>>
192
194
  ];
@@ -205,23 +207,23 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
205
207
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
206
208
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
207
209
  actions: {
208
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
210
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
209
211
  removeDecoration: import("@atlaskit/editor-common/types").Command;
210
212
  };
211
213
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
212
214
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
213
215
  actions: {
214
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
216
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
215
217
  removeDecoration: import("@atlaskit/editor-common/types").Command;
216
218
  };
217
219
  }>,
218
220
  import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
219
221
  actions: {
220
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
222
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
221
223
  };
222
224
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
223
225
  actions: {
224
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
226
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
225
227
  };
226
228
  }>>
227
229
  ];
@@ -230,10 +232,10 @@ export declare function createDefaultPreset(options: EditorPresetProps & Default
230
232
  };
231
233
  }>,
232
234
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"fakeTextCursor", {}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"fakeTextCursor", {}>,
233
- (config?: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
234
- pluginConfiguration: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined;
235
+ (config?: ((editorView: import("prosemirror-view").EditorView) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
236
+ pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
235
237
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"submitEditor", {
236
- pluginConfiguration: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined;
238
+ pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
237
239
  }>,
238
240
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"editorDisabled", {
239
241
  sharedState: import("../../../plugins/editor-disabled").EditorDisabledPluginState;
@@ -379,13 +381,13 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
379
381
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
380
382
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
381
383
  actions: {
382
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
384
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
383
385
  removeDecoration: import("@atlaskit/editor-common/types").Command;
384
386
  };
385
387
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
386
388
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
387
389
  actions: {
388
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
390
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
389
391
  removeDecoration: import("@atlaskit/editor-common/types").Command;
390
392
  };
391
393
  }>,
@@ -429,13 +431,13 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
429
431
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
430
432
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
431
433
  actions: {
432
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
434
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
433
435
  removeDecoration: import("@atlaskit/editor-common/types").Command;
434
436
  };
435
437
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
436
438
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
437
439
  actions: {
438
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
440
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
439
441
  removeDecoration: import("@atlaskit/editor-common/types").Command;
440
442
  };
441
443
  }>,
@@ -491,23 +493,23 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
491
493
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
492
494
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
493
495
  actions: {
494
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
496
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
495
497
  removeDecoration: import("@atlaskit/editor-common/types").Command;
496
498
  };
497
499
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
498
500
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
499
501
  actions: {
500
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
502
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
501
503
  removeDecoration: import("@atlaskit/editor-common/types").Command;
502
504
  };
503
505
  }>,
504
506
  import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
505
507
  actions: {
506
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
508
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
507
509
  };
508
510
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
509
511
  actions: {
510
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
512
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
511
513
  };
512
514
  }>>
513
515
  ];
@@ -526,23 +528,23 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
526
528
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"decorations", {
527
529
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
528
530
  actions: {
529
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
531
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
530
532
  removeDecoration: import("@atlaskit/editor-common/types").Command;
531
533
  };
532
534
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"decorations", {
533
535
  sharedState: import("@atlaskit/editor-plugin-decorations").DecorationState;
534
536
  actions: {
535
- hoverDecoration: (nodeType: import("prosemirror-model").NodeType<any> | import("prosemirror-model").NodeType<any>[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
537
+ hoverDecoration: (nodeType: import("prosemirror-model").NodeType | import("prosemirror-model").NodeType[], add: boolean, className?: string | undefined) => import("@atlaskit/editor-common/types").Command;
536
538
  removeDecoration: import("@atlaskit/editor-common/types").Command;
537
539
  };
538
540
  }>,
539
541
  import("@atlaskit/editor-common/types").OptionalPlugin<(config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"contextPanel", {
540
542
  actions: {
541
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
543
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
542
544
  };
543
545
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"contextPanel", {
544
546
  actions: {
545
- applyChange: (tr: import("prosemirror-state").Transaction<any>) => import("prosemirror-state").Transaction<any>;
547
+ applyChange: (tr: import("prosemirror-state").Transaction) => import("prosemirror-state").Transaction;
546
548
  };
547
549
  }>>
548
550
  ];
@@ -551,10 +553,10 @@ export declare function useDefaultPreset(props: EditorPresetProps & DefaultPrese
551
553
  };
552
554
  }>,
553
555
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"fakeTextCursor", {}> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"fakeTextCursor", {}>,
554
- (config?: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
555
- pluginConfiguration: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined;
556
+ (config?: ((editorView: import("prosemirror-view").EditorView) => void) | undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"submitEditor", {
557
+ pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
556
558
  }> | undefined) => import("@atlaskit/editor-common/types").DefaultEditorPlugin<"submitEditor", {
557
- pluginConfiguration: ((editorView: import("prosemirror-view").EditorView<any>) => void) | undefined;
559
+ pluginConfiguration: ((editorView: import("prosemirror-view").EditorView) => void) | undefined;
558
560
  }>,
559
561
  (config?: undefined, api?: import("@atlaskit/editor-common/types").PluginInjectionAPI<"editorDisabled", {
560
562
  sharedState: import("../../../plugins/editor-disabled").EditorDisabledPluginState;