@contember/react-slate-editor-base 2.0.0-alpha.2 → 2.0.0-alpha.21

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 (1095) hide show
  1. package/api-extractor.json +3 -0
  2. package/dist/development/index.cjs +47 -47
  3. package/dist/development/index.js +47 -47
  4. package/dist/development/src/components/RichTextEditor.cjs +105 -0
  5. package/dist/development/src/components/RichTextEditor.cjs.map +1 -0
  6. package/dist/development/src/components/RichTextEditor.js +105 -0
  7. package/dist/development/src/components/RichTextEditor.js.map +1 -0
  8. package/dist/development/src/components/triggers/EditorElementTrigger.cjs +20 -0
  9. package/dist/development/src/components/triggers/EditorElementTrigger.cjs.map +1 -0
  10. package/dist/development/src/components/triggers/EditorElementTrigger.js +20 -0
  11. package/dist/development/src/components/triggers/EditorElementTrigger.js.map +1 -0
  12. package/dist/development/src/components/triggers/EditorGenericTrigger.cjs +24 -0
  13. package/dist/development/src/components/triggers/EditorGenericTrigger.cjs.map +1 -0
  14. package/dist/development/src/components/triggers/EditorGenericTrigger.js +24 -0
  15. package/dist/development/src/components/triggers/EditorGenericTrigger.js.map +1 -0
  16. package/dist/development/src/components/triggers/EditorMarkTrigger.cjs +20 -0
  17. package/dist/development/src/components/triggers/EditorMarkTrigger.cjs.map +1 -0
  18. package/dist/development/src/components/triggers/EditorMarkTrigger.js +20 -0
  19. package/dist/development/src/components/triggers/EditorMarkTrigger.js.map +1 -0
  20. package/dist/development/src/components/triggers/EditorWrapNodeTrigger.cjs +32 -0
  21. package/dist/development/src/components/triggers/EditorWrapNodeTrigger.cjs.map +1 -0
  22. package/dist/development/src/components/triggers/EditorWrapNodeTrigger.js +32 -0
  23. package/dist/development/src/components/triggers/EditorWrapNodeTrigger.js.map +1 -0
  24. package/dist/development/src/editor/createEditor.cjs +35 -0
  25. package/dist/development/src/editor/createEditor.cjs.map +1 -0
  26. package/dist/development/src/editor/createEditor.js.map +1 -0
  27. package/dist/development/src/editor/createEditorWithEssentials.cjs +227 -0
  28. package/dist/development/src/editor/createEditorWithEssentials.cjs.map +1 -0
  29. package/dist/development/src/editor/createEditorWithEssentials.js.map +1 -0
  30. package/dist/development/src/editor/index.cjs.map +1 -0
  31. package/dist/development/src/editor/index.js.map +1 -0
  32. package/dist/development/src/editor/methods/addMarks.cjs.map +1 -0
  33. package/dist/development/src/editor/methods/addMarks.js.map +1 -0
  34. package/dist/development/src/editor/methods/canToggleMark.cjs.map +1 -0
  35. package/dist/development/src/editor/methods/canToggleMark.js.map +1 -0
  36. package/dist/development/src/editor/methods/closest.cjs.map +1 -0
  37. package/dist/development/src/editor/methods/closest.js.map +1 -0
  38. package/dist/development/src/editor/methods/closestBlockEntry.cjs.map +1 -0
  39. package/dist/development/src/editor/methods/closestBlockEntry.js.map +1 -0
  40. package/dist/development/src/editor/methods/closestViableBlockContainerEntry.cjs.map +1 -0
  41. package/dist/development/src/editor/methods/closestViableBlockContainerEntry.js.map +1 -0
  42. package/dist/development/src/editor/methods/ejectElement.cjs.map +1 -0
  43. package/dist/development/src/editor/methods/ejectElement.js.map +1 -0
  44. package/dist/development/src/editor/methods/elementToSpecifics.cjs.map +1 -0
  45. package/dist/development/src/editor/methods/elementToSpecifics.js.map +1 -0
  46. package/dist/development/src/editor/methods/getElementDataAttributes.cjs.map +1 -0
  47. package/dist/development/src/editor/methods/getElementDataAttributes.js.map +1 -0
  48. package/dist/development/src/editor/methods/getPreviousSibling.cjs.map +1 -0
  49. package/dist/development/src/editor/methods/getPreviousSibling.js.map +1 -0
  50. package/dist/development/src/editor/methods/hasMarks.cjs.map +1 -0
  51. package/dist/development/src/editor/methods/hasMarks.js.map +1 -0
  52. package/dist/development/src/editor/methods/hasParentOfType.cjs.map +1 -0
  53. package/dist/development/src/editor/methods/hasParentOfType.js.map +1 -0
  54. package/dist/development/src/editor/methods/isElementType.cjs.map +1 -0
  55. package/dist/development/src/editor/methods/isElementType.js.map +1 -0
  56. package/dist/development/src/editor/methods/permissivelyDeserializeNodes.cjs.map +1 -0
  57. package/dist/development/src/editor/methods/permissivelyDeserializeNodes.js.map +1 -0
  58. package/dist/development/src/editor/methods/removeMarks.cjs.map +1 -0
  59. package/dist/development/src/editor/methods/removeMarks.js.map +1 -0
  60. package/dist/development/src/editor/methods/serializeNodes.cjs.map +1 -0
  61. package/dist/development/src/editor/methods/serializeNodes.js.map +1 -0
  62. package/dist/development/src/editor/methods/strictlyDeserializeNodes.cjs.map +1 -0
  63. package/dist/development/src/editor/methods/strictlyDeserializeNodes.js.map +1 -0
  64. package/dist/development/src/editor/methods/textToSpecifics.cjs.map +1 -0
  65. package/dist/development/src/editor/methods/textToSpecifics.js.map +1 -0
  66. package/dist/development/src/editor/methods/toLatestFormat.cjs.map +1 -0
  67. package/dist/development/src/editor/methods/toLatestFormat.js.map +1 -0
  68. package/dist/development/src/editor/methods/topLevelNodes.cjs.map +1 -0
  69. package/dist/development/src/editor/methods/topLevelNodes.js.map +1 -0
  70. package/dist/development/src/internal/components/DefaultElement.cjs +11 -0
  71. package/dist/development/src/internal/components/DefaultElement.cjs.map +1 -0
  72. package/dist/development/src/internal/components/DefaultElement.js.map +1 -0
  73. package/dist/development/src/internal/hooks/useRichTextFieldNodes.cjs.map +1 -0
  74. package/dist/development/src/internal/hooks/useRichTextFieldNodes.js.map +1 -0
  75. package/dist/development/src/internal/utils/EditorPasteUtils.cjs.map +1 -0
  76. package/dist/development/src/internal/utils/EditorPasteUtils.js.map +1 -0
  77. package/dist/development/src/internal/utils/parseUrl.cjs.map +1 -0
  78. package/dist/development/src/internal/utils/parseUrl.js.map +1 -0
  79. package/dist/development/src/plugins/attributes/alignment/alignButton.cjs.map +1 -0
  80. package/dist/development/src/plugins/attributes/alignment/alignButton.js.map +1 -0
  81. package/dist/development/src/plugins/behaviour/paste/HtmlDeserializer.cjs.map +1 -0
  82. package/dist/development/src/plugins/behaviour/paste/HtmlDeserializer.js.map +1 -0
  83. package/dist/development/src/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs.map +1 -0
  84. package/dist/development/src/plugins/behaviour/paste/createMarkHtmlDeserializer.js.map +1 -0
  85. package/dist/development/src/plugins/behaviour/paste/withPaste.cjs.map +1 -0
  86. package/dist/development/src/plugins/behaviour/paste/withPaste.js.map +1 -0
  87. package/dist/development/src/plugins/element/anchors/AnchorElement.cjs.map +1 -0
  88. package/dist/development/src/plugins/element/anchors/AnchorElement.js.map +1 -0
  89. package/dist/development/src/plugins/element/anchors/AnchorHtmlDeserializer.cjs.map +1 -0
  90. package/dist/development/src/plugins/element/anchors/AnchorHtmlDeserializer.js.map +1 -0
  91. package/dist/development/src/plugins/element/anchors/AnchorModifications.cjs.map +1 -0
  92. package/dist/development/src/plugins/element/anchors/AnchorModifications.js.map +1 -0
  93. package/dist/development/src/plugins/element/anchors/withAnchors.cjs.map +1 -0
  94. package/dist/development/src/plugins/element/anchors/withAnchors.js.map +1 -0
  95. package/dist/development/src/plugins/element/headings/HeadingElement.cjs.map +1 -0
  96. package/dist/development/src/plugins/element/headings/HeadingElement.js.map +1 -0
  97. package/dist/development/src/plugins/element/headings/HeadingHtmlDeserializer.cjs.map +1 -0
  98. package/dist/development/src/plugins/element/headings/HeadingHtmlDeserializer.js.map +1 -0
  99. package/dist/development/src/plugins/element/headings/withHeadings.cjs.map +1 -0
  100. package/dist/development/src/plugins/element/headings/withHeadings.js.map +1 -0
  101. package/dist/development/src/plugins/element/horizonalRules/HorizontalRuleElement.cjs.map +1 -0
  102. package/dist/development/src/plugins/element/horizonalRules/HorizontalRuleElement.js.map +1 -0
  103. package/dist/development/src/plugins/element/horizonalRules/withHorizontalRules.cjs.map +1 -0
  104. package/dist/development/src/plugins/element/horizonalRules/withHorizontalRules.js.map +1 -0
  105. package/dist/development/src/plugins/element/lists/ListElement.cjs.map +1 -0
  106. package/dist/development/src/plugins/element/lists/ListElement.js.map +1 -0
  107. package/dist/development/src/plugins/element/lists/ListHtmlDeserializer.cjs.map +1 -0
  108. package/dist/development/src/plugins/element/lists/ListHtmlDeserializer.js.map +1 -0
  109. package/dist/development/src/plugins/element/lists/ListItemElement.cjs.map +1 -0
  110. package/dist/development/src/plugins/element/lists/ListItemElement.js.map +1 -0
  111. package/dist/development/src/plugins/element/lists/OrderedListElement.cjs.map +1 -0
  112. package/dist/development/src/plugins/element/lists/OrderedListElement.js.map +1 -0
  113. package/dist/development/src/plugins/element/lists/UnorderedListElement.cjs.map +1 -0
  114. package/dist/development/src/plugins/element/lists/UnorderedListElement.js.map +1 -0
  115. package/dist/development/src/plugins/element/lists/transforms/dedentListItem.cjs.map +1 -0
  116. package/dist/development/src/plugins/element/lists/transforms/dedentListItem.js.map +1 -0
  117. package/dist/development/src/plugins/element/lists/transforms/indentListItem.cjs.map +1 -0
  118. package/dist/development/src/plugins/element/lists/transforms/indentListItem.js.map +1 -0
  119. package/dist/development/src/plugins/element/lists/transforms/normalizeListElement.cjs.map +1 -0
  120. package/dist/development/src/plugins/element/lists/transforms/normalizeListElement.js.map +1 -0
  121. package/dist/development/src/plugins/element/lists/transforms/toggleListElement.cjs.map +1 -0
  122. package/dist/development/src/plugins/element/lists/transforms/toggleListElement.js.map +1 -0
  123. package/dist/development/src/plugins/element/lists/withLists.cjs.map +1 -0
  124. package/dist/development/src/plugins/element/lists/withLists.js.map +1 -0
  125. package/dist/development/src/plugins/element/paragraphs/ParagraphElement.cjs.map +1 -0
  126. package/dist/development/src/plugins/element/paragraphs/ParagraphElement.js.map +1 -0
  127. package/dist/development/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs.map +1 -0
  128. package/dist/development/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.js.map +1 -0
  129. package/dist/development/src/plugins/element/paragraphs/withParagraphs.cjs.map +1 -0
  130. package/dist/development/src/plugins/element/paragraphs/withParagraphs.js.map +1 -0
  131. package/dist/development/src/plugins/element/scrollTargets/ScrollTargetElement.cjs.map +1 -0
  132. package/dist/development/src/plugins/element/scrollTargets/ScrollTargetElement.js.map +1 -0
  133. package/dist/development/src/plugins/element/scrollTargets/withScrollTargets.cjs.map +1 -0
  134. package/dist/development/src/plugins/element/scrollTargets/withScrollTargets.js.map +1 -0
  135. package/dist/development/src/plugins/element/tables/TableCellElement.cjs.map +1 -0
  136. package/dist/development/src/plugins/element/tables/TableCellElement.js.map +1 -0
  137. package/dist/development/src/plugins/element/tables/TableElement.cjs.map +1 -0
  138. package/dist/development/src/plugins/element/tables/TableElement.js.map +1 -0
  139. package/dist/development/src/plugins/element/tables/TableElementSelection.cjs.map +1 -0
  140. package/dist/development/src/plugins/element/tables/TableElementSelection.js.map +1 -0
  141. package/dist/development/src/plugins/element/tables/TableModifications.cjs +134 -0
  142. package/dist/development/src/plugins/element/tables/TableModifications.cjs.map +1 -0
  143. package/dist/development/src/plugins/element/tables/TableModifications.js +134 -0
  144. package/dist/development/src/plugins/element/tables/TableModifications.js.map +1 -0
  145. package/dist/development/src/plugins/element/tables/TableRowElement.cjs.map +1 -0
  146. package/dist/development/src/plugins/element/tables/TableRowElement.js.map +1 -0
  147. package/dist/development/src/plugins/element/tables/gaugeTableColumnCount.cjs.map +1 -0
  148. package/dist/development/src/plugins/element/tables/gaugeTableColumnCount.js.map +1 -0
  149. package/dist/development/src/plugins/element/tables/withTables.cjs.map +1 -0
  150. package/dist/development/src/plugins/element/tables/withTables.js.map +1 -0
  151. package/dist/development/src/plugins/text/bold/boldMark.cjs +13 -0
  152. package/dist/development/src/plugins/text/bold/boldMark.cjs.map +1 -0
  153. package/dist/development/src/plugins/text/bold/boldMark.js.map +1 -0
  154. package/dist/development/src/plugins/text/bold/withBold.cjs.map +1 -0
  155. package/dist/development/src/plugins/text/bold/withBold.js.map +1 -0
  156. package/dist/development/src/plugins/text/code/codeMark.cjs +13 -0
  157. package/dist/development/src/plugins/text/code/codeMark.cjs.map +1 -0
  158. package/dist/development/src/plugins/text/code/codeMark.js.map +1 -0
  159. package/dist/development/src/plugins/text/code/withCode.cjs.map +1 -0
  160. package/dist/development/src/plugins/text/code/withCode.js.map +1 -0
  161. package/dist/development/src/plugins/text/highlight/highlightMark.cjs +13 -0
  162. package/dist/development/src/plugins/text/highlight/highlightMark.cjs.map +1 -0
  163. package/dist/development/src/plugins/text/highlight/highlightMark.js.map +1 -0
  164. package/dist/development/src/plugins/text/highlight/withHighlight.cjs.map +1 -0
  165. package/dist/development/src/plugins/text/highlight/withHighlight.js.map +1 -0
  166. package/dist/development/src/plugins/text/italic/italicMark.cjs +13 -0
  167. package/dist/development/src/plugins/text/italic/italicMark.cjs.map +1 -0
  168. package/dist/development/src/plugins/text/italic/italicMark.js.map +1 -0
  169. package/dist/development/src/plugins/text/italic/withItalic.cjs.map +1 -0
  170. package/dist/development/src/plugins/text/italic/withItalic.js.map +1 -0
  171. package/dist/development/src/plugins/text/newline/withNewline.cjs.map +1 -0
  172. package/dist/development/src/plugins/text/newline/withNewline.js.map +1 -0
  173. package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.cjs +13 -0
  174. package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.cjs.map +1 -0
  175. package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.js.map +1 -0
  176. package/dist/development/src/plugins/text/strikeThrough/withStrikeThrough.cjs.map +1 -0
  177. package/dist/development/src/plugins/text/strikeThrough/withStrikeThrough.js.map +1 -0
  178. package/dist/development/src/plugins/text/underline/underlineMark.cjs +13 -0
  179. package/dist/development/src/plugins/text/underline/underlineMark.cjs.map +1 -0
  180. package/dist/development/src/plugins/text/underline/underlineMark.js.map +1 -0
  181. package/dist/development/src/plugins/text/underline/withUnderline.cjs.map +1 -0
  182. package/dist/development/src/plugins/text/underline/withUnderline.js.map +1 -0
  183. package/dist/development/src/slate-reexport.cjs.map +1 -0
  184. package/dist/development/src/slate-reexport.js.map +1 -0
  185. package/dist/production/index.cjs +47 -47
  186. package/dist/production/index.js +47 -47
  187. package/dist/production/src/components/RichTextEditor.cjs +93 -0
  188. package/dist/production/src/components/RichTextEditor.cjs.map +1 -0
  189. package/dist/production/src/components/RichTextEditor.js +93 -0
  190. package/dist/production/src/components/RichTextEditor.js.map +1 -0
  191. package/dist/production/src/components/triggers/EditorElementTrigger.cjs.map +1 -0
  192. package/dist/production/src/components/triggers/EditorElementTrigger.js.map +1 -0
  193. package/dist/production/src/components/triggers/EditorGenericTrigger.cjs.map +1 -0
  194. package/dist/production/src/components/triggers/EditorGenericTrigger.js.map +1 -0
  195. package/dist/production/src/components/triggers/EditorMarkTrigger.cjs.map +1 -0
  196. package/dist/production/src/components/triggers/EditorMarkTrigger.js.map +1 -0
  197. package/dist/production/src/components/triggers/EditorWrapNodeTrigger.cjs.map +1 -0
  198. package/dist/production/src/components/triggers/EditorWrapNodeTrigger.js.map +1 -0
  199. package/dist/production/src/editor/createEditor.cjs +35 -0
  200. package/dist/production/src/editor/createEditor.cjs.map +1 -0
  201. package/dist/production/src/editor/createEditor.js.map +1 -0
  202. package/dist/production/src/editor/createEditorWithEssentials.cjs +227 -0
  203. package/dist/production/src/editor/createEditorWithEssentials.cjs.map +1 -0
  204. package/dist/production/src/editor/createEditorWithEssentials.js.map +1 -0
  205. package/dist/production/src/editor/index.cjs.map +1 -0
  206. package/dist/production/src/editor/index.js.map +1 -0
  207. package/dist/production/src/editor/methods/addMarks.cjs.map +1 -0
  208. package/dist/production/src/editor/methods/addMarks.js.map +1 -0
  209. package/dist/production/src/editor/methods/canToggleMark.cjs.map +1 -0
  210. package/dist/production/src/editor/methods/canToggleMark.js.map +1 -0
  211. package/dist/production/src/editor/methods/closest.cjs.map +1 -0
  212. package/dist/production/src/editor/methods/closest.js.map +1 -0
  213. package/dist/production/src/editor/methods/closestBlockEntry.cjs.map +1 -0
  214. package/dist/production/src/editor/methods/closestBlockEntry.js.map +1 -0
  215. package/dist/production/src/editor/methods/closestViableBlockContainerEntry.cjs.map +1 -0
  216. package/dist/production/src/editor/methods/closestViableBlockContainerEntry.js.map +1 -0
  217. package/dist/production/src/editor/methods/ejectElement.cjs.map +1 -0
  218. package/dist/production/src/editor/methods/ejectElement.js.map +1 -0
  219. package/dist/production/src/editor/methods/elementToSpecifics.cjs.map +1 -0
  220. package/dist/production/src/editor/methods/elementToSpecifics.js.map +1 -0
  221. package/dist/production/src/editor/methods/getElementDataAttributes.cjs.map +1 -0
  222. package/dist/production/src/editor/methods/getElementDataAttributes.js.map +1 -0
  223. package/dist/production/src/editor/methods/getPreviousSibling.cjs.map +1 -0
  224. package/dist/production/src/editor/methods/getPreviousSibling.js.map +1 -0
  225. package/dist/production/src/editor/methods/hasMarks.cjs.map +1 -0
  226. package/dist/production/src/editor/methods/hasMarks.js.map +1 -0
  227. package/dist/production/src/editor/methods/hasParentOfType.cjs.map +1 -0
  228. package/dist/production/src/editor/methods/hasParentOfType.js.map +1 -0
  229. package/dist/production/src/editor/methods/isElementType.cjs.map +1 -0
  230. package/dist/production/src/editor/methods/isElementType.js.map +1 -0
  231. package/dist/production/src/editor/methods/permissivelyDeserializeNodes.cjs.map +1 -0
  232. package/dist/production/src/editor/methods/permissivelyDeserializeNodes.js.map +1 -0
  233. package/dist/production/src/editor/methods/removeMarks.cjs.map +1 -0
  234. package/dist/production/src/editor/methods/removeMarks.js.map +1 -0
  235. package/dist/production/src/editor/methods/serializeNodes.cjs.map +1 -0
  236. package/dist/production/src/editor/methods/serializeNodes.js.map +1 -0
  237. package/dist/production/src/editor/methods/strictlyDeserializeNodes.cjs.map +1 -0
  238. package/dist/production/src/editor/methods/strictlyDeserializeNodes.js.map +1 -0
  239. package/dist/production/src/editor/methods/textToSpecifics.cjs.map +1 -0
  240. package/dist/production/src/editor/methods/textToSpecifics.js.map +1 -0
  241. package/dist/production/src/editor/methods/toLatestFormat.cjs.map +1 -0
  242. package/dist/production/src/editor/methods/toLatestFormat.js.map +1 -0
  243. package/dist/production/src/editor/methods/topLevelNodes.cjs.map +1 -0
  244. package/dist/production/src/editor/methods/topLevelNodes.js.map +1 -0
  245. package/dist/production/src/internal/components/DefaultElement.cjs +11 -0
  246. package/dist/production/src/internal/components/DefaultElement.cjs.map +1 -0
  247. package/dist/production/src/internal/components/DefaultElement.js.map +1 -0
  248. package/dist/production/src/internal/hooks/useRichTextFieldNodes.cjs.map +1 -0
  249. package/dist/production/src/internal/hooks/useRichTextFieldNodes.js.map +1 -0
  250. package/dist/production/src/internal/utils/EditorPasteUtils.cjs.map +1 -0
  251. package/dist/production/src/internal/utils/EditorPasteUtils.js.map +1 -0
  252. package/dist/production/src/internal/utils/parseUrl.cjs.map +1 -0
  253. package/dist/production/src/internal/utils/parseUrl.js.map +1 -0
  254. package/dist/production/src/plugins/attributes/alignment/alignButton.cjs.map +1 -0
  255. package/dist/production/src/plugins/attributes/alignment/alignButton.js.map +1 -0
  256. package/dist/production/src/plugins/behaviour/paste/HtmlDeserializer.cjs.map +1 -0
  257. package/dist/production/src/plugins/behaviour/paste/HtmlDeserializer.js.map +1 -0
  258. package/dist/production/src/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs.map +1 -0
  259. package/dist/production/src/plugins/behaviour/paste/createMarkHtmlDeserializer.js.map +1 -0
  260. package/dist/production/src/plugins/behaviour/paste/withPaste.cjs.map +1 -0
  261. package/dist/production/src/plugins/behaviour/paste/withPaste.js.map +1 -0
  262. package/dist/production/src/plugins/element/anchors/AnchorElement.cjs.map +1 -0
  263. package/dist/production/src/plugins/element/anchors/AnchorElement.js.map +1 -0
  264. package/dist/production/src/plugins/element/anchors/AnchorHtmlDeserializer.cjs.map +1 -0
  265. package/dist/production/src/plugins/element/anchors/AnchorHtmlDeserializer.js.map +1 -0
  266. package/dist/production/src/plugins/element/anchors/AnchorModifications.cjs.map +1 -0
  267. package/dist/production/src/plugins/element/anchors/AnchorModifications.js.map +1 -0
  268. package/dist/production/src/plugins/element/anchors/withAnchors.cjs.map +1 -0
  269. package/dist/production/src/plugins/element/anchors/withAnchors.js.map +1 -0
  270. package/dist/production/src/plugins/element/headings/HeadingElement.cjs.map +1 -0
  271. package/dist/production/src/plugins/element/headings/HeadingElement.js.map +1 -0
  272. package/dist/production/src/plugins/element/headings/HeadingHtmlDeserializer.cjs.map +1 -0
  273. package/dist/production/src/plugins/element/headings/HeadingHtmlDeserializer.js.map +1 -0
  274. package/dist/production/src/plugins/element/headings/withHeadings.cjs.map +1 -0
  275. package/dist/production/src/plugins/element/headings/withHeadings.js.map +1 -0
  276. package/dist/production/src/plugins/element/horizonalRules/HorizontalRuleElement.cjs.map +1 -0
  277. package/dist/production/src/plugins/element/horizonalRules/HorizontalRuleElement.js.map +1 -0
  278. package/dist/production/src/plugins/element/horizonalRules/withHorizontalRules.cjs.map +1 -0
  279. package/dist/production/src/plugins/element/horizonalRules/withHorizontalRules.js.map +1 -0
  280. package/dist/production/src/plugins/element/lists/ListElement.cjs.map +1 -0
  281. package/dist/production/src/plugins/element/lists/ListElement.js.map +1 -0
  282. package/dist/production/src/plugins/element/lists/ListHtmlDeserializer.cjs.map +1 -0
  283. package/dist/production/src/plugins/element/lists/ListHtmlDeserializer.js.map +1 -0
  284. package/dist/production/src/plugins/element/lists/ListItemElement.cjs.map +1 -0
  285. package/dist/production/src/plugins/element/lists/ListItemElement.js.map +1 -0
  286. package/dist/production/src/plugins/element/lists/OrderedListElement.cjs.map +1 -0
  287. package/dist/production/src/plugins/element/lists/OrderedListElement.js.map +1 -0
  288. package/dist/production/src/plugins/element/lists/UnorderedListElement.cjs.map +1 -0
  289. package/dist/production/src/plugins/element/lists/UnorderedListElement.js.map +1 -0
  290. package/dist/production/src/plugins/element/lists/transforms/dedentListItem.cjs.map +1 -0
  291. package/dist/production/src/plugins/element/lists/transforms/dedentListItem.js.map +1 -0
  292. package/dist/production/src/plugins/element/lists/transforms/indentListItem.cjs.map +1 -0
  293. package/dist/production/src/plugins/element/lists/transforms/indentListItem.js.map +1 -0
  294. package/dist/production/src/plugins/element/lists/transforms/normalizeListElement.cjs.map +1 -0
  295. package/dist/production/src/plugins/element/lists/transforms/normalizeListElement.js.map +1 -0
  296. package/dist/production/src/plugins/element/lists/transforms/toggleListElement.cjs.map +1 -0
  297. package/dist/production/src/plugins/element/lists/transforms/toggleListElement.js.map +1 -0
  298. package/dist/production/src/plugins/element/lists/withLists.cjs.map +1 -0
  299. package/dist/production/src/plugins/element/lists/withLists.js.map +1 -0
  300. package/dist/production/src/plugins/element/paragraphs/ParagraphElement.cjs.map +1 -0
  301. package/dist/production/src/plugins/element/paragraphs/ParagraphElement.js.map +1 -0
  302. package/dist/production/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs.map +1 -0
  303. package/dist/production/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.js.map +1 -0
  304. package/dist/production/src/plugins/element/paragraphs/withParagraphs.cjs.map +1 -0
  305. package/dist/production/src/plugins/element/paragraphs/withParagraphs.js.map +1 -0
  306. package/dist/production/src/plugins/element/scrollTargets/ScrollTargetElement.cjs.map +1 -0
  307. package/dist/production/src/plugins/element/scrollTargets/ScrollTargetElement.js.map +1 -0
  308. package/dist/production/src/plugins/element/scrollTargets/withScrollTargets.cjs.map +1 -0
  309. package/dist/production/src/plugins/element/scrollTargets/withScrollTargets.js.map +1 -0
  310. package/dist/production/src/plugins/element/tables/TableCellElement.cjs.map +1 -0
  311. package/dist/production/src/plugins/element/tables/TableCellElement.js.map +1 -0
  312. package/dist/production/src/plugins/element/tables/TableElement.cjs.map +1 -0
  313. package/dist/production/src/plugins/element/tables/TableElement.js.map +1 -0
  314. package/dist/production/src/plugins/element/tables/TableElementSelection.cjs.map +1 -0
  315. package/dist/production/src/plugins/element/tables/TableElementSelection.js.map +1 -0
  316. package/dist/production/src/plugins/element/tables/TableModifications.cjs +134 -0
  317. package/dist/production/src/plugins/element/tables/TableModifications.cjs.map +1 -0
  318. package/dist/production/src/plugins/element/tables/TableModifications.js +134 -0
  319. package/dist/production/src/plugins/element/tables/TableModifications.js.map +1 -0
  320. package/dist/production/src/plugins/element/tables/TableRowElement.cjs.map +1 -0
  321. package/dist/production/src/plugins/element/tables/TableRowElement.js.map +1 -0
  322. package/dist/production/src/plugins/element/tables/gaugeTableColumnCount.cjs.map +1 -0
  323. package/dist/production/src/plugins/element/tables/gaugeTableColumnCount.js.map +1 -0
  324. package/dist/production/src/plugins/element/tables/withTables.cjs.map +1 -0
  325. package/dist/production/src/plugins/element/tables/withTables.js.map +1 -0
  326. package/dist/production/src/plugins/text/bold/boldMark.cjs +13 -0
  327. package/dist/production/src/plugins/text/bold/boldMark.cjs.map +1 -0
  328. package/dist/production/src/plugins/text/bold/boldMark.js.map +1 -0
  329. package/dist/production/src/plugins/text/bold/withBold.cjs.map +1 -0
  330. package/dist/production/src/plugins/text/bold/withBold.js.map +1 -0
  331. package/dist/production/src/plugins/text/code/codeMark.cjs +13 -0
  332. package/dist/production/src/plugins/text/code/codeMark.cjs.map +1 -0
  333. package/dist/production/src/plugins/text/code/codeMark.js.map +1 -0
  334. package/dist/production/src/plugins/text/code/withCode.cjs.map +1 -0
  335. package/dist/production/src/plugins/text/code/withCode.js.map +1 -0
  336. package/dist/production/src/plugins/text/highlight/highlightMark.cjs +13 -0
  337. package/dist/production/src/plugins/text/highlight/highlightMark.cjs.map +1 -0
  338. package/dist/production/src/plugins/text/highlight/highlightMark.js.map +1 -0
  339. package/dist/production/src/plugins/text/highlight/withHighlight.cjs.map +1 -0
  340. package/dist/production/src/plugins/text/highlight/withHighlight.js.map +1 -0
  341. package/dist/production/src/plugins/text/italic/italicMark.cjs +13 -0
  342. package/dist/production/src/plugins/text/italic/italicMark.cjs.map +1 -0
  343. package/dist/production/src/plugins/text/italic/italicMark.js.map +1 -0
  344. package/dist/production/src/plugins/text/italic/withItalic.cjs.map +1 -0
  345. package/dist/production/src/plugins/text/italic/withItalic.js.map +1 -0
  346. package/dist/production/src/plugins/text/newline/withNewline.cjs.map +1 -0
  347. package/dist/production/src/plugins/text/newline/withNewline.js.map +1 -0
  348. package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.cjs +13 -0
  349. package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.cjs.map +1 -0
  350. package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.js.map +1 -0
  351. package/dist/production/src/plugins/text/strikeThrough/withStrikeThrough.cjs.map +1 -0
  352. package/dist/production/src/plugins/text/strikeThrough/withStrikeThrough.js.map +1 -0
  353. package/dist/production/src/plugins/text/underline/underlineMark.cjs +13 -0
  354. package/dist/production/src/plugins/text/underline/underlineMark.cjs.map +1 -0
  355. package/dist/production/src/plugins/text/underline/underlineMark.js.map +1 -0
  356. package/dist/production/src/plugins/text/underline/withUnderline.cjs.map +1 -0
  357. package/dist/production/src/plugins/text/underline/withUnderline.js.map +1 -0
  358. package/dist/production/src/slate-reexport.cjs.map +1 -0
  359. package/dist/production/src/slate-reexport.js.map +1 -0
  360. package/dist/types/editor/createEditor.d.ts +1 -1
  361. package/dist/types/editor/createEditor.d.ts.map +1 -1
  362. package/dist/types/editor/index.d.ts +28 -28
  363. package/dist/types/editor/index.d.ts.map +1 -1
  364. package/dist/types/editor/methods/addMarks.d.ts +2 -1
  365. package/dist/types/editor/methods/addMarks.d.ts.map +1 -1
  366. package/dist/types/editor/methods/canToggleMark.d.ts +2 -1
  367. package/dist/types/editor/methods/canToggleMark.d.ts.map +1 -1
  368. package/dist/types/editor/methods/closest.d.ts +2 -2
  369. package/dist/types/editor/methods/closest.d.ts.map +1 -1
  370. package/dist/types/editor/methods/closestBlockEntry.d.ts +2 -2
  371. package/dist/types/editor/methods/closestBlockEntry.d.ts.map +1 -1
  372. package/dist/types/editor/methods/closestViableBlockContainerEntry.d.ts +1 -1
  373. package/dist/types/editor/methods/closestViableBlockContainerEntry.d.ts.map +1 -1
  374. package/dist/types/editor/methods/ejectElement.d.ts +2 -2
  375. package/dist/types/editor/methods/ejectElement.d.ts.map +1 -1
  376. package/dist/types/editor/methods/elementToSpecifics.d.ts +2 -1
  377. package/dist/types/editor/methods/elementToSpecifics.d.ts.map +1 -1
  378. package/dist/types/editor/methods/getElementDataAttributes.d.ts +2 -1
  379. package/dist/types/editor/methods/getElementDataAttributes.d.ts.map +1 -1
  380. package/dist/types/editor/methods/getPreviousSibling.d.ts +2 -2
  381. package/dist/types/editor/methods/getPreviousSibling.d.ts.map +1 -1
  382. package/dist/types/editor/methods/hasMarks.d.ts +2 -2
  383. package/dist/types/editor/methods/hasMarks.d.ts.map +1 -1
  384. package/dist/types/editor/methods/hasParentOfType.d.ts +2 -2
  385. package/dist/types/editor/methods/hasParentOfType.d.ts.map +1 -1
  386. package/dist/types/editor/methods/isElementType.d.ts +2 -2
  387. package/dist/types/editor/methods/isElementType.d.ts.map +1 -1
  388. package/dist/types/editor/methods/permissivelyDeserializeNodes.d.ts +2 -2
  389. package/dist/types/editor/methods/permissivelyDeserializeNodes.d.ts.map +1 -1
  390. package/dist/types/editor/methods/removeMarks.d.ts +2 -1
  391. package/dist/types/editor/methods/removeMarks.d.ts.map +1 -1
  392. package/dist/types/editor/methods/serializeNodes.d.ts +2 -2
  393. package/dist/types/editor/methods/serializeNodes.d.ts.map +1 -1
  394. package/dist/types/editor/methods/strictlyDeserializeNodes.d.ts +2 -2
  395. package/dist/types/editor/methods/strictlyDeserializeNodes.d.ts.map +1 -1
  396. package/dist/types/editor/methods/textToSpecifics.d.ts +2 -1
  397. package/dist/types/editor/methods/textToSpecifics.d.ts.map +1 -1
  398. package/dist/types/editor/methods/toLatestFormat.d.ts +2 -1
  399. package/dist/types/editor/methods/toLatestFormat.d.ts.map +1 -1
  400. package/dist/types/editor/methods/topLevelNodes.d.ts +2 -1
  401. package/dist/types/editor/methods/topLevelNodes.d.ts.map +1 -1
  402. package/dist/types/internal/utils/EditorPasteUtils.d.ts.map +1 -1
  403. package/dist/types/plugins/behaviour/paste/HtmlDeserializer.d.ts +1 -1
  404. package/dist/types/plugins/element/anchors/AnchorElement.d.ts.map +1 -1
  405. package/dist/types/plugins/element/anchors/withAnchors.d.ts +2 -1
  406. package/dist/types/plugins/element/anchors/withAnchors.d.ts.map +1 -1
  407. package/dist/types/plugins/element/headings/HeadingElement.d.ts.map +1 -1
  408. package/dist/types/plugins/element/headings/withHeadings.d.ts +2 -1
  409. package/dist/types/plugins/element/headings/withHeadings.d.ts.map +1 -1
  410. package/dist/types/plugins/element/horizonalRules/HorizontalRuleElement.d.ts.map +1 -1
  411. package/dist/types/plugins/element/horizonalRules/withHorizontalRules.d.ts +2 -1
  412. package/dist/types/plugins/element/horizonalRules/withHorizontalRules.d.ts.map +1 -1
  413. package/dist/types/plugins/element/lists/ListElement.d.ts +1 -1
  414. package/dist/types/plugins/element/lists/ListElement.d.ts.map +1 -1
  415. package/dist/types/plugins/element/lists/ListItemElement.d.ts.map +1 -1
  416. package/dist/types/plugins/element/lists/OrderedListElement.d.ts.map +1 -1
  417. package/dist/types/plugins/element/lists/UnorderedListElement.d.ts.map +1 -1
  418. package/dist/types/plugins/element/lists/transforms/dedentListItem.d.ts.map +1 -1
  419. package/dist/types/plugins/element/lists/transforms/indentListItem.d.ts.map +1 -1
  420. package/dist/types/plugins/element/lists/transforms/toggleListElement.d.ts +1 -1
  421. package/dist/types/plugins/element/lists/transforms/toggleListElement.d.ts.map +1 -1
  422. package/dist/types/plugins/element/lists/withLists.d.ts +2 -1
  423. package/dist/types/plugins/element/lists/withLists.d.ts.map +1 -1
  424. package/dist/types/plugins/element/paragraphs/ParagraphElement.d.ts.map +1 -1
  425. package/dist/types/plugins/element/paragraphs/withParagraphs.d.ts +2 -1
  426. package/dist/types/plugins/element/paragraphs/withParagraphs.d.ts.map +1 -1
  427. package/dist/types/plugins/element/scrollTargets/ScrollTargetElement.d.ts.map +1 -1
  428. package/dist/types/plugins/element/scrollTargets/withScrollTargets.d.ts +2 -1
  429. package/dist/types/plugins/element/scrollTargets/withScrollTargets.d.ts.map +1 -1
  430. package/dist/types/plugins/element/tables/TableCellElement.d.ts.map +1 -1
  431. package/dist/types/plugins/element/tables/TableElement.d.ts.map +1 -1
  432. package/dist/types/plugins/element/tables/TableElementSelection.d.ts.map +1 -1
  433. package/dist/types/plugins/element/tables/TableRowElement.d.ts.map +1 -1
  434. package/dist/types/plugins/element/tables/withTables.d.ts +2 -1
  435. package/dist/types/plugins/element/tables/withTables.d.ts.map +1 -1
  436. package/dist/types/tsconfig.tsbuildinfo +1 -1
  437. package/dist/types/types/editor.d.ts.map +1 -1
  438. package/dist/types/types/htmlDeserializer.d.ts.map +1 -1
  439. package/dist/types/types/plugins.d.ts +1 -2
  440. package/dist/types/types/plugins.d.ts.map +1 -1
  441. package/package.json +11 -19
  442. package/src/components/RichTextEditor.tsx +6 -6
  443. package/src/editor/createEditor.ts +2 -2
  444. package/src/editor/createEditorWithEssentials.tsx +2 -2
  445. package/src/internal/hooks/useRichTextFieldNodes.ts +6 -6
  446. package/src/internal/utils/EditorPasteUtils.ts +36 -36
  447. package/src/plugins/behaviour/paste/HtmlDeserializer.ts +1 -1
  448. package/src/plugins/element/lists/transforms/normalizeListElement.ts +1 -1
  449. package/src/plugins/element/tables/TableModifications.ts +3 -3
  450. package/src/tsconfig.json +0 -1
  451. package/src/types/editor.ts +1 -1
  452. package/src/types/htmlDeserializer.ts +14 -14
  453. package/src/types/plugins.ts +8 -9
  454. package/tsconfig.json +7 -0
  455. package/tsdoc.json +6 -0
  456. package/dist/development/components/RichTextEditor.cjs +0 -93
  457. package/dist/development/components/RichTextEditor.cjs.map +0 -1
  458. package/dist/development/components/RichTextEditor.js +0 -93
  459. package/dist/development/components/RichTextEditor.js.map +0 -1
  460. package/dist/development/components/triggers/EditorElementTrigger.cjs.map +0 -1
  461. package/dist/development/components/triggers/EditorElementTrigger.js.map +0 -1
  462. package/dist/development/components/triggers/EditorGenericTrigger.cjs.map +0 -1
  463. package/dist/development/components/triggers/EditorGenericTrigger.js.map +0 -1
  464. package/dist/development/components/triggers/EditorMarkTrigger.cjs.map +0 -1
  465. package/dist/development/components/triggers/EditorMarkTrigger.js.map +0 -1
  466. package/dist/development/components/triggers/EditorWrapNodeTrigger.cjs.map +0 -1
  467. package/dist/development/components/triggers/EditorWrapNodeTrigger.js.map +0 -1
  468. package/dist/development/editor/createEditor.cjs +0 -35
  469. package/dist/development/editor/createEditor.cjs.map +0 -1
  470. package/dist/development/editor/createEditor.js.map +0 -1
  471. package/dist/development/editor/createEditorWithEssentials.cjs +0 -227
  472. package/dist/development/editor/createEditorWithEssentials.cjs.map +0 -1
  473. package/dist/development/editor/createEditorWithEssentials.js.map +0 -1
  474. package/dist/development/editor/index.cjs.map +0 -1
  475. package/dist/development/editor/index.js.map +0 -1
  476. package/dist/development/editor/methods/addMarks.cjs.map +0 -1
  477. package/dist/development/editor/methods/addMarks.js.map +0 -1
  478. package/dist/development/editor/methods/canToggleMark.cjs.map +0 -1
  479. package/dist/development/editor/methods/canToggleMark.js.map +0 -1
  480. package/dist/development/editor/methods/closest.cjs.map +0 -1
  481. package/dist/development/editor/methods/closest.js.map +0 -1
  482. package/dist/development/editor/methods/closestBlockEntry.cjs.map +0 -1
  483. package/dist/development/editor/methods/closestBlockEntry.js.map +0 -1
  484. package/dist/development/editor/methods/closestViableBlockContainerEntry.cjs.map +0 -1
  485. package/dist/development/editor/methods/closestViableBlockContainerEntry.js.map +0 -1
  486. package/dist/development/editor/methods/ejectElement.cjs.map +0 -1
  487. package/dist/development/editor/methods/ejectElement.js.map +0 -1
  488. package/dist/development/editor/methods/elementToSpecifics.cjs.map +0 -1
  489. package/dist/development/editor/methods/elementToSpecifics.js.map +0 -1
  490. package/dist/development/editor/methods/getElementDataAttributes.cjs.map +0 -1
  491. package/dist/development/editor/methods/getElementDataAttributes.js.map +0 -1
  492. package/dist/development/editor/methods/getPreviousSibling.cjs.map +0 -1
  493. package/dist/development/editor/methods/getPreviousSibling.js.map +0 -1
  494. package/dist/development/editor/methods/hasMarks.cjs.map +0 -1
  495. package/dist/development/editor/methods/hasMarks.js.map +0 -1
  496. package/dist/development/editor/methods/hasParentOfType.cjs.map +0 -1
  497. package/dist/development/editor/methods/hasParentOfType.js.map +0 -1
  498. package/dist/development/editor/methods/isElementType.cjs.map +0 -1
  499. package/dist/development/editor/methods/isElementType.js.map +0 -1
  500. package/dist/development/editor/methods/permissivelyDeserializeNodes.cjs.map +0 -1
  501. package/dist/development/editor/methods/permissivelyDeserializeNodes.js.map +0 -1
  502. package/dist/development/editor/methods/removeMarks.cjs.map +0 -1
  503. package/dist/development/editor/methods/removeMarks.js.map +0 -1
  504. package/dist/development/editor/methods/serializeNodes.cjs.map +0 -1
  505. package/dist/development/editor/methods/serializeNodes.js.map +0 -1
  506. package/dist/development/editor/methods/strictlyDeserializeNodes.cjs.map +0 -1
  507. package/dist/development/editor/methods/strictlyDeserializeNodes.js.map +0 -1
  508. package/dist/development/editor/methods/textToSpecifics.cjs.map +0 -1
  509. package/dist/development/editor/methods/textToSpecifics.js.map +0 -1
  510. package/dist/development/editor/methods/toLatestFormat.cjs.map +0 -1
  511. package/dist/development/editor/methods/toLatestFormat.js.map +0 -1
  512. package/dist/development/editor/methods/topLevelNodes.cjs.map +0 -1
  513. package/dist/development/editor/methods/topLevelNodes.js.map +0 -1
  514. package/dist/development/internal/components/DefaultElement.cjs +0 -11
  515. package/dist/development/internal/components/DefaultElement.cjs.map +0 -1
  516. package/dist/development/internal/components/DefaultElement.js.map +0 -1
  517. package/dist/development/internal/hooks/useRichTextFieldNodes.cjs.map +0 -1
  518. package/dist/development/internal/hooks/useRichTextFieldNodes.js.map +0 -1
  519. package/dist/development/internal/utils/EditorPasteUtils.cjs.map +0 -1
  520. package/dist/development/internal/utils/EditorPasteUtils.js.map +0 -1
  521. package/dist/development/internal/utils/parseUrl.cjs.map +0 -1
  522. package/dist/development/internal/utils/parseUrl.js.map +0 -1
  523. package/dist/development/plugins/attributes/alignment/alignButton.cjs.map +0 -1
  524. package/dist/development/plugins/attributes/alignment/alignButton.js.map +0 -1
  525. package/dist/development/plugins/behaviour/paste/HtmlDeserializer.cjs.map +0 -1
  526. package/dist/development/plugins/behaviour/paste/HtmlDeserializer.js.map +0 -1
  527. package/dist/development/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs.map +0 -1
  528. package/dist/development/plugins/behaviour/paste/createMarkHtmlDeserializer.js.map +0 -1
  529. package/dist/development/plugins/behaviour/paste/withPaste.cjs.map +0 -1
  530. package/dist/development/plugins/behaviour/paste/withPaste.js.map +0 -1
  531. package/dist/development/plugins/element/anchors/AnchorElement.cjs.map +0 -1
  532. package/dist/development/plugins/element/anchors/AnchorElement.js.map +0 -1
  533. package/dist/development/plugins/element/anchors/AnchorHtmlDeserializer.cjs.map +0 -1
  534. package/dist/development/plugins/element/anchors/AnchorHtmlDeserializer.js.map +0 -1
  535. package/dist/development/plugins/element/anchors/AnchorModifications.cjs.map +0 -1
  536. package/dist/development/plugins/element/anchors/AnchorModifications.js.map +0 -1
  537. package/dist/development/plugins/element/anchors/withAnchors.cjs.map +0 -1
  538. package/dist/development/plugins/element/anchors/withAnchors.js.map +0 -1
  539. package/dist/development/plugins/element/headings/HeadingElement.cjs.map +0 -1
  540. package/dist/development/plugins/element/headings/HeadingElement.js.map +0 -1
  541. package/dist/development/plugins/element/headings/HeadingHtmlDeserializer.cjs.map +0 -1
  542. package/dist/development/plugins/element/headings/HeadingHtmlDeserializer.js.map +0 -1
  543. package/dist/development/plugins/element/headings/withHeadings.cjs.map +0 -1
  544. package/dist/development/plugins/element/headings/withHeadings.js.map +0 -1
  545. package/dist/development/plugins/element/horizonalRules/HorizontalRuleElement.cjs.map +0 -1
  546. package/dist/development/plugins/element/horizonalRules/HorizontalRuleElement.js.map +0 -1
  547. package/dist/development/plugins/element/horizonalRules/withHorizontalRules.cjs.map +0 -1
  548. package/dist/development/plugins/element/horizonalRules/withHorizontalRules.js.map +0 -1
  549. package/dist/development/plugins/element/lists/ListElement.cjs.map +0 -1
  550. package/dist/development/plugins/element/lists/ListElement.js.map +0 -1
  551. package/dist/development/plugins/element/lists/ListHtmlDeserializer.cjs.map +0 -1
  552. package/dist/development/plugins/element/lists/ListHtmlDeserializer.js.map +0 -1
  553. package/dist/development/plugins/element/lists/ListItemElement.cjs.map +0 -1
  554. package/dist/development/plugins/element/lists/ListItemElement.js.map +0 -1
  555. package/dist/development/plugins/element/lists/OrderedListElement.cjs.map +0 -1
  556. package/dist/development/plugins/element/lists/OrderedListElement.js.map +0 -1
  557. package/dist/development/plugins/element/lists/UnorderedListElement.cjs.map +0 -1
  558. package/dist/development/plugins/element/lists/UnorderedListElement.js.map +0 -1
  559. package/dist/development/plugins/element/lists/transforms/dedentListItem.cjs.map +0 -1
  560. package/dist/development/plugins/element/lists/transforms/dedentListItem.js.map +0 -1
  561. package/dist/development/plugins/element/lists/transforms/indentListItem.cjs.map +0 -1
  562. package/dist/development/plugins/element/lists/transforms/indentListItem.js.map +0 -1
  563. package/dist/development/plugins/element/lists/transforms/normalizeListElement.cjs.map +0 -1
  564. package/dist/development/plugins/element/lists/transforms/normalizeListElement.js.map +0 -1
  565. package/dist/development/plugins/element/lists/transforms/toggleListElement.cjs.map +0 -1
  566. package/dist/development/plugins/element/lists/transforms/toggleListElement.js.map +0 -1
  567. package/dist/development/plugins/element/lists/withLists.cjs.map +0 -1
  568. package/dist/development/plugins/element/lists/withLists.js.map +0 -1
  569. package/dist/development/plugins/element/paragraphs/ParagraphElement.cjs.map +0 -1
  570. package/dist/development/plugins/element/paragraphs/ParagraphElement.js.map +0 -1
  571. package/dist/development/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs.map +0 -1
  572. package/dist/development/plugins/element/paragraphs/ParagraphHtmlDeserializer.js.map +0 -1
  573. package/dist/development/plugins/element/paragraphs/withParagraphs.cjs.map +0 -1
  574. package/dist/development/plugins/element/paragraphs/withParagraphs.js.map +0 -1
  575. package/dist/development/plugins/element/scrollTargets/ScrollTargetElement.cjs.map +0 -1
  576. package/dist/development/plugins/element/scrollTargets/ScrollTargetElement.js.map +0 -1
  577. package/dist/development/plugins/element/scrollTargets/withScrollTargets.cjs.map +0 -1
  578. package/dist/development/plugins/element/scrollTargets/withScrollTargets.js.map +0 -1
  579. package/dist/development/plugins/element/tables/TableCellElement.cjs.map +0 -1
  580. package/dist/development/plugins/element/tables/TableCellElement.js.map +0 -1
  581. package/dist/development/plugins/element/tables/TableElement.cjs.map +0 -1
  582. package/dist/development/plugins/element/tables/TableElement.js.map +0 -1
  583. package/dist/development/plugins/element/tables/TableElementSelection.cjs.map +0 -1
  584. package/dist/development/plugins/element/tables/TableElementSelection.js.map +0 -1
  585. package/dist/development/plugins/element/tables/TableModifications.cjs +0 -134
  586. package/dist/development/plugins/element/tables/TableModifications.cjs.map +0 -1
  587. package/dist/development/plugins/element/tables/TableModifications.js +0 -134
  588. package/dist/development/plugins/element/tables/TableModifications.js.map +0 -1
  589. package/dist/development/plugins/element/tables/TableRowElement.cjs.map +0 -1
  590. package/dist/development/plugins/element/tables/TableRowElement.js.map +0 -1
  591. package/dist/development/plugins/element/tables/gaugeTableColumnCount.cjs.map +0 -1
  592. package/dist/development/plugins/element/tables/gaugeTableColumnCount.js.map +0 -1
  593. package/dist/development/plugins/element/tables/withTables.cjs.map +0 -1
  594. package/dist/development/plugins/element/tables/withTables.js.map +0 -1
  595. package/dist/development/plugins/text/bold/boldMark.cjs +0 -13
  596. package/dist/development/plugins/text/bold/boldMark.cjs.map +0 -1
  597. package/dist/development/plugins/text/bold/boldMark.js.map +0 -1
  598. package/dist/development/plugins/text/bold/withBold.cjs.map +0 -1
  599. package/dist/development/plugins/text/bold/withBold.js.map +0 -1
  600. package/dist/development/plugins/text/code/codeMark.cjs +0 -13
  601. package/dist/development/plugins/text/code/codeMark.cjs.map +0 -1
  602. package/dist/development/plugins/text/code/codeMark.js.map +0 -1
  603. package/dist/development/plugins/text/code/withCode.cjs.map +0 -1
  604. package/dist/development/plugins/text/code/withCode.js.map +0 -1
  605. package/dist/development/plugins/text/highlight/highlightMark.cjs +0 -13
  606. package/dist/development/plugins/text/highlight/highlightMark.cjs.map +0 -1
  607. package/dist/development/plugins/text/highlight/highlightMark.js.map +0 -1
  608. package/dist/development/plugins/text/highlight/withHighlight.cjs.map +0 -1
  609. package/dist/development/plugins/text/highlight/withHighlight.js.map +0 -1
  610. package/dist/development/plugins/text/italic/italicMark.cjs +0 -13
  611. package/dist/development/plugins/text/italic/italicMark.cjs.map +0 -1
  612. package/dist/development/plugins/text/italic/italicMark.js.map +0 -1
  613. package/dist/development/plugins/text/italic/withItalic.cjs.map +0 -1
  614. package/dist/development/plugins/text/italic/withItalic.js.map +0 -1
  615. package/dist/development/plugins/text/newline/withNewline.cjs.map +0 -1
  616. package/dist/development/plugins/text/newline/withNewline.js.map +0 -1
  617. package/dist/development/plugins/text/strikeThrough/strikeThroughMark.cjs +0 -13
  618. package/dist/development/plugins/text/strikeThrough/strikeThroughMark.cjs.map +0 -1
  619. package/dist/development/plugins/text/strikeThrough/strikeThroughMark.js.map +0 -1
  620. package/dist/development/plugins/text/strikeThrough/withStrikeThrough.cjs.map +0 -1
  621. package/dist/development/plugins/text/strikeThrough/withStrikeThrough.js.map +0 -1
  622. package/dist/development/plugins/text/underline/underlineMark.cjs +0 -13
  623. package/dist/development/plugins/text/underline/underlineMark.cjs.map +0 -1
  624. package/dist/development/plugins/text/underline/underlineMark.js.map +0 -1
  625. package/dist/development/plugins/text/underline/withUnderline.cjs.map +0 -1
  626. package/dist/development/plugins/text/underline/withUnderline.js.map +0 -1
  627. package/dist/development/slate-reexport.cjs.map +0 -1
  628. package/dist/development/slate-reexport.js.map +0 -1
  629. package/dist/production/components/RichTextEditor.cjs +0 -93
  630. package/dist/production/components/RichTextEditor.cjs.map +0 -1
  631. package/dist/production/components/RichTextEditor.js +0 -93
  632. package/dist/production/components/RichTextEditor.js.map +0 -1
  633. package/dist/production/components/triggers/EditorElementTrigger.cjs +0 -16
  634. package/dist/production/components/triggers/EditorElementTrigger.cjs.map +0 -1
  635. package/dist/production/components/triggers/EditorElementTrigger.js +0 -16
  636. package/dist/production/components/triggers/EditorElementTrigger.js.map +0 -1
  637. package/dist/production/components/triggers/EditorGenericTrigger.cjs +0 -20
  638. package/dist/production/components/triggers/EditorGenericTrigger.cjs.map +0 -1
  639. package/dist/production/components/triggers/EditorGenericTrigger.js +0 -20
  640. package/dist/production/components/triggers/EditorGenericTrigger.js.map +0 -1
  641. package/dist/production/components/triggers/EditorMarkTrigger.cjs +0 -16
  642. package/dist/production/components/triggers/EditorMarkTrigger.cjs.map +0 -1
  643. package/dist/production/components/triggers/EditorMarkTrigger.js +0 -16
  644. package/dist/production/components/triggers/EditorMarkTrigger.js.map +0 -1
  645. package/dist/production/components/triggers/EditorWrapNodeTrigger.cjs +0 -28
  646. package/dist/production/components/triggers/EditorWrapNodeTrigger.cjs.map +0 -1
  647. package/dist/production/components/triggers/EditorWrapNodeTrigger.js +0 -28
  648. package/dist/production/components/triggers/EditorWrapNodeTrigger.js.map +0 -1
  649. package/dist/production/editor/createEditor.cjs +0 -35
  650. package/dist/production/editor/createEditor.cjs.map +0 -1
  651. package/dist/production/editor/createEditor.js.map +0 -1
  652. package/dist/production/editor/createEditorWithEssentials.cjs +0 -227
  653. package/dist/production/editor/createEditorWithEssentials.cjs.map +0 -1
  654. package/dist/production/editor/createEditorWithEssentials.js.map +0 -1
  655. package/dist/production/editor/index.cjs.map +0 -1
  656. package/dist/production/editor/index.js.map +0 -1
  657. package/dist/production/editor/methods/addMarks.cjs.map +0 -1
  658. package/dist/production/editor/methods/addMarks.js.map +0 -1
  659. package/dist/production/editor/methods/canToggleMark.cjs.map +0 -1
  660. package/dist/production/editor/methods/canToggleMark.js.map +0 -1
  661. package/dist/production/editor/methods/closest.cjs.map +0 -1
  662. package/dist/production/editor/methods/closest.js.map +0 -1
  663. package/dist/production/editor/methods/closestBlockEntry.cjs.map +0 -1
  664. package/dist/production/editor/methods/closestBlockEntry.js.map +0 -1
  665. package/dist/production/editor/methods/closestViableBlockContainerEntry.cjs.map +0 -1
  666. package/dist/production/editor/methods/closestViableBlockContainerEntry.js.map +0 -1
  667. package/dist/production/editor/methods/ejectElement.cjs.map +0 -1
  668. package/dist/production/editor/methods/ejectElement.js.map +0 -1
  669. package/dist/production/editor/methods/elementToSpecifics.cjs.map +0 -1
  670. package/dist/production/editor/methods/elementToSpecifics.js.map +0 -1
  671. package/dist/production/editor/methods/getElementDataAttributes.cjs.map +0 -1
  672. package/dist/production/editor/methods/getElementDataAttributes.js.map +0 -1
  673. package/dist/production/editor/methods/getPreviousSibling.cjs.map +0 -1
  674. package/dist/production/editor/methods/getPreviousSibling.js.map +0 -1
  675. package/dist/production/editor/methods/hasMarks.cjs.map +0 -1
  676. package/dist/production/editor/methods/hasMarks.js.map +0 -1
  677. package/dist/production/editor/methods/hasParentOfType.cjs.map +0 -1
  678. package/dist/production/editor/methods/hasParentOfType.js.map +0 -1
  679. package/dist/production/editor/methods/isElementType.cjs.map +0 -1
  680. package/dist/production/editor/methods/isElementType.js.map +0 -1
  681. package/dist/production/editor/methods/permissivelyDeserializeNodes.cjs.map +0 -1
  682. package/dist/production/editor/methods/permissivelyDeserializeNodes.js.map +0 -1
  683. package/dist/production/editor/methods/removeMarks.cjs.map +0 -1
  684. package/dist/production/editor/methods/removeMarks.js.map +0 -1
  685. package/dist/production/editor/methods/serializeNodes.cjs.map +0 -1
  686. package/dist/production/editor/methods/serializeNodes.js.map +0 -1
  687. package/dist/production/editor/methods/strictlyDeserializeNodes.cjs.map +0 -1
  688. package/dist/production/editor/methods/strictlyDeserializeNodes.js.map +0 -1
  689. package/dist/production/editor/methods/textToSpecifics.cjs.map +0 -1
  690. package/dist/production/editor/methods/textToSpecifics.js.map +0 -1
  691. package/dist/production/editor/methods/toLatestFormat.cjs.map +0 -1
  692. package/dist/production/editor/methods/toLatestFormat.js.map +0 -1
  693. package/dist/production/editor/methods/topLevelNodes.cjs.map +0 -1
  694. package/dist/production/editor/methods/topLevelNodes.js.map +0 -1
  695. package/dist/production/internal/components/DefaultElement.cjs +0 -11
  696. package/dist/production/internal/components/DefaultElement.cjs.map +0 -1
  697. package/dist/production/internal/components/DefaultElement.js.map +0 -1
  698. package/dist/production/internal/hooks/useRichTextFieldNodes.cjs.map +0 -1
  699. package/dist/production/internal/hooks/useRichTextFieldNodes.js.map +0 -1
  700. package/dist/production/internal/utils/EditorPasteUtils.cjs.map +0 -1
  701. package/dist/production/internal/utils/EditorPasteUtils.js.map +0 -1
  702. package/dist/production/internal/utils/parseUrl.cjs.map +0 -1
  703. package/dist/production/internal/utils/parseUrl.js.map +0 -1
  704. package/dist/production/plugins/attributes/alignment/alignButton.cjs.map +0 -1
  705. package/dist/production/plugins/attributes/alignment/alignButton.js.map +0 -1
  706. package/dist/production/plugins/behaviour/paste/HtmlDeserializer.cjs.map +0 -1
  707. package/dist/production/plugins/behaviour/paste/HtmlDeserializer.js.map +0 -1
  708. package/dist/production/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs.map +0 -1
  709. package/dist/production/plugins/behaviour/paste/createMarkHtmlDeserializer.js.map +0 -1
  710. package/dist/production/plugins/behaviour/paste/withPaste.cjs.map +0 -1
  711. package/dist/production/plugins/behaviour/paste/withPaste.js.map +0 -1
  712. package/dist/production/plugins/element/anchors/AnchorElement.cjs.map +0 -1
  713. package/dist/production/plugins/element/anchors/AnchorElement.js.map +0 -1
  714. package/dist/production/plugins/element/anchors/AnchorHtmlDeserializer.cjs.map +0 -1
  715. package/dist/production/plugins/element/anchors/AnchorHtmlDeserializer.js.map +0 -1
  716. package/dist/production/plugins/element/anchors/AnchorModifications.cjs.map +0 -1
  717. package/dist/production/plugins/element/anchors/AnchorModifications.js.map +0 -1
  718. package/dist/production/plugins/element/anchors/withAnchors.cjs.map +0 -1
  719. package/dist/production/plugins/element/anchors/withAnchors.js.map +0 -1
  720. package/dist/production/plugins/element/headings/HeadingElement.cjs.map +0 -1
  721. package/dist/production/plugins/element/headings/HeadingElement.js.map +0 -1
  722. package/dist/production/plugins/element/headings/HeadingHtmlDeserializer.cjs.map +0 -1
  723. package/dist/production/plugins/element/headings/HeadingHtmlDeserializer.js.map +0 -1
  724. package/dist/production/plugins/element/headings/withHeadings.cjs.map +0 -1
  725. package/dist/production/plugins/element/headings/withHeadings.js.map +0 -1
  726. package/dist/production/plugins/element/horizonalRules/HorizontalRuleElement.cjs.map +0 -1
  727. package/dist/production/plugins/element/horizonalRules/HorizontalRuleElement.js.map +0 -1
  728. package/dist/production/plugins/element/horizonalRules/withHorizontalRules.cjs.map +0 -1
  729. package/dist/production/plugins/element/horizonalRules/withHorizontalRules.js.map +0 -1
  730. package/dist/production/plugins/element/lists/ListElement.cjs.map +0 -1
  731. package/dist/production/plugins/element/lists/ListElement.js.map +0 -1
  732. package/dist/production/plugins/element/lists/ListHtmlDeserializer.cjs.map +0 -1
  733. package/dist/production/plugins/element/lists/ListHtmlDeserializer.js.map +0 -1
  734. package/dist/production/plugins/element/lists/ListItemElement.cjs.map +0 -1
  735. package/dist/production/plugins/element/lists/ListItemElement.js.map +0 -1
  736. package/dist/production/plugins/element/lists/OrderedListElement.cjs.map +0 -1
  737. package/dist/production/plugins/element/lists/OrderedListElement.js.map +0 -1
  738. package/dist/production/plugins/element/lists/UnorderedListElement.cjs.map +0 -1
  739. package/dist/production/plugins/element/lists/UnorderedListElement.js.map +0 -1
  740. package/dist/production/plugins/element/lists/transforms/dedentListItem.cjs.map +0 -1
  741. package/dist/production/plugins/element/lists/transforms/dedentListItem.js.map +0 -1
  742. package/dist/production/plugins/element/lists/transforms/indentListItem.cjs.map +0 -1
  743. package/dist/production/plugins/element/lists/transforms/indentListItem.js.map +0 -1
  744. package/dist/production/plugins/element/lists/transforms/normalizeListElement.cjs.map +0 -1
  745. package/dist/production/plugins/element/lists/transforms/normalizeListElement.js.map +0 -1
  746. package/dist/production/plugins/element/lists/transforms/toggleListElement.cjs.map +0 -1
  747. package/dist/production/plugins/element/lists/transforms/toggleListElement.js.map +0 -1
  748. package/dist/production/plugins/element/lists/withLists.cjs.map +0 -1
  749. package/dist/production/plugins/element/lists/withLists.js.map +0 -1
  750. package/dist/production/plugins/element/paragraphs/ParagraphElement.cjs.map +0 -1
  751. package/dist/production/plugins/element/paragraphs/ParagraphElement.js.map +0 -1
  752. package/dist/production/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs.map +0 -1
  753. package/dist/production/plugins/element/paragraphs/ParagraphHtmlDeserializer.js.map +0 -1
  754. package/dist/production/plugins/element/paragraphs/withParagraphs.cjs.map +0 -1
  755. package/dist/production/plugins/element/paragraphs/withParagraphs.js.map +0 -1
  756. package/dist/production/plugins/element/scrollTargets/ScrollTargetElement.cjs.map +0 -1
  757. package/dist/production/plugins/element/scrollTargets/ScrollTargetElement.js.map +0 -1
  758. package/dist/production/plugins/element/scrollTargets/withScrollTargets.cjs.map +0 -1
  759. package/dist/production/plugins/element/scrollTargets/withScrollTargets.js.map +0 -1
  760. package/dist/production/plugins/element/tables/TableCellElement.cjs.map +0 -1
  761. package/dist/production/plugins/element/tables/TableCellElement.js.map +0 -1
  762. package/dist/production/plugins/element/tables/TableElement.cjs.map +0 -1
  763. package/dist/production/plugins/element/tables/TableElement.js.map +0 -1
  764. package/dist/production/plugins/element/tables/TableElementSelection.cjs.map +0 -1
  765. package/dist/production/plugins/element/tables/TableElementSelection.js.map +0 -1
  766. package/dist/production/plugins/element/tables/TableModifications.cjs +0 -134
  767. package/dist/production/plugins/element/tables/TableModifications.cjs.map +0 -1
  768. package/dist/production/plugins/element/tables/TableModifications.js +0 -134
  769. package/dist/production/plugins/element/tables/TableModifications.js.map +0 -1
  770. package/dist/production/plugins/element/tables/TableRowElement.cjs.map +0 -1
  771. package/dist/production/plugins/element/tables/TableRowElement.js.map +0 -1
  772. package/dist/production/plugins/element/tables/gaugeTableColumnCount.cjs.map +0 -1
  773. package/dist/production/plugins/element/tables/gaugeTableColumnCount.js.map +0 -1
  774. package/dist/production/plugins/element/tables/withTables.cjs.map +0 -1
  775. package/dist/production/plugins/element/tables/withTables.js.map +0 -1
  776. package/dist/production/plugins/text/bold/boldMark.cjs +0 -13
  777. package/dist/production/plugins/text/bold/boldMark.cjs.map +0 -1
  778. package/dist/production/plugins/text/bold/boldMark.js.map +0 -1
  779. package/dist/production/plugins/text/bold/withBold.cjs.map +0 -1
  780. package/dist/production/plugins/text/bold/withBold.js.map +0 -1
  781. package/dist/production/plugins/text/code/codeMark.cjs +0 -13
  782. package/dist/production/plugins/text/code/codeMark.cjs.map +0 -1
  783. package/dist/production/plugins/text/code/codeMark.js.map +0 -1
  784. package/dist/production/plugins/text/code/withCode.cjs.map +0 -1
  785. package/dist/production/plugins/text/code/withCode.js.map +0 -1
  786. package/dist/production/plugins/text/highlight/highlightMark.cjs +0 -13
  787. package/dist/production/plugins/text/highlight/highlightMark.cjs.map +0 -1
  788. package/dist/production/plugins/text/highlight/highlightMark.js.map +0 -1
  789. package/dist/production/plugins/text/highlight/withHighlight.cjs.map +0 -1
  790. package/dist/production/plugins/text/highlight/withHighlight.js.map +0 -1
  791. package/dist/production/plugins/text/italic/italicMark.cjs +0 -13
  792. package/dist/production/plugins/text/italic/italicMark.cjs.map +0 -1
  793. package/dist/production/plugins/text/italic/italicMark.js.map +0 -1
  794. package/dist/production/plugins/text/italic/withItalic.cjs.map +0 -1
  795. package/dist/production/plugins/text/italic/withItalic.js.map +0 -1
  796. package/dist/production/plugins/text/newline/withNewline.cjs.map +0 -1
  797. package/dist/production/plugins/text/newline/withNewline.js.map +0 -1
  798. package/dist/production/plugins/text/strikeThrough/strikeThroughMark.cjs +0 -13
  799. package/dist/production/plugins/text/strikeThrough/strikeThroughMark.cjs.map +0 -1
  800. package/dist/production/plugins/text/strikeThrough/strikeThroughMark.js.map +0 -1
  801. package/dist/production/plugins/text/strikeThrough/withStrikeThrough.cjs.map +0 -1
  802. package/dist/production/plugins/text/strikeThrough/withStrikeThrough.js.map +0 -1
  803. package/dist/production/plugins/text/underline/underlineMark.cjs +0 -13
  804. package/dist/production/plugins/text/underline/underlineMark.cjs.map +0 -1
  805. package/dist/production/plugins/text/underline/underlineMark.js.map +0 -1
  806. package/dist/production/plugins/text/underline/withUnderline.cjs.map +0 -1
  807. package/dist/production/plugins/text/underline/withUnderline.js.map +0 -1
  808. package/dist/production/slate-reexport.cjs.map +0 -1
  809. package/dist/production/slate-reexport.js.map +0 -1
  810. /package/dist/development/{editor → src/editor}/createEditor.js +0 -0
  811. /package/dist/development/{editor → src/editor}/createEditorWithEssentials.js +0 -0
  812. /package/dist/development/{editor → src/editor}/index.cjs +0 -0
  813. /package/dist/development/{editor → src/editor}/index.js +0 -0
  814. /package/dist/development/{editor → src/editor}/methods/addMarks.cjs +0 -0
  815. /package/dist/development/{editor → src/editor}/methods/addMarks.js +0 -0
  816. /package/dist/development/{editor → src/editor}/methods/canToggleMark.cjs +0 -0
  817. /package/dist/development/{editor → src/editor}/methods/canToggleMark.js +0 -0
  818. /package/dist/development/{editor → src/editor}/methods/closest.cjs +0 -0
  819. /package/dist/development/{editor → src/editor}/methods/closest.js +0 -0
  820. /package/dist/development/{editor → src/editor}/methods/closestBlockEntry.cjs +0 -0
  821. /package/dist/development/{editor → src/editor}/methods/closestBlockEntry.js +0 -0
  822. /package/dist/development/{editor → src/editor}/methods/closestViableBlockContainerEntry.cjs +0 -0
  823. /package/dist/development/{editor → src/editor}/methods/closestViableBlockContainerEntry.js +0 -0
  824. /package/dist/development/{editor → src/editor}/methods/ejectElement.cjs +0 -0
  825. /package/dist/development/{editor → src/editor}/methods/ejectElement.js +0 -0
  826. /package/dist/development/{editor → src/editor}/methods/elementToSpecifics.cjs +0 -0
  827. /package/dist/development/{editor → src/editor}/methods/elementToSpecifics.js +0 -0
  828. /package/dist/development/{editor → src/editor}/methods/getElementDataAttributes.cjs +0 -0
  829. /package/dist/development/{editor → src/editor}/methods/getElementDataAttributes.js +0 -0
  830. /package/dist/development/{editor → src/editor}/methods/getPreviousSibling.cjs +0 -0
  831. /package/dist/development/{editor → src/editor}/methods/getPreviousSibling.js +0 -0
  832. /package/dist/development/{editor → src/editor}/methods/hasMarks.cjs +0 -0
  833. /package/dist/development/{editor → src/editor}/methods/hasMarks.js +0 -0
  834. /package/dist/development/{editor → src/editor}/methods/hasParentOfType.cjs +0 -0
  835. /package/dist/development/{editor → src/editor}/methods/hasParentOfType.js +0 -0
  836. /package/dist/development/{editor → src/editor}/methods/isElementType.cjs +0 -0
  837. /package/dist/development/{editor → src/editor}/methods/isElementType.js +0 -0
  838. /package/dist/development/{editor → src/editor}/methods/permissivelyDeserializeNodes.cjs +0 -0
  839. /package/dist/development/{editor → src/editor}/methods/permissivelyDeserializeNodes.js +0 -0
  840. /package/dist/development/{editor → src/editor}/methods/removeMarks.cjs +0 -0
  841. /package/dist/development/{editor → src/editor}/methods/removeMarks.js +0 -0
  842. /package/dist/development/{editor → src/editor}/methods/serializeNodes.cjs +0 -0
  843. /package/dist/development/{editor → src/editor}/methods/serializeNodes.js +0 -0
  844. /package/dist/development/{editor → src/editor}/methods/strictlyDeserializeNodes.cjs +0 -0
  845. /package/dist/development/{editor → src/editor}/methods/strictlyDeserializeNodes.js +0 -0
  846. /package/dist/development/{editor → src/editor}/methods/textToSpecifics.cjs +0 -0
  847. /package/dist/development/{editor → src/editor}/methods/textToSpecifics.js +0 -0
  848. /package/dist/development/{editor → src/editor}/methods/toLatestFormat.cjs +0 -0
  849. /package/dist/development/{editor → src/editor}/methods/toLatestFormat.js +0 -0
  850. /package/dist/development/{editor → src/editor}/methods/topLevelNodes.cjs +0 -0
  851. /package/dist/development/{editor → src/editor}/methods/topLevelNodes.js +0 -0
  852. /package/dist/development/{internal → src/internal}/components/DefaultElement.js +0 -0
  853. /package/dist/development/{internal → src/internal}/hooks/useRichTextFieldNodes.cjs +0 -0
  854. /package/dist/development/{internal → src/internal}/hooks/useRichTextFieldNodes.js +0 -0
  855. /package/dist/development/{internal → src/internal}/utils/EditorPasteUtils.cjs +0 -0
  856. /package/dist/development/{internal → src/internal}/utils/EditorPasteUtils.js +0 -0
  857. /package/dist/development/{internal → src/internal}/utils/parseUrl.cjs +0 -0
  858. /package/dist/development/{internal → src/internal}/utils/parseUrl.js +0 -0
  859. /package/dist/development/{plugins → src/plugins}/attributes/alignment/alignButton.cjs +0 -0
  860. /package/dist/development/{plugins → src/plugins}/attributes/alignment/alignButton.js +0 -0
  861. /package/dist/development/{plugins → src/plugins}/behaviour/paste/HtmlDeserializer.cjs +0 -0
  862. /package/dist/development/{plugins → src/plugins}/behaviour/paste/HtmlDeserializer.js +0 -0
  863. /package/dist/development/{plugins → src/plugins}/behaviour/paste/createMarkHtmlDeserializer.cjs +0 -0
  864. /package/dist/development/{plugins → src/plugins}/behaviour/paste/createMarkHtmlDeserializer.js +0 -0
  865. /package/dist/development/{plugins → src/plugins}/behaviour/paste/withPaste.cjs +0 -0
  866. /package/dist/development/{plugins → src/plugins}/behaviour/paste/withPaste.js +0 -0
  867. /package/dist/development/{plugins → src/plugins}/element/anchors/AnchorElement.cjs +0 -0
  868. /package/dist/development/{plugins → src/plugins}/element/anchors/AnchorElement.js +0 -0
  869. /package/dist/development/{plugins → src/plugins}/element/anchors/AnchorHtmlDeserializer.cjs +0 -0
  870. /package/dist/development/{plugins → src/plugins}/element/anchors/AnchorHtmlDeserializer.js +0 -0
  871. /package/dist/development/{plugins → src/plugins}/element/anchors/AnchorModifications.cjs +0 -0
  872. /package/dist/development/{plugins → src/plugins}/element/anchors/AnchorModifications.js +0 -0
  873. /package/dist/development/{plugins → src/plugins}/element/anchors/withAnchors.cjs +0 -0
  874. /package/dist/development/{plugins → src/plugins}/element/anchors/withAnchors.js +0 -0
  875. /package/dist/development/{plugins → src/plugins}/element/headings/HeadingElement.cjs +0 -0
  876. /package/dist/development/{plugins → src/plugins}/element/headings/HeadingElement.js +0 -0
  877. /package/dist/development/{plugins → src/plugins}/element/headings/HeadingHtmlDeserializer.cjs +0 -0
  878. /package/dist/development/{plugins → src/plugins}/element/headings/HeadingHtmlDeserializer.js +0 -0
  879. /package/dist/development/{plugins → src/plugins}/element/headings/withHeadings.cjs +0 -0
  880. /package/dist/development/{plugins → src/plugins}/element/headings/withHeadings.js +0 -0
  881. /package/dist/development/{plugins → src/plugins}/element/horizonalRules/HorizontalRuleElement.cjs +0 -0
  882. /package/dist/development/{plugins → src/plugins}/element/horizonalRules/HorizontalRuleElement.js +0 -0
  883. /package/dist/development/{plugins → src/plugins}/element/horizonalRules/withHorizontalRules.cjs +0 -0
  884. /package/dist/development/{plugins → src/plugins}/element/horizonalRules/withHorizontalRules.js +0 -0
  885. /package/dist/development/{plugins → src/plugins}/element/lists/ListElement.cjs +0 -0
  886. /package/dist/development/{plugins → src/plugins}/element/lists/ListElement.js +0 -0
  887. /package/dist/development/{plugins → src/plugins}/element/lists/ListHtmlDeserializer.cjs +0 -0
  888. /package/dist/development/{plugins → src/plugins}/element/lists/ListHtmlDeserializer.js +0 -0
  889. /package/dist/development/{plugins → src/plugins}/element/lists/ListItemElement.cjs +0 -0
  890. /package/dist/development/{plugins → src/plugins}/element/lists/ListItemElement.js +0 -0
  891. /package/dist/development/{plugins → src/plugins}/element/lists/OrderedListElement.cjs +0 -0
  892. /package/dist/development/{plugins → src/plugins}/element/lists/OrderedListElement.js +0 -0
  893. /package/dist/development/{plugins → src/plugins}/element/lists/UnorderedListElement.cjs +0 -0
  894. /package/dist/development/{plugins → src/plugins}/element/lists/UnorderedListElement.js +0 -0
  895. /package/dist/development/{plugins → src/plugins}/element/lists/transforms/dedentListItem.cjs +0 -0
  896. /package/dist/development/{plugins → src/plugins}/element/lists/transforms/dedentListItem.js +0 -0
  897. /package/dist/development/{plugins → src/plugins}/element/lists/transforms/indentListItem.cjs +0 -0
  898. /package/dist/development/{plugins → src/plugins}/element/lists/transforms/indentListItem.js +0 -0
  899. /package/dist/development/{plugins → src/plugins}/element/lists/transforms/normalizeListElement.cjs +0 -0
  900. /package/dist/development/{plugins → src/plugins}/element/lists/transforms/normalizeListElement.js +0 -0
  901. /package/dist/development/{plugins → src/plugins}/element/lists/transforms/toggleListElement.cjs +0 -0
  902. /package/dist/development/{plugins → src/plugins}/element/lists/transforms/toggleListElement.js +0 -0
  903. /package/dist/development/{plugins → src/plugins}/element/lists/withLists.cjs +0 -0
  904. /package/dist/development/{plugins → src/plugins}/element/lists/withLists.js +0 -0
  905. /package/dist/development/{plugins → src/plugins}/element/paragraphs/ParagraphElement.cjs +0 -0
  906. /package/dist/development/{plugins → src/plugins}/element/paragraphs/ParagraphElement.js +0 -0
  907. /package/dist/development/{plugins → src/plugins}/element/paragraphs/ParagraphHtmlDeserializer.cjs +0 -0
  908. /package/dist/development/{plugins → src/plugins}/element/paragraphs/ParagraphHtmlDeserializer.js +0 -0
  909. /package/dist/development/{plugins → src/plugins}/element/paragraphs/withParagraphs.cjs +0 -0
  910. /package/dist/development/{plugins → src/plugins}/element/paragraphs/withParagraphs.js +0 -0
  911. /package/dist/development/{plugins → src/plugins}/element/scrollTargets/ScrollTargetElement.cjs +0 -0
  912. /package/dist/development/{plugins → src/plugins}/element/scrollTargets/ScrollTargetElement.js +0 -0
  913. /package/dist/development/{plugins → src/plugins}/element/scrollTargets/withScrollTargets.cjs +0 -0
  914. /package/dist/development/{plugins → src/plugins}/element/scrollTargets/withScrollTargets.js +0 -0
  915. /package/dist/development/{plugins → src/plugins}/element/tables/TableCellElement.cjs +0 -0
  916. /package/dist/development/{plugins → src/plugins}/element/tables/TableCellElement.js +0 -0
  917. /package/dist/development/{plugins → src/plugins}/element/tables/TableElement.cjs +0 -0
  918. /package/dist/development/{plugins → src/plugins}/element/tables/TableElement.js +0 -0
  919. /package/dist/development/{plugins → src/plugins}/element/tables/TableElementSelection.cjs +0 -0
  920. /package/dist/development/{plugins → src/plugins}/element/tables/TableElementSelection.js +0 -0
  921. /package/dist/development/{plugins → src/plugins}/element/tables/TableRowElement.cjs +0 -0
  922. /package/dist/development/{plugins → src/plugins}/element/tables/TableRowElement.js +0 -0
  923. /package/dist/development/{plugins → src/plugins}/element/tables/gaugeTableColumnCount.cjs +0 -0
  924. /package/dist/development/{plugins → src/plugins}/element/tables/gaugeTableColumnCount.js +0 -0
  925. /package/dist/development/{plugins → src/plugins}/element/tables/withTables.cjs +0 -0
  926. /package/dist/development/{plugins → src/plugins}/element/tables/withTables.js +0 -0
  927. /package/dist/development/{plugins → src/plugins}/text/bold/boldMark.js +0 -0
  928. /package/dist/development/{plugins → src/plugins}/text/bold/withBold.cjs +0 -0
  929. /package/dist/development/{plugins → src/plugins}/text/bold/withBold.js +0 -0
  930. /package/dist/development/{plugins → src/plugins}/text/code/codeMark.js +0 -0
  931. /package/dist/development/{plugins → src/plugins}/text/code/withCode.cjs +0 -0
  932. /package/dist/development/{plugins → src/plugins}/text/code/withCode.js +0 -0
  933. /package/dist/development/{plugins → src/plugins}/text/highlight/highlightMark.js +0 -0
  934. /package/dist/development/{plugins → src/plugins}/text/highlight/withHighlight.cjs +0 -0
  935. /package/dist/development/{plugins → src/plugins}/text/highlight/withHighlight.js +0 -0
  936. /package/dist/development/{plugins → src/plugins}/text/italic/italicMark.js +0 -0
  937. /package/dist/development/{plugins → src/plugins}/text/italic/withItalic.cjs +0 -0
  938. /package/dist/development/{plugins → src/plugins}/text/italic/withItalic.js +0 -0
  939. /package/dist/development/{plugins → src/plugins}/text/newline/withNewline.cjs +0 -0
  940. /package/dist/development/{plugins → src/plugins}/text/newline/withNewline.js +0 -0
  941. /package/dist/development/{plugins → src/plugins}/text/strikeThrough/strikeThroughMark.js +0 -0
  942. /package/dist/development/{plugins → src/plugins}/text/strikeThrough/withStrikeThrough.cjs +0 -0
  943. /package/dist/development/{plugins → src/plugins}/text/strikeThrough/withStrikeThrough.js +0 -0
  944. /package/dist/development/{plugins → src/plugins}/text/underline/underlineMark.js +0 -0
  945. /package/dist/development/{plugins → src/plugins}/text/underline/withUnderline.cjs +0 -0
  946. /package/dist/development/{plugins → src/plugins}/text/underline/withUnderline.js +0 -0
  947. /package/dist/development/{slate-reexport.cjs → src/slate-reexport.cjs} +0 -0
  948. /package/dist/development/{slate-reexport.js → src/slate-reexport.js} +0 -0
  949. /package/dist/{development → production/src}/components/triggers/EditorElementTrigger.cjs +0 -0
  950. /package/dist/{development → production/src}/components/triggers/EditorElementTrigger.js +0 -0
  951. /package/dist/{development → production/src}/components/triggers/EditorGenericTrigger.cjs +0 -0
  952. /package/dist/{development → production/src}/components/triggers/EditorGenericTrigger.js +0 -0
  953. /package/dist/{development → production/src}/components/triggers/EditorMarkTrigger.cjs +0 -0
  954. /package/dist/{development → production/src}/components/triggers/EditorMarkTrigger.js +0 -0
  955. /package/dist/{development → production/src}/components/triggers/EditorWrapNodeTrigger.cjs +0 -0
  956. /package/dist/{development → production/src}/components/triggers/EditorWrapNodeTrigger.js +0 -0
  957. /package/dist/production/{editor → src/editor}/createEditor.js +0 -0
  958. /package/dist/production/{editor → src/editor}/createEditorWithEssentials.js +0 -0
  959. /package/dist/production/{editor → src/editor}/index.cjs +0 -0
  960. /package/dist/production/{editor → src/editor}/index.js +0 -0
  961. /package/dist/production/{editor → src/editor}/methods/addMarks.cjs +0 -0
  962. /package/dist/production/{editor → src/editor}/methods/addMarks.js +0 -0
  963. /package/dist/production/{editor → src/editor}/methods/canToggleMark.cjs +0 -0
  964. /package/dist/production/{editor → src/editor}/methods/canToggleMark.js +0 -0
  965. /package/dist/production/{editor → src/editor}/methods/closest.cjs +0 -0
  966. /package/dist/production/{editor → src/editor}/methods/closest.js +0 -0
  967. /package/dist/production/{editor → src/editor}/methods/closestBlockEntry.cjs +0 -0
  968. /package/dist/production/{editor → src/editor}/methods/closestBlockEntry.js +0 -0
  969. /package/dist/production/{editor → src/editor}/methods/closestViableBlockContainerEntry.cjs +0 -0
  970. /package/dist/production/{editor → src/editor}/methods/closestViableBlockContainerEntry.js +0 -0
  971. /package/dist/production/{editor → src/editor}/methods/ejectElement.cjs +0 -0
  972. /package/dist/production/{editor → src/editor}/methods/ejectElement.js +0 -0
  973. /package/dist/production/{editor → src/editor}/methods/elementToSpecifics.cjs +0 -0
  974. /package/dist/production/{editor → src/editor}/methods/elementToSpecifics.js +0 -0
  975. /package/dist/production/{editor → src/editor}/methods/getElementDataAttributes.cjs +0 -0
  976. /package/dist/production/{editor → src/editor}/methods/getElementDataAttributes.js +0 -0
  977. /package/dist/production/{editor → src/editor}/methods/getPreviousSibling.cjs +0 -0
  978. /package/dist/production/{editor → src/editor}/methods/getPreviousSibling.js +0 -0
  979. /package/dist/production/{editor → src/editor}/methods/hasMarks.cjs +0 -0
  980. /package/dist/production/{editor → src/editor}/methods/hasMarks.js +0 -0
  981. /package/dist/production/{editor → src/editor}/methods/hasParentOfType.cjs +0 -0
  982. /package/dist/production/{editor → src/editor}/methods/hasParentOfType.js +0 -0
  983. /package/dist/production/{editor → src/editor}/methods/isElementType.cjs +0 -0
  984. /package/dist/production/{editor → src/editor}/methods/isElementType.js +0 -0
  985. /package/dist/production/{editor → src/editor}/methods/permissivelyDeserializeNodes.cjs +0 -0
  986. /package/dist/production/{editor → src/editor}/methods/permissivelyDeserializeNodes.js +0 -0
  987. /package/dist/production/{editor → src/editor}/methods/removeMarks.cjs +0 -0
  988. /package/dist/production/{editor → src/editor}/methods/removeMarks.js +0 -0
  989. /package/dist/production/{editor → src/editor}/methods/serializeNodes.cjs +0 -0
  990. /package/dist/production/{editor → src/editor}/methods/serializeNodes.js +0 -0
  991. /package/dist/production/{editor → src/editor}/methods/strictlyDeserializeNodes.cjs +0 -0
  992. /package/dist/production/{editor → src/editor}/methods/strictlyDeserializeNodes.js +0 -0
  993. /package/dist/production/{editor → src/editor}/methods/textToSpecifics.cjs +0 -0
  994. /package/dist/production/{editor → src/editor}/methods/textToSpecifics.js +0 -0
  995. /package/dist/production/{editor → src/editor}/methods/toLatestFormat.cjs +0 -0
  996. /package/dist/production/{editor → src/editor}/methods/toLatestFormat.js +0 -0
  997. /package/dist/production/{editor → src/editor}/methods/topLevelNodes.cjs +0 -0
  998. /package/dist/production/{editor → src/editor}/methods/topLevelNodes.js +0 -0
  999. /package/dist/production/{internal → src/internal}/components/DefaultElement.js +0 -0
  1000. /package/dist/production/{internal → src/internal}/hooks/useRichTextFieldNodes.cjs +0 -0
  1001. /package/dist/production/{internal → src/internal}/hooks/useRichTextFieldNodes.js +0 -0
  1002. /package/dist/production/{internal → src/internal}/utils/EditorPasteUtils.cjs +0 -0
  1003. /package/dist/production/{internal → src/internal}/utils/EditorPasteUtils.js +0 -0
  1004. /package/dist/production/{internal → src/internal}/utils/parseUrl.cjs +0 -0
  1005. /package/dist/production/{internal → src/internal}/utils/parseUrl.js +0 -0
  1006. /package/dist/production/{plugins → src/plugins}/attributes/alignment/alignButton.cjs +0 -0
  1007. /package/dist/production/{plugins → src/plugins}/attributes/alignment/alignButton.js +0 -0
  1008. /package/dist/production/{plugins → src/plugins}/behaviour/paste/HtmlDeserializer.cjs +0 -0
  1009. /package/dist/production/{plugins → src/plugins}/behaviour/paste/HtmlDeserializer.js +0 -0
  1010. /package/dist/production/{plugins → src/plugins}/behaviour/paste/createMarkHtmlDeserializer.cjs +0 -0
  1011. /package/dist/production/{plugins → src/plugins}/behaviour/paste/createMarkHtmlDeserializer.js +0 -0
  1012. /package/dist/production/{plugins → src/plugins}/behaviour/paste/withPaste.cjs +0 -0
  1013. /package/dist/production/{plugins → src/plugins}/behaviour/paste/withPaste.js +0 -0
  1014. /package/dist/production/{plugins → src/plugins}/element/anchors/AnchorElement.cjs +0 -0
  1015. /package/dist/production/{plugins → src/plugins}/element/anchors/AnchorElement.js +0 -0
  1016. /package/dist/production/{plugins → src/plugins}/element/anchors/AnchorHtmlDeserializer.cjs +0 -0
  1017. /package/dist/production/{plugins → src/plugins}/element/anchors/AnchorHtmlDeserializer.js +0 -0
  1018. /package/dist/production/{plugins → src/plugins}/element/anchors/AnchorModifications.cjs +0 -0
  1019. /package/dist/production/{plugins → src/plugins}/element/anchors/AnchorModifications.js +0 -0
  1020. /package/dist/production/{plugins → src/plugins}/element/anchors/withAnchors.cjs +0 -0
  1021. /package/dist/production/{plugins → src/plugins}/element/anchors/withAnchors.js +0 -0
  1022. /package/dist/production/{plugins → src/plugins}/element/headings/HeadingElement.cjs +0 -0
  1023. /package/dist/production/{plugins → src/plugins}/element/headings/HeadingElement.js +0 -0
  1024. /package/dist/production/{plugins → src/plugins}/element/headings/HeadingHtmlDeserializer.cjs +0 -0
  1025. /package/dist/production/{plugins → src/plugins}/element/headings/HeadingHtmlDeserializer.js +0 -0
  1026. /package/dist/production/{plugins → src/plugins}/element/headings/withHeadings.cjs +0 -0
  1027. /package/dist/production/{plugins → src/plugins}/element/headings/withHeadings.js +0 -0
  1028. /package/dist/production/{plugins → src/plugins}/element/horizonalRules/HorizontalRuleElement.cjs +0 -0
  1029. /package/dist/production/{plugins → src/plugins}/element/horizonalRules/HorizontalRuleElement.js +0 -0
  1030. /package/dist/production/{plugins → src/plugins}/element/horizonalRules/withHorizontalRules.cjs +0 -0
  1031. /package/dist/production/{plugins → src/plugins}/element/horizonalRules/withHorizontalRules.js +0 -0
  1032. /package/dist/production/{plugins → src/plugins}/element/lists/ListElement.cjs +0 -0
  1033. /package/dist/production/{plugins → src/plugins}/element/lists/ListElement.js +0 -0
  1034. /package/dist/production/{plugins → src/plugins}/element/lists/ListHtmlDeserializer.cjs +0 -0
  1035. /package/dist/production/{plugins → src/plugins}/element/lists/ListHtmlDeserializer.js +0 -0
  1036. /package/dist/production/{plugins → src/plugins}/element/lists/ListItemElement.cjs +0 -0
  1037. /package/dist/production/{plugins → src/plugins}/element/lists/ListItemElement.js +0 -0
  1038. /package/dist/production/{plugins → src/plugins}/element/lists/OrderedListElement.cjs +0 -0
  1039. /package/dist/production/{plugins → src/plugins}/element/lists/OrderedListElement.js +0 -0
  1040. /package/dist/production/{plugins → src/plugins}/element/lists/UnorderedListElement.cjs +0 -0
  1041. /package/dist/production/{plugins → src/plugins}/element/lists/UnorderedListElement.js +0 -0
  1042. /package/dist/production/{plugins → src/plugins}/element/lists/transforms/dedentListItem.cjs +0 -0
  1043. /package/dist/production/{plugins → src/plugins}/element/lists/transforms/dedentListItem.js +0 -0
  1044. /package/dist/production/{plugins → src/plugins}/element/lists/transforms/indentListItem.cjs +0 -0
  1045. /package/dist/production/{plugins → src/plugins}/element/lists/transforms/indentListItem.js +0 -0
  1046. /package/dist/production/{plugins → src/plugins}/element/lists/transforms/normalizeListElement.cjs +0 -0
  1047. /package/dist/production/{plugins → src/plugins}/element/lists/transforms/normalizeListElement.js +0 -0
  1048. /package/dist/production/{plugins → src/plugins}/element/lists/transforms/toggleListElement.cjs +0 -0
  1049. /package/dist/production/{plugins → src/plugins}/element/lists/transforms/toggleListElement.js +0 -0
  1050. /package/dist/production/{plugins → src/plugins}/element/lists/withLists.cjs +0 -0
  1051. /package/dist/production/{plugins → src/plugins}/element/lists/withLists.js +0 -0
  1052. /package/dist/production/{plugins → src/plugins}/element/paragraphs/ParagraphElement.cjs +0 -0
  1053. /package/dist/production/{plugins → src/plugins}/element/paragraphs/ParagraphElement.js +0 -0
  1054. /package/dist/production/{plugins → src/plugins}/element/paragraphs/ParagraphHtmlDeserializer.cjs +0 -0
  1055. /package/dist/production/{plugins → src/plugins}/element/paragraphs/ParagraphHtmlDeserializer.js +0 -0
  1056. /package/dist/production/{plugins → src/plugins}/element/paragraphs/withParagraphs.cjs +0 -0
  1057. /package/dist/production/{plugins → src/plugins}/element/paragraphs/withParagraphs.js +0 -0
  1058. /package/dist/production/{plugins → src/plugins}/element/scrollTargets/ScrollTargetElement.cjs +0 -0
  1059. /package/dist/production/{plugins → src/plugins}/element/scrollTargets/ScrollTargetElement.js +0 -0
  1060. /package/dist/production/{plugins → src/plugins}/element/scrollTargets/withScrollTargets.cjs +0 -0
  1061. /package/dist/production/{plugins → src/plugins}/element/scrollTargets/withScrollTargets.js +0 -0
  1062. /package/dist/production/{plugins → src/plugins}/element/tables/TableCellElement.cjs +0 -0
  1063. /package/dist/production/{plugins → src/plugins}/element/tables/TableCellElement.js +0 -0
  1064. /package/dist/production/{plugins → src/plugins}/element/tables/TableElement.cjs +0 -0
  1065. /package/dist/production/{plugins → src/plugins}/element/tables/TableElement.js +0 -0
  1066. /package/dist/production/{plugins → src/plugins}/element/tables/TableElementSelection.cjs +0 -0
  1067. /package/dist/production/{plugins → src/plugins}/element/tables/TableElementSelection.js +0 -0
  1068. /package/dist/production/{plugins → src/plugins}/element/tables/TableRowElement.cjs +0 -0
  1069. /package/dist/production/{plugins → src/plugins}/element/tables/TableRowElement.js +0 -0
  1070. /package/dist/production/{plugins → src/plugins}/element/tables/gaugeTableColumnCount.cjs +0 -0
  1071. /package/dist/production/{plugins → src/plugins}/element/tables/gaugeTableColumnCount.js +0 -0
  1072. /package/dist/production/{plugins → src/plugins}/element/tables/withTables.cjs +0 -0
  1073. /package/dist/production/{plugins → src/plugins}/element/tables/withTables.js +0 -0
  1074. /package/dist/production/{plugins → src/plugins}/text/bold/boldMark.js +0 -0
  1075. /package/dist/production/{plugins → src/plugins}/text/bold/withBold.cjs +0 -0
  1076. /package/dist/production/{plugins → src/plugins}/text/bold/withBold.js +0 -0
  1077. /package/dist/production/{plugins → src/plugins}/text/code/codeMark.js +0 -0
  1078. /package/dist/production/{plugins → src/plugins}/text/code/withCode.cjs +0 -0
  1079. /package/dist/production/{plugins → src/plugins}/text/code/withCode.js +0 -0
  1080. /package/dist/production/{plugins → src/plugins}/text/highlight/highlightMark.js +0 -0
  1081. /package/dist/production/{plugins → src/plugins}/text/highlight/withHighlight.cjs +0 -0
  1082. /package/dist/production/{plugins → src/plugins}/text/highlight/withHighlight.js +0 -0
  1083. /package/dist/production/{plugins → src/plugins}/text/italic/italicMark.js +0 -0
  1084. /package/dist/production/{plugins → src/plugins}/text/italic/withItalic.cjs +0 -0
  1085. /package/dist/production/{plugins → src/plugins}/text/italic/withItalic.js +0 -0
  1086. /package/dist/production/{plugins → src/plugins}/text/newline/withNewline.cjs +0 -0
  1087. /package/dist/production/{plugins → src/plugins}/text/newline/withNewline.js +0 -0
  1088. /package/dist/production/{plugins → src/plugins}/text/strikeThrough/strikeThroughMark.js +0 -0
  1089. /package/dist/production/{plugins → src/plugins}/text/strikeThrough/withStrikeThrough.cjs +0 -0
  1090. /package/dist/production/{plugins → src/plugins}/text/strikeThrough/withStrikeThrough.js +0 -0
  1091. /package/dist/production/{plugins → src/plugins}/text/underline/underlineMark.js +0 -0
  1092. /package/dist/production/{plugins → src/plugins}/text/underline/withUnderline.cjs +0 -0
  1093. /package/dist/production/{plugins → src/plugins}/text/underline/withUnderline.js +0 -0
  1094. /package/dist/production/{slate-reexport.cjs → src/slate-reexport.cjs} +0 -0
  1095. /package/dist/production/{slate-reexport.js → src/slate-reexport.js} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withTables.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/element/tables/withTables.ts"],"sourcesContent":["import { Editor, Element, Node as SlateNode, NodeEntry, Path as SlatePath, Point, Range as SlateRange, Text, Transforms } from 'slate'\nimport { ContemberEditor } from '../../../editor'\nimport { isTableCellElement, TableCellElement, tableCellElementPlugin } from './TableCellElement'\nimport { getTableElementColumnCount, getTableElementRowCount, isTableElement, TableElement, tableElementPlugin } from './TableElement'\nimport { getTableCellCoordinates, selectTableCellContents } from './TableElementSelection'\nimport { TableModifications } from './TableModifications'\nimport { isTableRowElement, TableRowElement, tableRowElementPlugin } from './TableRowElement'\nimport { ElementRenderer } from '../../../types'\n\nexport const withTables = ({ renderTable, renderTableCell, renderTableRow }: {\n\trenderTable: ElementRenderer<TableElement>\n\trenderTableCell: ElementRenderer<TableCellElement>\n\trenderTableRow: ElementRenderer<TableRowElement>\n}) => <E extends Editor>(editor: E): E => {\n\tconst {\n\t\tdeleteForward,\n\t\tdeleteBackward,\n\t\tdeleteFragment,\n\t\tinsertBreak,\n\t\tonKeyDown,\n\t} = editor\n\n\teditor.registerElement(tableElementPlugin({ render: renderTable }))\n\teditor.registerElement(tableCellElementPlugin({ render: renderTableCell }))\n\teditor.registerElement(tableRowElementPlugin({ render: renderTableRow }))\n\n\tObject.assign<Editor, Partial<Editor>>(editor, {\n\t\tinsertBreak: () => {\n\t\t\tconst closestBlockEntry = ContemberEditor.closestBlockEntry(editor)\n\t\t\tif (closestBlockEntry && isTableCellElement(closestBlockEntry[0])) {\n\t\t\t\tconst selection = editor.selection\n\t\t\t\tconst [, closestBlockPath] = closestBlockEntry\n\t\t\t\tconst [cellStart, cellEnd] = Editor.edges(editor, closestBlockPath)\n\n\t\t\t\tif (!selection) {\n\t\t\t\t\treturn insertBreak()\n\t\t\t\t}\n\n\t\t\t\treturn Editor.withoutNormalizing(editor, () => {\n\t\t\t\t\tTransforms.wrapNodes(editor, editor.createDefaultElement([]), {\n\t\t\t\t\t\tat: {\n\t\t\t\t\t\t\tanchor: cellStart,\n\t\t\t\t\t\t\tfocus: cellEnd,\n\t\t\t\t\t\t},\n\t\t\t\t\t\tmatch: node => Text.isText(node) || (Element.isElement(node) && editor.isInline(node)),\n\t\t\t\t\t})\n\n\t\t\t\t\tconst relative = SlatePath.relative(selection.focus.path, closestBlockPath)\n\t\t\t\t\tTransforms.splitNodes(editor, {\n\t\t\t\t\t\t// The zero should be the newly created default element.\n\t\t\t\t\t\tat: {\n\t\t\t\t\t\t\tpath: [...closestBlockPath, 0, ...relative],\n\t\t\t\t\t\t\toffset: selection.focus.offset,\n\t\t\t\t\t\t},\n\t\t\t\t\t\talways: true,\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t}\n\t\t\tinsertBreak()\n\t\t},\n\t\tdeleteBackward: unit => {\n\t\t\tconst selection = editor.selection\n\t\t\tif (selection && SlateRange.isCollapsed(selection)) {\n\t\t\t\tconst closestBlockEntry = ContemberEditor.closestBlockEntry(editor)\n\t\t\t\tif (\n\t\t\t\t\tclosestBlockEntry &&\n\t\t\t\t\tisTableCellElement(closestBlockEntry[0]) &&\n\t\t\t\t\tPoint.equals(selection.focus, Editor.start(editor, closestBlockEntry[1]))\n\t\t\t\t) {\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t}\n\t\t\tdeleteBackward(unit)\n\t\t},\n\t\tdeleteForward: unit => {\n\t\t\tconst selection = editor.selection\n\t\t\tif (selection && SlateRange.isCollapsed(selection)) {\n\t\t\t\tconst closestBlockEntry = ContemberEditor.closestBlockEntry(editor)\n\t\t\t\tif (\n\t\t\t\t\tclosestBlockEntry &&\n\t\t\t\t\tisTableCellElement(closestBlockEntry[0]) &&\n\t\t\t\t\tPoint.equals(selection.focus, Editor.end(editor, closestBlockEntry[1]))\n\t\t\t\t) {\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t}\n\t\t\tdeleteForward(unit)\n\t\t},\n\t\tdeleteFragment: () => {\n\t\t\tconst selection = editor.selection\n\t\t\tif (!selection || SlateRange.isCollapsed(selection)) {\n\t\t\t\treturn deleteFragment()\n\t\t\t}\n\t\t\tconst lowestCommonAncestorPath = SlatePath.common(selection.anchor.path, selection.focus.path)\n\t\t\tconst [lowestCommonAncestor] = Editor.node(editor, lowestCommonAncestorPath)\n\n\t\t\tif (isTableElement(lowestCommonAncestor) || isTableRowElement(lowestCommonAncestor)) {\n\t\t\t\treturn // TODO nope for now\n\t\t\t}\n\t\t\tdeleteFragment()\n\t\t},\n\t\tonKeyDown: event => {\n\t\t\tconst selection = editor.selection\n\t\t\tif (\n\t\t\t\t!selection ||\n\t\t\t\t!(\n\t\t\t\t\tevent.key === 'Tab' ||\n\t\t\t\t\tevent.key === 'ArrowUp' ||\n\t\t\t\t\tevent.key === 'ArrowRight' ||\n\t\t\t\t\tevent.key === 'ArrowDown' ||\n\t\t\t\t\tevent.key === 'ArrowLeft' ||\n\t\t\t\t\tevent.key === 'Enter' ||\n\t\t\t\t\tevent.key === 'Backspace'\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\treturn onKeyDown(event)\n\t\t\t}\n\t\t\tconst closestBlockEntry = ContemberEditor.closestBlockEntry(editor, { at: selection })\n\n\t\t\tif (!closestBlockEntry) {\n\t\t\t\treturn onKeyDown(event)\n\t\t\t}\n\t\t\tlet cellElement: TableCellElement\n\t\t\tlet cellPath: SlatePath\n\n\t\t\tif (!isTableCellElement(closestBlockEntry[0])) {\n\t\t\t\tconst parent = SlateNode.parent(editor, closestBlockEntry[1])\n\t\t\t\tif (Element.isElement(closestBlockEntry[0]) && editor.isDefaultElement(closestBlockEntry[0]) && isTableCellElement(parent)) {\n\t\t\t\t\tcellElement = parent\n\t\t\t\t\tcellPath = SlatePath.parent(closestBlockEntry[1])\n\t\t\t\t} else {\n\t\t\t\t\treturn onKeyDown(event)\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t[cellElement, cellPath] = closestBlockEntry\n\t\t\t}\n\t\t\tif (cellPath.length < 3) {\n\t\t\t\treturn onKeyDown(event)\n\t\t\t}\n\t\t\tconst [rowIndex, columnIndex] = getTableCellCoordinates(editor, cellElement)\n\t\t\tconst tablePath = cellPath.slice(0, -2)\n\t\t\tconst tableElement = SlateNode.get(editor, tablePath) as TableElement\n\t\t\tconst rowCount = getTableElementRowCount(tableElement)\n\t\t\tconst columnCount = getTableElementColumnCount(tableElement)\n\n\t\t\tif (rowCount === 0 || columnCount === 0) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tconst moveSelectionBeforeTable = () => {\n\t\t\t\tconst pointBeforeTable = Editor.before(editor, tablePath)\n\t\t\t\tif (!pointBeforeTable) {\n\t\t\t\t\treturn onKeyDown(event)\n\t\t\t\t}\n\t\t\t\tevent.preventDefault()\n\t\t\t\treturn Transforms.select(editor, pointBeforeTable)\n\t\t\t}\n\t\t\tconst moveSelectionAfterTable = () => {\n\t\t\t\tconst pointAfterTable = Editor.after(editor, tablePath)\n\t\t\t\tif (!pointAfterTable) {\n\t\t\t\t\treturn onKeyDown(event)\n\t\t\t\t}\n\t\t\t\tevent.preventDefault()\n\t\t\t\treturn Transforms.select(editor, pointAfterTable)\n\t\t\t}\n\n\t\t\tif (event.key === 'Tab') {\n\t\t\t\tif (event.shiftKey) {\n\t\t\t\t\t// Moving backwards\n\t\t\t\t\tif (columnIndex > 0) {\n\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\treturn selectTableCellContents(editor, tablePath, rowIndex, columnIndex - 1)\n\t\t\t\t\t} else if (columnIndex === 0) {\n\t\t\t\t\t\tif (rowIndex > 0) {\n\t\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\t\treturn selectTableCellContents(editor, tablePath, rowIndex - 1, columnCount - 1)\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn moveSelectionBeforeTable()\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Moving forwards\n\t\t\t\t\tif (columnIndex < columnCount - 1) {\n\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\treturn selectTableCellContents(editor, tablePath, rowIndex, columnIndex + 1)\n\t\t\t\t\t} else if (columnIndex === columnCount - 1) {\n\t\t\t\t\t\t// We're at the right edge of the table\n\t\t\t\t\t\tif (rowIndex < rowCount - 1) {\n\t\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\t\treturn selectTableCellContents(editor, tablePath, rowIndex + 1, 0)\n\t\t\t\t\t\t} else if (rowIndex === rowCount - 1) {\n\t\t\t\t\t\t\treturn moveSelectionAfterTable()\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (event.key === 'ArrowLeft') {\n\t\t\t\tif (!SlateRange.isCollapsed(selection)) {\n\t\t\t\t\treturn onKeyDown(event)\n\t\t\t\t}\n\t\t\t\tif (Point.equals(selection.focus, Editor.start(editor, cellPath))) {\n\t\t\t\t\tif (columnIndex > 0) {\n\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\treturn Transforms.select(editor, Editor.end(editor, [...tablePath, rowIndex, columnIndex - 1]))\n\t\t\t\t\t} else if (columnIndex === 0) {\n\t\t\t\t\t\tif (rowIndex > 0) {\n\t\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\t\treturn Transforms.select(editor, Editor.end(editor, [...tablePath, rowIndex - 1, columnCount - 1]))\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn moveSelectionBeforeTable()\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (event.key === 'ArrowRight') {\n\t\t\t\tif (!SlateRange.isCollapsed(selection)) {\n\t\t\t\t\treturn onKeyDown(event)\n\t\t\t\t}\n\t\t\t\tif (Point.equals(selection.focus, Editor.end(editor, cellPath))) {\n\t\t\t\t\tif (columnIndex < columnCount - 1) {\n\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\treturn Transforms.select(editor, Editor.start(editor, [...tablePath, rowIndex, columnIndex + 1]))\n\t\t\t\t\t} else if (columnIndex === columnCount - 1) {\n\t\t\t\t\t\tif (rowIndex < rowCount - 1) {\n\t\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\t\treturn Transforms.select(editor, Editor.start(editor, [...tablePath, rowIndex + 1, 0]))\n\t\t\t\t\t\t} else if (rowIndex === rowCount - 1) {\n\t\t\t\t\t\t\treturn moveSelectionAfterTable()\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {\n\t\t\t\tconst withinDefault = editor.isDefaultElement(closestBlockEntry[0])\n\t\t\t\tif (withinDefault) {\n\t\t\t\t\tconst relative = SlatePath.relative(closestBlockEntry[1], cellPath)\n\t\t\t\t\tconst defaultIndex = relative[0]\n\t\t\t\t\tif (\n\t\t\t\t\t\t(event.key === 'ArrowUp' && defaultIndex !== 0) ||\n\t\t\t\t\t\t(event.key === 'ArrowDown' && defaultIndex !== cellElement.children.length - 1)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn onKeyDown(event)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (event.key === 'ArrowUp') {\n\t\t\t\t\tif (rowIndex > 0) {\n\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\tconst rowAboveEndPoint = Editor.end(editor, [...tablePath, rowIndex - 1, columnIndex])\n\n\t\t\t\t\t\tif (!SlateRange.isCollapsed(selection)) {\n\t\t\t\t\t\t\treturn Transforms.select(editor, rowAboveEndPoint)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst minOffset = Math.min(selection.focus.offset, rowAboveEndPoint.offset)\n\t\t\t\t\t\treturn Transforms.select(editor, {\n\t\t\t\t\t\t\tpath: rowAboveEndPoint.path,\n\t\t\t\t\t\t\toffset: minOffset,\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\treturn moveSelectionBeforeTable()\n\t\t\t\t} else if (event.key === 'ArrowDown') {\n\t\t\t\t\tif (rowIndex < rowCount - 1) {\n\t\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\t\tconst rowBelowStatPoint = Editor.start(editor, [...tablePath, rowIndex + 1, columnIndex])\n\n\t\t\t\t\t\tif (!SlateRange.isCollapsed(selection)) {\n\t\t\t\t\t\t\treturn Transforms.select(editor, rowBelowStatPoint)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst [rowBelowStatPointNode] = Editor.node(editor, rowBelowStatPoint) as NodeEntry<Text>\n\n\t\t\t\t\t\treturn Transforms.select(editor, {\n\t\t\t\t\t\t\tpath: rowBelowStatPoint.path,\n\t\t\t\t\t\t\toffset: Math.min(selection.focus.offset, rowBelowStatPointNode.text.length),\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\treturn moveSelectionAfterTable()\n\t\t\t\t}\n\t\t\t} else if (event.ctrlKey || event.metaKey) {\n\t\t\t\tif (event.key === 'Backspace') {\n\t\t\t\t\tevent.preventDefault()\n\n\t\t\t\t\tif (event.altKey) {\n\t\t\t\t\t\tTableModifications.deleteTableColumn(editor, tableElement, columnIndex)\n\n\t\t\t\t\t\tif (columnCount > 1) {\n\t\t\t\t\t\t\tconst columnBefore = Editor.start(editor, [...tablePath, rowIndex, Math.max(0, columnIndex - 1)])\n\n\t\t\t\t\t\t\treturn Transforms.select(editor, columnBefore)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn moveSelectionBeforeTable()\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tTableModifications.deleteTableRow(editor, tableElement, rowIndex)\n\n\t\t\t\t\t\tif (rowCount > 1) {\n\t\t\t\t\t\t\tconst rowAbove = Editor.start(editor, [...tablePath, Math.max(0, rowIndex - 1), columnIndex])\n\n\t\t\t\t\t\t\treturn Transforms.select(editor, rowAbove)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn moveSelectionBeforeTable()\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (event.key === 'Enter') {\n\t\t\t\t\tevent.preventDefault()\n\n\t\t\t\t\tif (event.altKey) {\n\t\t\t\t\t\tif (event.shiftKey) {\n\t\t\t\t\t\t\tTableModifications.addTableColumn(editor, tableElement, columnIndex)\n\t\t\t\t\t\t\tconst columnBefore = Editor.start(editor, [...tablePath, rowIndex, Math.max(0, columnIndex)])\n\n\t\t\t\t\t\t\treturn Transforms.select(editor, columnBefore)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tTableModifications.addTableColumn(editor, tableElement, columnIndex + 1)\n\t\t\t\t\t\t\tconst columnAfter = Editor.start(editor, [...tablePath, rowIndex, columnIndex + 1])\n\n\t\t\t\t\t\t\treturn Transforms.select(editor, columnAfter)\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (event.shiftKey) {\n\t\t\t\t\t\t\tTableModifications.addTableRow(editor, tableElement, rowIndex)\n\t\t\t\t\t\t\tconst rowAbove = Editor.start(editor, [...tablePath, Math.max(0, rowIndex), columnIndex])\n\n\t\t\t\t\t\t\treturn Transforms.select(editor, rowAbove)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tTableModifications.addTableRow(editor, tableElement, rowIndex + 1)\n\t\t\t\t\t\t\tconst rowBelowStat = Editor.start(editor, [...tablePath, rowIndex + 1, columnIndex])\n\n\t\t\t\t\t\t\treturn Transforms.select(editor, rowBelowStat)\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tonKeyDown(event)\n\t\t},\n\n\t})\n\n\treturn editor\n}\n"],"names":["SlatePath","SlateRange","SlateNode"],"mappings":"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"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const React = require("react");
4
+ const isHotkey = require("is-hotkey");
5
+ const boldMark = "isBold";
6
+ const boldMarkPlugin = {
7
+ type: boldMark,
8
+ isHotKey: isHotkey.isHotkey("mod+b"),
9
+ render: ({ children }) => React.createElement("b", void 0, children)
10
+ };
11
+ exports.boldMark = boldMark;
12
+ exports.boldMarkPlugin = boldMarkPlugin;
13
+ //# sourceMappingURL=boldMark.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boldMark.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/bold/boldMark.ts"],"sourcesContent":["import { createElement } from 'react'\nimport { isHotkey } from 'is-hotkey'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const boldMark = 'isBold'\n\nexport const boldMarkPlugin: EditorMarkPlugin = {\n\ttype: boldMark,\n\tisHotKey: isHotkey('mod+b'),\n\trender: ({ children }) => createElement('b', undefined, children),\n}\n"],"names":["isHotkey","createElement"],"mappings":";;;;AAIO,MAAM,WAAW;AAEjB,MAAM,iBAAmC;AAAA,EAC/C,MAAM;AAAA,EACN,UAAUA,kBAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAeC,MAAc,cAAA,KAAK,QAAW,QAAQ;AACjE;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boldMark.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/bold/boldMark.ts"],"sourcesContent":["import { createElement } from 'react'\nimport { isHotkey } from 'is-hotkey'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const boldMark = 'isBold'\n\nexport const boldMarkPlugin: EditorMarkPlugin = {\n\ttype: boldMark,\n\tisHotKey: isHotkey('mod+b'),\n\trender: ({ children }) => createElement('b', undefined, children),\n}\n"],"names":[],"mappings":";;AAIO,MAAM,WAAW;AAEjB,MAAM,iBAAmC;AAAA,EAC/C,MAAM;AAAA,EACN,UAAU,SAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAe,cAAc,KAAK,QAAW,QAAQ;AACjE;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withBold.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/bold/withBold.ts"],"sourcesContent":["import { boldMark, boldMarkPlugin } from './boldMark'\nimport { EditorPlugin } from '../../../types'\nimport { createMarkHtmlDeserializer } from '../../behaviour'\n\n\nexport const withBold = (): EditorPlugin => editor => {\n\teditor.registerMark(boldMarkPlugin)\n\teditor.htmlDeserializer.registerPlugin(\n\t\tcreateMarkHtmlDeserializer(\n\t\t\tboldMark,\n\t\t\tel => el.nodeName === 'STRONG' || (el.nodeName === 'B' && !el.id.startsWith('docs-internal-guid')),\n\t\t\tel => ['italic', 'oblique'].includes(el.style.fontWeight),\n\t\t),\n\t)\n}\n"],"names":["boldMarkPlugin","createMarkHtmlDeserializer","boldMark"],"mappings":";;;;AAKa,MAAA,WAAW,MAAoB,CAAU,WAAA;AACrD,SAAO,aAAaA,SAAAA,cAAc;AAClC,SAAO,iBAAiB;AAAA,IACvBC,2BAAA;AAAA,MACCC,SAAA;AAAA,MACA,CAAA,OAAM,GAAG,aAAa,YAAa,GAAG,aAAa,OAAO,CAAC,GAAG,GAAG,WAAW,oBAAoB;AAAA,MAChG,CAAA,OAAM,CAAC,UAAU,SAAS,EAAE,SAAS,GAAG,MAAM,UAAU;AAAA,IACzD;AAAA,EAAA;AAEF;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withBold.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/bold/withBold.ts"],"sourcesContent":["import { boldMark, boldMarkPlugin } from './boldMark'\nimport { EditorPlugin } from '../../../types'\nimport { createMarkHtmlDeserializer } from '../../behaviour'\n\n\nexport const withBold = (): EditorPlugin => editor => {\n\teditor.registerMark(boldMarkPlugin)\n\teditor.htmlDeserializer.registerPlugin(\n\t\tcreateMarkHtmlDeserializer(\n\t\t\tboldMark,\n\t\t\tel => el.nodeName === 'STRONG' || (el.nodeName === 'B' && !el.id.startsWith('docs-internal-guid')),\n\t\t\tel => ['italic', 'oblique'].includes(el.style.fontWeight),\n\t\t),\n\t)\n}\n"],"names":[],"mappings":";;AAKa,MAAA,WAAW,MAAoB,CAAU,WAAA;AACrD,SAAO,aAAa,cAAc;AAClC,SAAO,iBAAiB;AAAA,IACvB;AAAA,MACC;AAAA,MACA,CAAA,OAAM,GAAG,aAAa,YAAa,GAAG,aAAa,OAAO,CAAC,GAAG,GAAG,WAAW,oBAAoB;AAAA,MAChG,CAAA,OAAM,CAAC,UAAU,SAAS,EAAE,SAAS,GAAG,MAAM,UAAU;AAAA,IACzD;AAAA,EAAA;AAEF;"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const isHotkey = require("is-hotkey");
4
+ const React = require("react");
5
+ const codeMark = "isCode";
6
+ const codeMarkPlugin = {
7
+ type: codeMark,
8
+ isHotKey: isHotkey.isHotkey("mod+`"),
9
+ render: ({ children }) => React.createElement("code", void 0, children)
10
+ };
11
+ exports.codeMark = codeMark;
12
+ exports.codeMarkPlugin = codeMarkPlugin;
13
+ //# sourceMappingURL=codeMark.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codeMark.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/code/codeMark.ts"],"sourcesContent":["import { isHotkey } from 'is-hotkey'\nimport { createElement } from 'react'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const codeMark = 'isCode'\n\nexport const codeMarkPlugin: EditorMarkPlugin = {\n\ttype: codeMark,\n\tisHotKey: isHotkey('mod+`'),\n\trender: ({ children }) => createElement('code', undefined, children),\n}\n"],"names":["isHotkey","createElement"],"mappings":";;;;AAIO,MAAM,WAAW;AAEjB,MAAM,iBAAmC;AAAA,EAC/C,MAAM;AAAA,EACN,UAAUA,kBAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAeC,MAAc,cAAA,QAAQ,QAAW,QAAQ;AACpE;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codeMark.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/code/codeMark.ts"],"sourcesContent":["import { isHotkey } from 'is-hotkey'\nimport { createElement } from 'react'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const codeMark = 'isCode'\n\nexport const codeMarkPlugin: EditorMarkPlugin = {\n\ttype: codeMark,\n\tisHotKey: isHotkey('mod+`'),\n\trender: ({ children }) => createElement('code', undefined, children),\n}\n"],"names":[],"mappings":";;AAIO,MAAM,WAAW;AAEjB,MAAM,iBAAmC;AAAA,EAC/C,MAAM;AAAA,EACN,UAAU,SAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAe,cAAc,QAAQ,QAAW,QAAQ;AACpE;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withCode.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/code/withCode.ts"],"sourcesContent":["import { Editor as SlateEditor } from 'slate'\nimport { codeMarkPlugin } from './codeMark'\nimport { EditorPlugin } from '../../../types'\n\n\nexport const withCode = (): EditorPlugin => editor => {\n\teditor.registerMark(codeMarkPlugin)\n\n\treturn editor\n}\n"],"names":["codeMarkPlugin"],"mappings":";;;AAKa,MAAA,WAAW,MAAoB,CAAU,WAAA;AACrD,SAAO,aAAaA,SAAAA,cAAc;AAE3B,SAAA;AACR;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withCode.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/code/withCode.ts"],"sourcesContent":["import { Editor as SlateEditor } from 'slate'\nimport { codeMarkPlugin } from './codeMark'\nimport { EditorPlugin } from '../../../types'\n\n\nexport const withCode = (): EditorPlugin => editor => {\n\teditor.registerMark(codeMarkPlugin)\n\n\treturn editor\n}\n"],"names":[],"mappings":";AAKa,MAAA,WAAW,MAAoB,CAAU,WAAA;AACrD,SAAO,aAAa,cAAc;AAE3B,SAAA;AACR;"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const isHotkey = require("is-hotkey");
4
+ const React = require("react");
5
+ const highlightMark = "isHighlighted";
6
+ const highlightMarkPlugin = {
7
+ type: highlightMark,
8
+ isHotKey: isHotkey.isHotkey("mod+e"),
9
+ render: ({ children }) => React.createElement("em", void 0, children)
10
+ };
11
+ exports.highlightMark = highlightMark;
12
+ exports.highlightMarkPlugin = highlightMarkPlugin;
13
+ //# sourceMappingURL=highlightMark.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlightMark.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/highlight/highlightMark.ts"],"sourcesContent":["import { isHotkey } from 'is-hotkey'\nimport { createElement } from 'react'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const highlightMark = 'isHighlighted'\n\nexport const highlightMarkPlugin: EditorMarkPlugin = {\n\ttype: highlightMark,\n\tisHotKey: isHotkey('mod+e'),\n\trender: ({ children }) => createElement('em', undefined, children),\n}\n"],"names":["isHotkey","createElement"],"mappings":";;;;AAIO,MAAM,gBAAgB;AAEtB,MAAM,sBAAwC;AAAA,EACpD,MAAM;AAAA,EACN,UAAUA,kBAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAeC,MAAc,cAAA,MAAM,QAAW,QAAQ;AAClE;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlightMark.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/highlight/highlightMark.ts"],"sourcesContent":["import { isHotkey } from 'is-hotkey'\nimport { createElement } from 'react'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const highlightMark = 'isHighlighted'\n\nexport const highlightMarkPlugin: EditorMarkPlugin = {\n\ttype: highlightMark,\n\tisHotKey: isHotkey('mod+e'),\n\trender: ({ children }) => createElement('em', undefined, children),\n}\n"],"names":[],"mappings":";;AAIO,MAAM,gBAAgB;AAEtB,MAAM,sBAAwC;AAAA,EACpD,MAAM;AAAA,EACN,UAAU,SAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAe,cAAc,MAAM,QAAW,QAAQ;AAClE;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withHighlight.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/highlight/withHighlight.ts"],"sourcesContent":["import { Editor as SlateEditor } from 'slate'\nimport { highlightMarkPlugin } from './highlightMark'\nimport { EditorPlugin } from '../../../types'\n\n\nexport const withHighlight = (): EditorPlugin => editor => {\n\teditor.registerMark(highlightMarkPlugin)\n\n\treturn editor\n}\n"],"names":["highlightMarkPlugin"],"mappings":";;;AAKa,MAAA,gBAAgB,MAAoB,CAAU,WAAA;AAC1D,SAAO,aAAaA,cAAAA,mBAAmB;AAEhC,SAAA;AACR;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withHighlight.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/highlight/withHighlight.ts"],"sourcesContent":["import { Editor as SlateEditor } from 'slate'\nimport { highlightMarkPlugin } from './highlightMark'\nimport { EditorPlugin } from '../../../types'\n\n\nexport const withHighlight = (): EditorPlugin => editor => {\n\teditor.registerMark(highlightMarkPlugin)\n\n\treturn editor\n}\n"],"names":[],"mappings":";AAKa,MAAA,gBAAgB,MAAoB,CAAU,WAAA;AAC1D,SAAO,aAAa,mBAAmB;AAEhC,SAAA;AACR;"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const isHotkey = require("is-hotkey");
4
+ const React = require("react");
5
+ const italicMark = "isItalic";
6
+ const italicMarkPlugin = {
7
+ type: italicMark,
8
+ isHotKey: isHotkey.isHotkey("mod+i"),
9
+ render: ({ children }) => React.createElement("i", void 0, children)
10
+ };
11
+ exports.italicMark = italicMark;
12
+ exports.italicMarkPlugin = italicMarkPlugin;
13
+ //# sourceMappingURL=italicMark.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"italicMark.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/italic/italicMark.ts"],"sourcesContent":["import { isHotkey } from 'is-hotkey'\nimport { createElement } from 'react'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const italicMark = 'isItalic'\n\nexport const italicMarkPlugin: EditorMarkPlugin = {\n\ttype: italicMark,\n\tisHotKey: isHotkey('mod+i'),\n\trender: ({ children }) => createElement('i', undefined, children),\n}\n"],"names":["isHotkey","createElement"],"mappings":";;;;AAIO,MAAM,aAAa;AAEnB,MAAM,mBAAqC;AAAA,EACjD,MAAM;AAAA,EACN,UAAUA,kBAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAeC,MAAc,cAAA,KAAK,QAAW,QAAQ;AACjE;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"italicMark.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/italic/italicMark.ts"],"sourcesContent":["import { isHotkey } from 'is-hotkey'\nimport { createElement } from 'react'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const italicMark = 'isItalic'\n\nexport const italicMarkPlugin: EditorMarkPlugin = {\n\ttype: italicMark,\n\tisHotKey: isHotkey('mod+i'),\n\trender: ({ children }) => createElement('i', undefined, children),\n}\n"],"names":[],"mappings":";;AAIO,MAAM,aAAa;AAEnB,MAAM,mBAAqC;AAAA,EACjD,MAAM;AAAA,EACN,UAAU,SAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAe,cAAc,KAAK,QAAW,QAAQ;AACjE;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withItalic.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/italic/withItalic.ts"],"sourcesContent":["import { italicMark, italicMarkPlugin } from './italicMark'\nimport { EditorPlugin } from '../../../types'\nimport { createMarkHtmlDeserializer } from '../../behaviour'\n\n\nexport const withItalic = (): EditorPlugin => editor => {\n\teditor.registerMark(italicMarkPlugin)\n\teditor.htmlDeserializer.registerPlugin(\n\t\tcreateMarkHtmlDeserializer(\n\t\t\titalicMark,\n\t\t\tel => ['I', 'EM'].includes(el.nodeName),\n\t\t\tel => ['italic', 'oblique'].includes(el.style.fontWeight),\n\t\t),\n\t)\n}\n"],"names":["italicMarkPlugin","createMarkHtmlDeserializer","italicMark"],"mappings":";;;;AAKa,MAAA,aAAa,MAAoB,CAAU,WAAA;AACvD,SAAO,aAAaA,WAAAA,gBAAgB;AACpC,SAAO,iBAAiB;AAAA,IACvBC,2BAAA;AAAA,MACCC,WAAA;AAAA,MACA,QAAM,CAAC,KAAK,IAAI,EAAE,SAAS,GAAG,QAAQ;AAAA,MACtC,CAAA,OAAM,CAAC,UAAU,SAAS,EAAE,SAAS,GAAG,MAAM,UAAU;AAAA,IACzD;AAAA,EAAA;AAEF;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withItalic.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/italic/withItalic.ts"],"sourcesContent":["import { italicMark, italicMarkPlugin } from './italicMark'\nimport { EditorPlugin } from '../../../types'\nimport { createMarkHtmlDeserializer } from '../../behaviour'\n\n\nexport const withItalic = (): EditorPlugin => editor => {\n\teditor.registerMark(italicMarkPlugin)\n\teditor.htmlDeserializer.registerPlugin(\n\t\tcreateMarkHtmlDeserializer(\n\t\t\titalicMark,\n\t\t\tel => ['I', 'EM'].includes(el.nodeName),\n\t\t\tel => ['italic', 'oblique'].includes(el.style.fontWeight),\n\t\t),\n\t)\n}\n"],"names":[],"mappings":";;AAKa,MAAA,aAAa,MAAoB,CAAU,WAAA;AACvD,SAAO,aAAa,gBAAgB;AACpC,SAAO,iBAAiB;AAAA,IACvB;AAAA,MACC;AAAA,MACA,QAAM,CAAC,KAAK,IAAI,EAAE,SAAS,GAAG,QAAQ;AAAA,MACtC,CAAA,OAAM,CAAC,UAAU,SAAS,EAAE,SAAS,GAAG,MAAM,UAAU;AAAA,IACzD;AAAA,EAAA;AAEF;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withNewline.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/newline/withNewline.ts"],"sourcesContent":["import { Transforms } from 'slate'\nimport { EditorPlugin } from '../../../types'\n\nexport const withNewline = (): EditorPlugin => editor => {\n\tconst { onKeyDown } = editor\n\teditor.onKeyDown = e => {\n\t\tif (e.key !== 'Enter' || !e.shiftKey) {\n\t\t\treturn onKeyDown(e)\n\t\t}\n\t\te.preventDefault()\n\t\tTransforms.insertText(editor, '\\n')\n\t}\n}\n"],"names":["Transforms"],"mappings":";;;AAGa,MAAA,cAAc,MAAoB,CAAU,WAAA;AAClD,QAAA,EAAE,UAAc,IAAA;AACtB,SAAO,YAAY,CAAK,MAAA;AACvB,QAAI,EAAE,QAAQ,WAAW,CAAC,EAAE,UAAU;AACrC,aAAO,UAAU,CAAC;AAAA,IACnB;AACA,MAAE,eAAe;AACNA,UAAAA,WAAA,WAAW,QAAQ,IAAI;AAAA,EAAA;AAEpC;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withNewline.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/newline/withNewline.ts"],"sourcesContent":["import { Transforms } from 'slate'\nimport { EditorPlugin } from '../../../types'\n\nexport const withNewline = (): EditorPlugin => editor => {\n\tconst { onKeyDown } = editor\n\teditor.onKeyDown = e => {\n\t\tif (e.key !== 'Enter' || !e.shiftKey) {\n\t\t\treturn onKeyDown(e)\n\t\t}\n\t\te.preventDefault()\n\t\tTransforms.insertText(editor, '\\n')\n\t}\n}\n"],"names":[],"mappings":";AAGa,MAAA,cAAc,MAAoB,CAAU,WAAA;AAClD,QAAA,EAAE,UAAc,IAAA;AACtB,SAAO,YAAY,CAAK,MAAA;AACvB,QAAI,EAAE,QAAQ,WAAW,CAAC,EAAE,UAAU;AACrC,aAAO,UAAU,CAAC;AAAA,IACnB;AACA,MAAE,eAAe;AACN,eAAA,WAAW,QAAQ,IAAI;AAAA,EAAA;AAEpC;"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const React = require("react");
4
+ const isHotkey = require("is-hotkey");
5
+ const strikeThroughMark = "isStruckThrough";
6
+ const strikeThroughPlugin = {
7
+ type: strikeThroughMark,
8
+ render: ({ children }) => React.createElement("s", void 0, children),
9
+ isHotKey: isHotkey.isHotkey("mod+opt+s")
10
+ };
11
+ exports.strikeThroughMark = strikeThroughMark;
12
+ exports.strikeThroughPlugin = strikeThroughPlugin;
13
+ //# sourceMappingURL=strikeThroughMark.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strikeThroughMark.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/strikeThrough/strikeThroughMark.ts"],"sourcesContent":["import { createElement } from 'react'\nimport { isHotkey } from 'is-hotkey'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const strikeThroughMark = 'isStruckThrough'\nexport const strikeThroughPlugin: EditorMarkPlugin = {\n\ttype: strikeThroughMark,\n\trender: ({ children }) => createElement('s', undefined, children),\n\tisHotKey: isHotkey('mod+opt+s'),\n}\n"],"names":["createElement","isHotkey"],"mappings":";;;;AAIO,MAAM,oBAAoB;AAC1B,MAAM,sBAAwC;AAAA,EACpD,MAAM;AAAA,EACN,QAAQ,CAAC,EAAE,eAAeA,MAAc,cAAA,KAAK,QAAW,QAAQ;AAAA,EAChE,UAAUC,kBAAS,WAAW;AAC/B;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strikeThroughMark.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/strikeThrough/strikeThroughMark.ts"],"sourcesContent":["import { createElement } from 'react'\nimport { isHotkey } from 'is-hotkey'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const strikeThroughMark = 'isStruckThrough'\nexport const strikeThroughPlugin: EditorMarkPlugin = {\n\ttype: strikeThroughMark,\n\trender: ({ children }) => createElement('s', undefined, children),\n\tisHotKey: isHotkey('mod+opt+s'),\n}\n"],"names":[],"mappings":";;AAIO,MAAM,oBAAoB;AAC1B,MAAM,sBAAwC;AAAA,EACpD,MAAM;AAAA,EACN,QAAQ,CAAC,EAAE,eAAe,cAAc,KAAK,QAAW,QAAQ;AAAA,EAChE,UAAU,SAAS,WAAW;AAC/B;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withStrikeThrough.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/strikeThrough/withStrikeThrough.ts"],"sourcesContent":["import { Editor as SlateEditor } from 'slate'\nimport { strikeThroughMark, strikeThroughPlugin } from './strikeThroughMark'\nimport { EditorPlugin } from '../../../types'\nimport { createMarkHtmlDeserializer } from '../../behaviour'\n\n\nexport const withStrikeThrough = (): EditorPlugin => editor => {\n\teditor.registerMark(strikeThroughPlugin)\n\teditor.htmlDeserializer.registerPlugin(\n\t\tcreateMarkHtmlDeserializer(\n\t\t\tstrikeThroughMark,\n\t\t\tel => el.nodeName === 'S',\n\t\t\tel => el.style.textDecoration === 'line-through',\n\t\t),\n\t)\n\n\treturn editor\n}\n"],"names":["strikeThroughPlugin","createMarkHtmlDeserializer","strikeThroughMark"],"mappings":";;;;AAMa,MAAA,oBAAoB,MAAoB,CAAU,WAAA;AAC9D,SAAO,aAAaA,kBAAAA,mBAAmB;AACvC,SAAO,iBAAiB;AAAA,IACvBC,2BAAA;AAAA,MACCC,kBAAA;AAAA,MACA,CAAA,OAAM,GAAG,aAAa;AAAA,MACtB,CAAA,OAAM,GAAG,MAAM,mBAAmB;AAAA,IACnC;AAAA,EAAA;AAGM,SAAA;AACR;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withStrikeThrough.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/strikeThrough/withStrikeThrough.ts"],"sourcesContent":["import { Editor as SlateEditor } from 'slate'\nimport { strikeThroughMark, strikeThroughPlugin } from './strikeThroughMark'\nimport { EditorPlugin } from '../../../types'\nimport { createMarkHtmlDeserializer } from '../../behaviour'\n\n\nexport const withStrikeThrough = (): EditorPlugin => editor => {\n\teditor.registerMark(strikeThroughPlugin)\n\teditor.htmlDeserializer.registerPlugin(\n\t\tcreateMarkHtmlDeserializer(\n\t\t\tstrikeThroughMark,\n\t\t\tel => el.nodeName === 'S',\n\t\t\tel => el.style.textDecoration === 'line-through',\n\t\t),\n\t)\n\n\treturn editor\n}\n"],"names":[],"mappings":";;AAMa,MAAA,oBAAoB,MAAoB,CAAU,WAAA;AAC9D,SAAO,aAAa,mBAAmB;AACvC,SAAO,iBAAiB;AAAA,IACvB;AAAA,MACC;AAAA,MACA,CAAA,OAAM,GAAG,aAAa;AAAA,MACtB,CAAA,OAAM,GAAG,MAAM,mBAAmB;AAAA,IACnC;AAAA,EAAA;AAGM,SAAA;AACR;"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const isHotkey = require("is-hotkey");
4
+ const React = require("react");
5
+ const underlineMark = "isUnderlined";
6
+ const underlineMarkPlugin = {
7
+ type: underlineMark,
8
+ isHotKey: isHotkey.isHotkey("mod+u"),
9
+ render: ({ children }) => React.createElement("u", void 0, children)
10
+ };
11
+ exports.underlineMark = underlineMark;
12
+ exports.underlineMarkPlugin = underlineMarkPlugin;
13
+ //# sourceMappingURL=underlineMark.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"underlineMark.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/underline/underlineMark.ts"],"sourcesContent":["import { isHotkey } from 'is-hotkey'\nimport { createElement } from 'react'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const underlineMark = 'isUnderlined'\n\nexport const underlineMarkPlugin: EditorMarkPlugin = {\n\ttype: underlineMark,\n\tisHotKey: isHotkey('mod+u'),\n\trender: ({ children }) => createElement('u', undefined, children),\n}\n"],"names":["isHotkey","createElement"],"mappings":";;;;AAIO,MAAM,gBAAgB;AAEtB,MAAM,sBAAwC;AAAA,EACpD,MAAM;AAAA,EACN,UAAUA,kBAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAeC,MAAc,cAAA,KAAK,QAAW,QAAQ;AACjE;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"underlineMark.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/underline/underlineMark.ts"],"sourcesContent":["import { isHotkey } from 'is-hotkey'\nimport { createElement } from 'react'\nimport { EditorMarkPlugin } from '../../../types'\n\nexport const underlineMark = 'isUnderlined'\n\nexport const underlineMarkPlugin: EditorMarkPlugin = {\n\ttype: underlineMark,\n\tisHotKey: isHotkey('mod+u'),\n\trender: ({ children }) => createElement('u', undefined, children),\n}\n"],"names":[],"mappings":";;AAIO,MAAM,gBAAgB;AAEtB,MAAM,sBAAwC;AAAA,EACpD,MAAM;AAAA,EACN,UAAU,SAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,eAAe,cAAc,KAAK,QAAW,QAAQ;AACjE;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withUnderline.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/underline/withUnderline.ts"],"sourcesContent":["import { underlineMark, underlineMarkPlugin } from './underlineMark'\nimport { createMarkHtmlDeserializer } from '../../behaviour'\nimport { EditorPlugin } from '../../../types'\n\n\nexport const withUnderline = (): EditorPlugin => editor => {\n\teditor.registerMark(underlineMarkPlugin)\n\teditor.htmlDeserializer.registerPlugin(\n\t\tcreateMarkHtmlDeserializer(\n\t\t\tunderlineMark,\n\t\t\tel => el.nodeName === 'U',\n\t\t\tel => el.style.textDecoration === 'underline',\n\t\t),\n\t)\n\n\treturn editor\n}\n"],"names":["underlineMarkPlugin","createMarkHtmlDeserializer","underlineMark"],"mappings":";;;;AAKa,MAAA,gBAAgB,MAAoB,CAAU,WAAA;AAC1D,SAAO,aAAaA,cAAAA,mBAAmB;AACvC,SAAO,iBAAiB;AAAA,IACvBC,2BAAA;AAAA,MACCC,cAAA;AAAA,MACA,CAAA,OAAM,GAAG,aAAa;AAAA,MACtB,CAAA,OAAM,GAAG,MAAM,mBAAmB;AAAA,IACnC;AAAA,EAAA;AAGM,SAAA;AACR;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withUnderline.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/underline/withUnderline.ts"],"sourcesContent":["import { underlineMark, underlineMarkPlugin } from './underlineMark'\nimport { createMarkHtmlDeserializer } from '../../behaviour'\nimport { EditorPlugin } from '../../../types'\n\n\nexport const withUnderline = (): EditorPlugin => editor => {\n\teditor.registerMark(underlineMarkPlugin)\n\teditor.htmlDeserializer.registerPlugin(\n\t\tcreateMarkHtmlDeserializer(\n\t\t\tunderlineMark,\n\t\t\tel => el.nodeName === 'U',\n\t\t\tel => el.style.textDecoration === 'underline',\n\t\t),\n\t)\n\n\treturn editor\n}\n"],"names":[],"mappings":";;AAKa,MAAA,gBAAgB,MAAoB,CAAU,WAAA;AAC1D,SAAO,aAAa,mBAAmB;AACvC,SAAO,iBAAiB;AAAA,IACvB;AAAA,MACC;AAAA,MACA,CAAA,OAAM,GAAG,aAAa;AAAA,MACtB,CAAA,OAAM,GAAG,MAAM,mBAAmB;AAAA,IACnC;AAAA,EAAA;AAGM,SAAA;AACR;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slate-reexport.cjs","sources":["../../../../packages/react-slate-editor-base/src/slate-reexport.ts"],"sourcesContent":["import { Editor } from 'slate'\n\nexport { Transforms as EditorTransforms } from 'slate'\nexport const EditorUtils = Editor\n"],"names":["Editor"],"mappings":";;;AAGO,MAAM,cAAcA,MAAAA;;;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slate-reexport.js","sources":["../../../../packages/react-slate-editor-base/src/slate-reexport.ts"],"sourcesContent":["import { Editor } from 'slate'\n\nexport { Transforms as EditorTransforms } from 'slate'\nexport const EditorUtils = Editor\n"],"names":[],"mappings":";;AAGO,MAAM,cAAc;"}
@@ -1,7 +1,7 @@
1
1
  import { Editor } from 'slate';
2
2
  import { EditorPlugin } from '../types';
3
3
  import { FunctionComponent, ReactNode } from 'react';
4
- import { EntityAccessor } from '@contember/binding';
4
+ import { EntityAccessor } from '@contember/react-binding';
5
5
  import { Environment } from '@contember/react-binding';
6
6
  export interface CreateEditorPublicOptions {
7
7
  plugins?: EditorPlugin[];
@@ -1 +1 @@
1
- {"version":3,"file":"createEditor.d.ts","sourceRoot":"","sources":["../../../src/editor/createEditor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,YAAY,EAA4B,MAAM,UAAU,CAAA;AACjE,OAAO,EAAiB,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAGtD,MAAM,WAAW,yBAAyB;IACzC,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;CACxB;AAED,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB;IACrE,kBAAkB,EAAE,MAAM,CAAA;IAC1B,MAAM,EAAE,cAAc,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAED,eAAO,MAAM,YAAY,oEAMtB,mBAAmB,KAAG;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,kBAAkB;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAA;IACxD,YAAY,EAAE,kBAAkB;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAA;CAuBxD,CAAA"}
1
+ {"version":3,"file":"createEditor.d.ts","sourceRoot":"","sources":["../../../src/editor/createEditor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,YAAY,EAA4B,MAAM,UAAU,CAAA;AACjE,OAAO,EAAiB,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAGtD,MAAM,WAAW,yBAAyB;IACzC,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;CACxB;AAED,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB;IACrE,kBAAkB,EAAE,MAAM,CAAA;IAC1B,MAAM,EAAE,cAAc,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAED,eAAO,MAAM,YAAY,oEAMtB,mBAAmB,KAAG;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,iBAAiB,CAAC;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAA;IACxD,YAAY,EAAE,iBAAiB,CAAC;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAA;CAuBxD,CAAA"}
@@ -1,35 +1,35 @@
1
1
  export type { ElementDataAttributes } from './methods';
2
2
  export declare const ContemberEditor: {
3
- addMarks: <T extends import("..").EditorText, E extends import("..").Editor>(editor: E, marks: import("..").TextSpecifics<T>) => void;
4
- canToggleMark: <T_1 extends import("..").EditorText, E_1 extends import("..").Editor>(editor: E_1, markName: string, markValue?: unknown) => boolean;
5
- closest: <E_2 extends import("..").Editor>(editor: E_2, options: {
6
- at?: import("slate").Location | undefined;
7
- match: (node: import("..").Editor | import("..").EditorElement) => boolean;
3
+ addMarks: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, marks: import("..").TextSpecifics<T>) => void;
4
+ canToggleMark: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, markName: string, markValue?: unknown) => boolean;
5
+ closest: <E extends import("slate").Editor>(editor: E, options: {
6
+ at?: import("slate").Location;
7
+ match: (node: import("slate").Editor | import("slate").Element) => boolean;
8
+ }) => import("slate").NodeEntry<import("slate").Editor | import("slate").Element> | undefined;
9
+ closestBlockEntry: <E extends import("slate").Editor>(editor: E, options?: {
10
+ at?: import("slate").Location;
11
+ match?: (node: import("slate").Element) => boolean;
8
12
  }) => import("slate").NodeEntry<import("..").Editor | import("..").EditorElement> | undefined;
9
- closestBlockEntry: <E_3 extends import("..").Editor>(editor: E_3, options?: {
10
- at?: import("slate").Location | undefined;
11
- match?: ((node: import("..").EditorElement) => boolean) | undefined;
12
- } | undefined) => import("slate").NodeEntry<import("..").Editor | import("..").EditorElement> | undefined;
13
- closestViableBlockContainerEntry: <E_4 extends import("..").Editor>(editor: E_4, options?: {
14
- at?: import("slate").Location | undefined;
15
- } | undefined) => import("slate").NodeEntry<import("..").Editor | import("..").EditorElement> | undefined;
16
- ejectElement: <E_5 extends import("..").Editor>(editor: E_5, path: import("slate").Path) => void;
17
- elementToSpecifics: <Element extends import("..").EditorElement = import("..").EditorElement>(element: Element) => Partial<Element>;
18
- getElementDataAttributes: <Element_1 extends import("..").EditorElement = import("..").EditorElement>(element: Element_1, attributeNamePrefix?: string) => import("./methods").ElementDataAttributes;
19
- getPreviousSibling: <E_6 extends import("..").Editor = import("..").Editor, CurrentNode extends import("slate").Node = import("slate").Node, PreviousNode extends import("slate").Node = CurrentNode>(editor: E_6, node: CurrentNode, nodePath: import("slate").Path) => import("slate").NodeEntry<PreviousNode> | undefined;
20
- hasMarks: <T_2 extends import("..").EditorText, E_7 extends import("..").Editor>(editor: E_7, marks: import("..").TextSpecifics<T_2>, options?: {
21
- from?: import("slate").Path | undefined;
22
- to?: import("slate").Path | undefined;
13
+ closestViableBlockContainerEntry: <E extends import("slate").Editor>(editor: E, options?: {
14
+ at?: import("slate").Location;
15
+ }) => import("slate").NodeEntry<import("slate").Element | import("slate").Editor> | undefined;
16
+ ejectElement: <E extends import("slate").Editor>(editor: E, path: import("slate").Path) => void;
17
+ elementToSpecifics: <Element extends import("slate").Element = import("..").EditorElement>(element: Element) => Partial<Element>;
18
+ getElementDataAttributes: <Element extends import("slate").Element = import("..").EditorElement>(element: Element, attributeNamePrefix?: string) => import("./methods").ElementDataAttributes;
19
+ getPreviousSibling: <E extends import("slate").Editor = import("..").Editor, CurrentNode extends import("slate").Node = import("slate").Node, PreviousNode extends import("slate").Node = CurrentNode>(editor: E, node: CurrentNode, nodePath: import("slate").Path) => import("slate").NodeEntry<PreviousNode> | undefined;
20
+ hasMarks: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, marks: import("..").TextSpecifics<T>, options?: {
21
+ from?: import("slate").Path;
22
+ to?: import("slate").Path;
23
23
  }) => boolean;
24
- hasParentOfType: <Editor extends import("..").Editor, Element_2 extends import("..").EditorElement>(editor: Editor, nodeEntry: import("slate").NodeEntry<import("slate").Node>, type: Element_2["type"], suchThat?: Partial<Element_2> | undefined) => boolean;
25
- isElementType: <Element_3 extends import("..").EditorElement>(element: import("slate").Node, type: Element_3["type"], suchThat?: Partial<Element_3> | undefined) => boolean;
26
- permissivelyDeserializeNodes: <E_8 extends import("..").Editor>(editor: E_8, serializedElement: string, errorMessage?: string | undefined) => (import("..").EditorElement | import("..").EditorText)[];
27
- removeMarks: <T_3 extends import("..").EditorText, E_9 extends import("..").Editor>(editor: E_9, marks: import("..").TextSpecifics<T_3>) => void;
28
- serializeNodes: <E_10 extends import("..").Editor>(editor: E_10, elements: (import("..").EditorElement | import("..").EditorText)[], errorMessage?: string | undefined) => string;
29
- strictlyDeserializeNodes: <E_11 extends import("..").Editor>(editor: E_11, serializedElement: string, errorMessage?: string | undefined) => (import("..").EditorElement | import("..").EditorText)[];
30
- textToSpecifics: <Text extends import("..").EditorText = import("..").EditorText>(textNode: Text) => import("..").TextSpecifics<Text>;
31
- toLatestFormat: <E_12 extends import("..").Editor>(editor: E_12, potentiallyOldNode: import("..").SerializableEditorNode) => import("..").SerializableEditorNode;
32
- topLevelNodes: <E_13 extends import("..").Editor>(editor: E_13) => Generator<import("slate").NodeEntry<import("slate").Node>, void, undefined>;
24
+ hasParentOfType: <Editor extends import("slate").Editor, Element extends import("slate").Element>(editor: Editor, nodeEntry: import("slate").NodeEntry<import("slate").Node | import("slate").Element>, type: Element["type"], suchThat?: Partial<Element>) => boolean;
25
+ isElementType: <Element extends import("slate").Element>(element: import("slate").Node, type: Element["type"], suchThat?: Partial<Element>) => boolean;
26
+ permissivelyDeserializeNodes: <E extends import("slate").Editor>(editor: E, serializedElement: string, errorMessage?: string) => Array<import("slate").Element | import("slate").Text>;
27
+ removeMarks: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, marks: import("..").TextSpecifics<T>) => void;
28
+ serializeNodes: <E extends import("slate").Editor>(editor: E, elements: Array<import("slate").Element | import("slate").Text>, errorMessage?: string) => string;
29
+ strictlyDeserializeNodes: <E extends import("slate").Editor>(editor: E, serializedElement: string, errorMessage?: string) => Array<import("slate").Element | import("slate").Text>;
30
+ textToSpecifics: <Text extends import("slate").Text = import("..").EditorText>(textNode: Text) => import("..").TextSpecifics<Text>;
31
+ toLatestFormat: <E extends import("slate").Editor>(editor: E, potentiallyOldNode: import("..").SerializableEditorNode) => import("..").SerializableEditorNode;
32
+ topLevelNodes: <E extends import("slate").Editor>(editor: E) => Generator<import("slate").NodeEntry<import("slate").Node>, void, undefined>;
33
33
  };
34
34
  export * from './createEditor';
35
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/index.ts"],"names":[],"mappings":"AAsBA,YAAY,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAGtD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB3B,CAAA;AAED,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/index.ts"],"names":[],"mappings":"AAsBA,YAAY,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAGtD,eAAO,MAAM,eAAe;;;;UAhBzB,CAAC;;;;UAEH,CAAC;aACA,CAAC;;;UAGF,CAAC;;;;;;;YADK,CAAC;UACH,CAAC;;;;;;;;;;;CA8BL,CAAA;AAED,cAAc,gBAAgB,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { Editor as SlateEditor, Text as SlateText } from 'slate';
1
2
  import { TextSpecifics } from '../../types/editor';
2
- export declare const addMarks: <T extends import("../..").EditorText, E extends import("../..").Editor>(editor: E, marks: TextSpecifics<T>) => void;
3
+ export declare const addMarks: <T extends SlateText, E extends SlateEditor>(editor: E, marks: TextSpecifics<T>) => void;
3
4
  //# sourceMappingURL=addMarks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/addMarks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,eAAO,MAAM,QAAQ,mFAAwD,CAAC,SAAS,cAAc,CAAC,CAAC,SAMtG,CAAA"}
1
+ {"version":3,"file":"addMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/addMarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAU,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,WAAW,UAAU,CAAC,SAAS,aAAa,CAAC,CAAC,CAAC,SAMtG,CAAA"}
@@ -1,2 +1,3 @@
1
- export declare const canToggleMark: <T extends import("../..").EditorText, E extends import("../..").Editor>(editor: E, markName: string, markValue?: unknown) => boolean;
1
+ import { Editor as SlateEditor, Text as SlateText } from 'slate';
2
+ export declare const canToggleMark: <T extends SlateText, E extends SlateEditor>(editor: E, markName: string, markValue?: unknown) => boolean;
2
3
  //# sourceMappingURL=canToggleMark.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"canToggleMark.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/canToggleMark.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,mFACjB,CAAC,YACC,MAAM,cACL,OAAO,YAGlB,CAAA"}
1
+ {"version":3,"file":"canToggleMark.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/canToggleMark.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AAEhE,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,WAAW,UAC/D,CAAC,YACC,MAAM,cACL,OAAO,YAGlB,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Editor, Element, Location, NodeEntry } from 'slate';
2
- export declare const closest: <E extends import("../..").Editor>(editor: E, options: {
1
+ import { Editor as SlateEditor, Editor, Element, Location, NodeEntry } from 'slate';
2
+ export declare const closest: <E extends SlateEditor>(editor: E, options: {
3
3
  at?: Location;
4
4
  match: (node: Editor | Element) => boolean;
5
5
  }) => NodeEntry<Editor | Element> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"closest.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/closest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAQ,MAAM,OAAO,CAAA;AAEzF,eAAO,MAAM,OAAO,6CACX,CAAC,WACA;IACR,EAAE,CAAC,EAAE,QAAQ,CAAA;IACb,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,KAAK,OAAO,CAAA;CAC1C,KACC,UAAU,MAAM,GAAG,OAAO,CAAC,GAAG,SAYhC,CAAA"}
1
+ {"version":3,"file":"closest.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/closest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAQ,MAAM,OAAO,CAAA;AAEzF,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,WAAW,UACpC,CAAC,WACA;IACR,EAAE,CAAC,EAAE,QAAQ,CAAA;IACb,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,KAAK,OAAO,CAAA;CAC1C,KACC,SAAS,CAAC,MAAM,GAAG,OAAO,CAAC,GAAG,SAYhC,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Location, Element } from 'slate';
2
- export declare const closestBlockEntry: <E extends import("../..").Editor>(editor: E, options?: {
1
+ import { Editor as SlateEditor, Location, Element } from 'slate';
2
+ export declare const closestBlockEntry: <E extends SlateEditor>(editor: E, options?: {
3
3
  at?: Location;
4
4
  match?: (node: Element) => boolean;
5
5
  }) => import("slate").NodeEntry<import("../..").Editor | import("../..").EditorElement> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"closestBlockEntry.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/closestBlockEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAGxE,eAAO,MAAM,iBAAiB,6CACrB,CAAC,YACC;IACT,EAAE,CAAC,EAAE,QAAQ,CAAA;IACb,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAA;CAClC,kGAKC,CAAA"}
1
+ {"version":3,"file":"closestBlockEntry.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/closestBlockEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAU,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAGxE,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,WAAW,UAC9C,CAAC,YACC;IACT,EAAE,CAAC,EAAE,QAAQ,CAAA;IACb,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAA;CAClC,kGAKC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { Location as SlateLocation, NodeEntry } from 'slate';
2
2
  import { Editor as SlateEditor, Element as SlateElement } from 'slate';
3
- export declare const closestViableBlockContainerEntry: <E extends import("../..").Editor>(editor: E, options?: {
3
+ export declare const closestViableBlockContainerEntry: <E extends SlateEditor>(editor: E, options?: {
4
4
  at?: SlateLocation;
5
5
  }) => NodeEntry<SlateElement | SlateEditor> | undefined;
6
6
  //# sourceMappingURL=closestViableBlockContainerEntry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"closestViableBlockContainerEntry.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/closestViableBlockContainerEntry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,IAAI,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjE,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,OAAO,CAAA;AAGtE,eAAO,MAAM,gCAAgC,6CACpC,CAAC,YACC;IACT,EAAE,CAAC,EAAE,aAAa,CAAA;CAClB,KACC,UAAU,YAAY,GAAG,WAAW,CAAC,GAAG,SAIxC,CAAA"}
1
+ {"version":3,"file":"closestViableBlockContainerEntry.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/closestViableBlockContainerEntry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,IAAI,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjE,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,OAAO,CAAA;AAGtE,eAAO,MAAM,gCAAgC,GAAI,CAAC,SAAS,WAAW,UAC7D,CAAC,YACC;IACT,EAAE,CAAC,EAAE,aAAa,CAAA;CAClB,KACC,SAAS,CAAC,YAAY,GAAG,WAAW,CAAC,GAAG,SAIxC,CAAA"}
@@ -1,3 +1,3 @@
1
- import { Path } from 'slate';
2
- export declare const ejectElement: <E extends import("../..").Editor>(editor: E, path: Path) => void;
1
+ import { Editor as SlateEditor, Path } from 'slate';
2
+ export declare const ejectElement: <E extends SlateEditor>(editor: E, path: Path) => void;
3
3
  //# sourceMappingURL=ejectElement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ejectElement.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/ejectElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqE,IAAI,EAAc,MAAM,OAAO,CAAA;AAE3G,eAAO,MAAM,YAAY,6CAAmC,CAAC,qBAW5D,CAAA"}
1
+ {"version":3,"file":"ejectElement.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/ejectElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAA8C,IAAI,EAAc,MAAM,OAAO,CAAA;AAE3G,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,WAAW,UAAU,CAAC,QAAQ,IAAI,SAWxE,CAAA"}
@@ -1,2 +1,3 @@
1
- export declare const elementToSpecifics: <Element extends import("../..").EditorElement = import("../..").EditorElement>(element: Element) => Partial<Element>;
1
+ import { Element as SlateElement } from 'slate';
2
+ export declare const elementToSpecifics: <Element extends SlateElement = import("../..").EditorElement>(element: Element) => Partial<Element>;
2
3
  //# sourceMappingURL=elementToSpecifics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"elementToSpecifics.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/elementToSpecifics.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,2FACrB,OAAO,KACd,QAAQ,OAAO,CAGjB,CAAA"}
1
+ {"version":3,"file":"elementToSpecifics.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/elementToSpecifics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,OAAO,CAAA;AAE/C,eAAO,MAAM,kBAAkB,GAAI,OAAO,SAAS,YAAY,2CACrD,OAAO,KACd,OAAO,CAAC,OAAO,CAGjB,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import type { Scalar } from '@contember/react-binding';
2
+ import { Element as SlateElement } from 'slate';
2
3
  export interface ElementDataAttributes {
3
4
  [dataAttribute: string]: Scalar;
4
5
  }
5
- export declare const getElementDataAttributes: <Element extends import("../..").EditorElement = import("../..").EditorElement>(element: Element, attributeNamePrefix?: string) => ElementDataAttributes;
6
+ export declare const getElementDataAttributes: <Element extends SlateElement = import("../..").EditorElement>(element: Element, attributeNamePrefix?: string) => ElementDataAttributes;
6
7
  //# sourceMappingURL=getElementDataAttributes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getElementDataAttributes.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/getElementDataAttributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AAGtD,MAAM,WAAW,qBAAqB;IACrC,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAA;CAC/B;AAED,eAAO,MAAM,wBAAwB,2FAC3B,OAAO,wBACK,MAAM,KACzB,qBAWF,CAAA"}
1
+ {"version":3,"file":"getElementDataAttributes.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/getElementDataAttributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,OAAO,CAAA;AAE/C,MAAM,WAAW,qBAAqB;IACrC,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAAA;CAC/B;AAED,eAAO,MAAM,wBAAwB,GAAI,OAAO,SAAS,YAAY,2CAC3D,OAAO,wBACK,MAAM,KACzB,qBAWF,CAAA"}
@@ -1,3 +1,3 @@
1
- import { Node as SlateNode, NodeEntry, Path as SlatePath } from 'slate';
2
- export declare const getPreviousSibling: <E extends import("../..").Editor = import("../..").Editor, CurrentNode extends SlateNode = SlateNode, PreviousNode extends SlateNode = CurrentNode>(editor: E, node: CurrentNode, nodePath: SlatePath) => NodeEntry<PreviousNode> | undefined;
1
+ import { Editor as SlateEditor, Node as SlateNode, NodeEntry, Path as SlatePath } from 'slate';
2
+ export declare const getPreviousSibling: <E extends SlateEditor = import("../..").Editor, CurrentNode extends SlateNode = SlateNode, PreviousNode extends SlateNode = CurrentNode>(editor: E, node: CurrentNode, nodePath: SlatePath) => NodeEntry<PreviousNode> | undefined;
3
3
  //# sourceMappingURL=getPreviousSibling.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPreviousSibling.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/getPreviousSibling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,IAAI,IAAI,SAAS,EAAE,SAAS,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AAE9F,eAAO,MAAM,kBAAkB,+JAKtB,CAAC,QACH,WAAW,0BAEf,UAAU,YAAY,CAAC,GAAG,SAO5B,CAAA"}
1
+ {"version":3,"file":"getPreviousSibling.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/getPreviousSibling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,IAAI,IAAI,SAAS,EAAE,SAAS,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AAE9F,eAAO,MAAM,kBAAkB,GAC9B,CAAC,SAAS,WAAW,2BACrB,WAAW,SAAS,SAAS,cAC7B,YAAY,SAAS,SAAS,wBAEtB,CAAC,QACH,WAAW,YACP,SAAS,KACjB,SAAS,CAAC,YAAY,CAAC,GAAG,SAO5B,CAAA"}
@@ -1,6 +1,6 @@
1
- import { Path } from 'slate';
1
+ import { Editor as SlateEditor, Path, Text as SlateText } from 'slate';
2
2
  import { TextSpecifics } from '../../types/editor';
3
- export declare const hasMarks: <T extends import("../..").EditorText, E extends import("../..").Editor>(editor: E, marks: TextSpecifics<T>, options?: {
3
+ export declare const hasMarks: <T extends SlateText, E extends SlateEditor>(editor: E, marks: TextSpecifics<T>, options?: {
4
4
  from?: Path;
5
5
  to?: Path;
6
6
  }) => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"hasMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/hasMarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,IAAI,EAAqB,MAAM,OAAO,CAAA;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,eAAO,MAAM,QAAQ,mFACZ,CAAC,SACF,cAAc,CAAC,CAAC,YACd;IACR,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,EAAE,CAAC,EAAE,IAAI,CAAA;CACT,YAoBD,CAAA"}
1
+ {"version":3,"file":"hasMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/hasMarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAqB,IAAI,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,WAAW,UAC1D,CAAC,SACF,aAAa,CAAC,CAAC,CAAC,YACd;IACR,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,EAAE,CAAC,EAAE,IAAI,CAAA;CACT,YAoBD,CAAA"}
@@ -1,3 +1,3 @@
1
- import { Node as SlateNode, NodeEntry } from 'slate';
2
- export declare const hasParentOfType: <Editor extends import("../..").Editor, Element extends import("../..").EditorElement>(editor: Editor, nodeEntry: NodeEntry<SlateNode>, type: Element['type'], suchThat?: Partial<Element>) => boolean;
1
+ import { Editor as SlateEditor, Element as SlateElement, Node as SlateNode, NodeEntry } from 'slate';
2
+ export declare const hasParentOfType: <Editor extends SlateEditor, Element extends SlateElement>(editor: Editor, nodeEntry: NodeEntry<SlateNode | SlateElement>, type: Element["type"], suchThat?: Partial<Element>) => boolean;
3
3
  //# sourceMappingURL=hasParentOfType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hasParentOfType.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/hasParentOfType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkD,IAAI,IAAI,SAAS,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAA;AAGvH,eAAO,MAAM,eAAe,iGACnB,MAAM,yCAER,OAAO,CAAC,MAAM,CAAC,aACV,QAAQ,OAAO,CAAC,KACzB,OASF,CAAA"}
1
+ {"version":3,"file":"hasParentOfType.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/hasParentOfType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,IAAI,IAAI,SAAS,EAAE,SAAS,EAAqB,MAAM,OAAO,CAAA;AAGvH,eAAO,MAAM,eAAe,GAAI,MAAM,SAAS,WAAW,EAAE,OAAO,SAAS,YAAY,UAC/E,MAAM,aACH,SAAS,CAAC,SAAS,GAAG,YAAY,CAAC,QACxC,OAAO,CAAC,MAAM,CAAC,aACV,OAAO,CAAC,OAAO,CAAC,KACzB,OASF,CAAA"}
@@ -1,3 +1,3 @@
1
- import { Node as SlateNode } from 'slate';
2
- export declare const isElementType: <Element extends import("../..").EditorElement>(element: SlateNode, type: Element['type'], suchThat?: Partial<Element>) => boolean;
1
+ import { Element as SlateElement, Node as SlateNode } from 'slate';
2
+ export declare const isElementType: <Element extends SlateElement>(element: SlateNode, type: Element["type"], suchThat?: Partial<Element>) => boolean;
3
3
  //# sourceMappingURL=isElementType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isElementType.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/isElementType.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AAElE,eAAO,MAAM,aAAa,2DAChB,SAAS,QACZ,OAAO,CAAC,MAAM,CAAC,aACV,QAAQ,OAAO,CAAC,KACzB,OAsBF,CAAA"}
1
+ {"version":3,"file":"isElementType.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/isElementType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AAElE,eAAO,MAAM,aAAa,GAAI,OAAO,SAAS,YAAY,WAChD,SAAS,QACZ,OAAO,CAAC,MAAM,CAAC,aACV,OAAO,CAAC,OAAO,CAAC,KACzB,OAsBF,CAAA"}
@@ -1,3 +1,3 @@
1
- import { Element as SlateElement, Text as SlateText } from 'slate';
2
- export declare const permissivelyDeserializeNodes: <E extends import("../..").Editor>(editor: E, serializedElement: string, errorMessage?: string) => Array<SlateElement | SlateText>;
1
+ import { Editor as SlateEditor, Element as SlateElement, Text as SlateText } from 'slate';
2
+ export declare const permissivelyDeserializeNodes: <E extends SlateEditor>(editor: E, serializedElement: string, errorMessage?: string) => Array<SlateElement | SlateText>;
3
3
  //# sourceMappingURL=permissivelyDeserializeNodes.d.ts.map