@contember/react-slate-editor-base 2.1.0-alpha.37 → 2.1.0-alpha.39

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 (886) hide show
  1. package/dist/development/index.cjs +139 -0
  2. package/dist/development/index.cjs.map +1 -0
  3. package/dist/development/index.js +136 -0
  4. package/dist/development/index.js.map +1 -0
  5. package/dist/development/src/components/RichTextEditor.cjs +106 -0
  6. package/dist/development/src/components/RichTextEditor.cjs.map +1 -0
  7. package/dist/development/src/components/RichTextEditor.js +106 -0
  8. package/dist/development/src/components/RichTextEditor.js.map +1 -0
  9. package/dist/development/src/components/triggers/EditorElementTrigger.cjs +20 -0
  10. package/dist/development/src/components/triggers/EditorElementTrigger.cjs.map +1 -0
  11. package/dist/development/src/components/triggers/EditorElementTrigger.js +20 -0
  12. package/dist/development/src/components/triggers/EditorElementTrigger.js.map +1 -0
  13. package/dist/development/src/components/triggers/EditorGenericTrigger.cjs +24 -0
  14. package/dist/development/src/components/triggers/EditorGenericTrigger.cjs.map +1 -0
  15. package/dist/development/src/components/triggers/EditorGenericTrigger.js +24 -0
  16. package/dist/development/src/components/triggers/EditorGenericTrigger.js.map +1 -0
  17. package/dist/development/src/components/triggers/EditorMarkTrigger.cjs +20 -0
  18. package/dist/development/src/components/triggers/EditorMarkTrigger.cjs.map +1 -0
  19. package/dist/development/src/components/triggers/EditorMarkTrigger.js +20 -0
  20. package/dist/development/src/components/triggers/EditorMarkTrigger.js.map +1 -0
  21. package/dist/development/src/components/triggers/EditorWrapNodeTrigger.cjs +32 -0
  22. package/dist/development/src/components/triggers/EditorWrapNodeTrigger.cjs.map +1 -0
  23. package/dist/development/src/components/triggers/EditorWrapNodeTrigger.js +32 -0
  24. package/dist/development/src/components/triggers/EditorWrapNodeTrigger.js.map +1 -0
  25. package/dist/development/src/editor/createEditor.cjs +35 -0
  26. package/dist/development/src/editor/createEditor.cjs.map +1 -0
  27. package/dist/development/src/editor/createEditor.js +35 -0
  28. package/dist/development/src/editor/createEditor.js.map +1 -0
  29. package/dist/development/src/editor/createEditorWithEssentials.cjs +227 -0
  30. package/dist/development/src/editor/createEditorWithEssentials.cjs.map +1 -0
  31. package/dist/development/src/editor/createEditorWithEssentials.js +211 -0
  32. package/dist/development/src/editor/createEditorWithEssentials.js.map +1 -0
  33. package/dist/development/src/editor/index.cjs +44 -0
  34. package/dist/development/src/editor/index.cjs.map +1 -0
  35. package/dist/development/src/editor/index.js +44 -0
  36. package/dist/development/src/editor/index.js.map +1 -0
  37. package/dist/development/src/editor/methods/addMarks.cjs +12 -0
  38. package/dist/development/src/editor/methods/addMarks.cjs.map +1 -0
  39. package/dist/development/src/editor/methods/addMarks.js +12 -0
  40. package/dist/development/src/editor/methods/addMarks.js.map +1 -0
  41. package/dist/development/src/editor/methods/canToggleMark.cjs +7 -0
  42. package/dist/development/src/editor/methods/canToggleMark.cjs.map +1 -0
  43. package/dist/development/src/editor/methods/canToggleMark.js +7 -0
  44. package/dist/development/src/editor/methods/canToggleMark.js.map +1 -0
  45. package/dist/development/src/editor/methods/closest.cjs +18 -0
  46. package/dist/development/src/editor/methods/closest.cjs.map +1 -0
  47. package/dist/development/src/editor/methods/closest.js +18 -0
  48. package/dist/development/src/editor/methods/closest.js.map +1 -0
  49. package/dist/development/src/editor/methods/closestBlockEntry.cjs +10 -0
  50. package/dist/development/src/editor/methods/closestBlockEntry.cjs.map +1 -0
  51. package/dist/development/src/editor/methods/closestBlockEntry.js +10 -0
  52. package/dist/development/src/editor/methods/closestBlockEntry.js.map +1 -0
  53. package/dist/development/src/editor/methods/closestViableBlockContainerEntry.cjs +9 -0
  54. package/dist/development/src/editor/methods/closestViableBlockContainerEntry.cjs.map +1 -0
  55. package/dist/development/src/editor/methods/closestViableBlockContainerEntry.js +9 -0
  56. package/dist/development/src/editor/methods/closestViableBlockContainerEntry.js.map +1 -0
  57. package/dist/development/src/editor/methods/ejectElement.cjs +15 -0
  58. package/dist/development/src/editor/methods/ejectElement.cjs.map +1 -0
  59. package/dist/development/src/editor/methods/ejectElement.js +15 -0
  60. package/dist/development/src/editor/methods/ejectElement.js.map +1 -0
  61. package/dist/development/src/editor/methods/elementToSpecifics.cjs +8 -0
  62. package/dist/development/src/editor/methods/elementToSpecifics.cjs.map +1 -0
  63. package/dist/development/src/editor/methods/elementToSpecifics.js +8 -0
  64. package/dist/development/src/editor/methods/elementToSpecifics.js.map +1 -0
  65. package/dist/development/src/editor/methods/getElementDataAttributes.cjs +13 -0
  66. package/dist/development/src/editor/methods/getElementDataAttributes.cjs.map +1 -0
  67. package/dist/development/src/editor/methods/getElementDataAttributes.js +13 -0
  68. package/dist/development/src/editor/methods/getElementDataAttributes.js.map +1 -0
  69. package/dist/development/src/editor/methods/getPreviousSibling.cjs +13 -0
  70. package/dist/development/src/editor/methods/getPreviousSibling.cjs.map +1 -0
  71. package/dist/development/src/editor/methods/getPreviousSibling.js +13 -0
  72. package/dist/development/src/editor/methods/getPreviousSibling.js.map +1 -0
  73. package/dist/development/src/editor/methods/hasMarks.cjs +23 -0
  74. package/dist/development/src/editor/methods/hasMarks.cjs.map +1 -0
  75. package/dist/development/src/editor/methods/hasMarks.js +23 -0
  76. package/dist/development/src/editor/methods/hasMarks.js.map +1 -0
  77. package/dist/development/src/editor/methods/hasParentOfType.cjs +15 -0
  78. package/dist/development/src/editor/methods/hasParentOfType.cjs.map +1 -0
  79. package/dist/development/src/editor/methods/hasParentOfType.js +15 -0
  80. package/dist/development/src/editor/methods/hasParentOfType.js.map +1 -0
  81. package/dist/development/src/editor/methods/isElementType.cjs +24 -0
  82. package/dist/development/src/editor/methods/isElementType.cjs.map +1 -0
  83. package/dist/development/src/editor/methods/isElementType.js +24 -0
  84. package/dist/development/src/editor/methods/isElementType.js.map +1 -0
  85. package/dist/development/src/editor/methods/permissivelyDeserializeNodes.cjs +22 -0
  86. package/dist/development/src/editor/methods/permissivelyDeserializeNodes.cjs.map +1 -0
  87. package/dist/development/src/editor/methods/permissivelyDeserializeNodes.js +22 -0
  88. package/dist/development/src/editor/methods/permissivelyDeserializeNodes.js.map +1 -0
  89. package/dist/development/src/editor/methods/removeMarks.cjs +12 -0
  90. package/dist/development/src/editor/methods/removeMarks.cjs.map +1 -0
  91. package/dist/development/src/editor/methods/removeMarks.js +12 -0
  92. package/dist/development/src/editor/methods/removeMarks.js.map +1 -0
  93. package/dist/development/src/editor/methods/serializeNodes.cjs +15 -0
  94. package/dist/development/src/editor/methods/serializeNodes.cjs.map +1 -0
  95. package/dist/development/src/editor/methods/serializeNodes.js +15 -0
  96. package/dist/development/src/editor/methods/serializeNodes.js.map +1 -0
  97. package/dist/development/src/editor/methods/strictlyDeserializeNodes.cjs +14 -0
  98. package/dist/development/src/editor/methods/strictlyDeserializeNodes.cjs.map +1 -0
  99. package/dist/development/src/editor/methods/strictlyDeserializeNodes.js +14 -0
  100. package/dist/development/src/editor/methods/strictlyDeserializeNodes.js.map +1 -0
  101. package/dist/development/src/editor/methods/textToSpecifics.cjs +8 -0
  102. package/dist/development/src/editor/methods/textToSpecifics.cjs.map +1 -0
  103. package/dist/development/src/editor/methods/textToSpecifics.js +8 -0
  104. package/dist/development/src/editor/methods/textToSpecifics.js.map +1 -0
  105. package/dist/development/src/editor/methods/toLatestFormat.cjs +32 -0
  106. package/dist/development/src/editor/methods/toLatestFormat.cjs.map +1 -0
  107. package/dist/development/src/editor/methods/toLatestFormat.js +32 -0
  108. package/dist/development/src/editor/methods/toLatestFormat.js.map +1 -0
  109. package/dist/development/src/editor/methods/topLevelNodes.cjs +12 -0
  110. package/dist/development/src/editor/methods/topLevelNodes.cjs.map +1 -0
  111. package/dist/development/src/editor/methods/topLevelNodes.js +12 -0
  112. package/dist/development/src/editor/methods/topLevelNodes.js.map +1 -0
  113. package/dist/development/src/internal/components/DefaultElement.cjs +11 -0
  114. package/dist/development/src/internal/components/DefaultElement.cjs.map +1 -0
  115. package/dist/development/src/internal/components/DefaultElement.js +11 -0
  116. package/dist/development/src/internal/components/DefaultElement.js.map +1 -0
  117. package/dist/development/src/internal/hooks/useRichTextFieldNodes.cjs +28 -0
  118. package/dist/development/src/internal/hooks/useRichTextFieldNodes.cjs.map +1 -0
  119. package/dist/development/src/internal/hooks/useRichTextFieldNodes.js +28 -0
  120. package/dist/development/src/internal/hooks/useRichTextFieldNodes.js.map +1 -0
  121. package/dist/development/src/internal/utils/EditorPasteUtils.cjs +47 -0
  122. package/dist/development/src/internal/utils/EditorPasteUtils.cjs.map +1 -0
  123. package/dist/development/src/internal/utils/EditorPasteUtils.js +47 -0
  124. package/dist/development/src/internal/utils/EditorPasteUtils.js.map +1 -0
  125. package/dist/development/src/internal/utils/parseUrl.cjs +14 -0
  126. package/dist/development/src/internal/utils/parseUrl.cjs.map +1 -0
  127. package/dist/development/src/internal/utils/parseUrl.js +14 -0
  128. package/dist/development/src/internal/utils/parseUrl.js.map +1 -0
  129. package/dist/development/src/plugins/attributes/alignment/alignButton.cjs +21 -0
  130. package/dist/development/src/plugins/attributes/alignment/alignButton.cjs.map +1 -0
  131. package/dist/development/src/plugins/attributes/alignment/alignButton.js +21 -0
  132. package/dist/development/src/plugins/attributes/alignment/alignButton.js.map +1 -0
  133. package/dist/development/src/plugins/behaviour/paste/HtmlDeserializer.cjs +136 -0
  134. package/dist/development/src/plugins/behaviour/paste/HtmlDeserializer.cjs.map +1 -0
  135. package/dist/development/src/plugins/behaviour/paste/HtmlDeserializer.js +136 -0
  136. package/dist/development/src/plugins/behaviour/paste/HtmlDeserializer.js.map +1 -0
  137. package/dist/development/src/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs +15 -0
  138. package/dist/development/src/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs.map +1 -0
  139. package/dist/development/src/plugins/behaviour/paste/createMarkHtmlDeserializer.js +15 -0
  140. package/dist/development/src/plugins/behaviour/paste/createMarkHtmlDeserializer.js.map +1 -0
  141. package/dist/development/src/plugins/behaviour/paste/withPaste.cjs +24 -0
  142. package/dist/development/src/plugins/behaviour/paste/withPaste.cjs.map +1 -0
  143. package/dist/development/src/plugins/behaviour/paste/withPaste.js +24 -0
  144. package/dist/development/src/plugins/behaviour/paste/withPaste.js.map +1 -0
  145. package/dist/development/src/plugins/element/anchors/AnchorElement.cjs +44 -0
  146. package/dist/development/src/plugins/element/anchors/AnchorElement.cjs.map +1 -0
  147. package/dist/development/src/plugins/element/anchors/AnchorElement.js +44 -0
  148. package/dist/development/src/plugins/element/anchors/AnchorElement.js.map +1 -0
  149. package/dist/development/src/plugins/element/anchors/AnchorHtmlDeserializer.cjs +19 -0
  150. package/dist/development/src/plugins/element/anchors/AnchorHtmlDeserializer.cjs.map +1 -0
  151. package/dist/development/src/plugins/element/anchors/AnchorHtmlDeserializer.js +19 -0
  152. package/dist/development/src/plugins/element/anchors/AnchorHtmlDeserializer.js.map +1 -0
  153. package/dist/development/src/plugins/element/anchors/AnchorModifications.cjs +29 -0
  154. package/dist/development/src/plugins/element/anchors/AnchorModifications.cjs.map +1 -0
  155. package/dist/development/src/plugins/element/anchors/AnchorModifications.js +29 -0
  156. package/dist/development/src/plugins/element/anchors/AnchorModifications.js.map +1 -0
  157. package/dist/development/src/plugins/element/anchors/withAnchors.cjs +21 -0
  158. package/dist/development/src/plugins/element/anchors/withAnchors.cjs.map +1 -0
  159. package/dist/development/src/plugins/element/anchors/withAnchors.js +21 -0
  160. package/dist/development/src/plugins/element/anchors/withAnchors.js.map +1 -0
  161. package/dist/development/src/plugins/element/headings/HeadingElement.cjs +41 -0
  162. package/dist/development/src/plugins/element/headings/HeadingElement.cjs.map +1 -0
  163. package/dist/development/src/plugins/element/headings/HeadingElement.js +41 -0
  164. package/dist/development/src/plugins/element/headings/HeadingElement.js.map +1 -0
  165. package/dist/development/src/plugins/element/headings/HeadingHtmlDeserializer.cjs +22 -0
  166. package/dist/development/src/plugins/element/headings/HeadingHtmlDeserializer.cjs.map +1 -0
  167. package/dist/development/src/plugins/element/headings/HeadingHtmlDeserializer.js +22 -0
  168. package/dist/development/src/plugins/element/headings/HeadingHtmlDeserializer.js.map +1 -0
  169. package/dist/development/src/plugins/element/headings/withHeadings.cjs +70 -0
  170. package/dist/development/src/plugins/element/headings/withHeadings.cjs.map +1 -0
  171. package/dist/development/src/plugins/element/headings/withHeadings.js +70 -0
  172. package/dist/development/src/plugins/element/headings/withHeadings.js.map +1 -0
  173. package/dist/development/src/plugins/element/horizonalRules/HorizontalRuleElement.cjs +41 -0
  174. package/dist/development/src/plugins/element/horizonalRules/HorizontalRuleElement.cjs.map +1 -0
  175. package/dist/development/src/plugins/element/horizonalRules/HorizontalRuleElement.js +41 -0
  176. package/dist/development/src/plugins/element/horizonalRules/HorizontalRuleElement.js.map +1 -0
  177. package/dist/development/src/plugins/element/horizonalRules/withHorizontalRules.cjs +75 -0
  178. package/dist/development/src/plugins/element/horizonalRules/withHorizontalRules.cjs.map +1 -0
  179. package/dist/development/src/plugins/element/horizonalRules/withHorizontalRules.js +75 -0
  180. package/dist/development/src/plugins/element/horizonalRules/withHorizontalRules.js.map +1 -0
  181. package/dist/development/src/plugins/element/lists/ListElement.cjs +26 -0
  182. package/dist/development/src/plugins/element/lists/ListElement.cjs.map +1 -0
  183. package/dist/development/src/plugins/element/lists/ListElement.js +26 -0
  184. package/dist/development/src/plugins/element/lists/ListElement.js.map +1 -0
  185. package/dist/development/src/plugins/element/lists/ListHtmlDeserializer.cjs +98 -0
  186. package/dist/development/src/plugins/element/lists/ListHtmlDeserializer.cjs.map +1 -0
  187. package/dist/development/src/plugins/element/lists/ListHtmlDeserializer.js +98 -0
  188. package/dist/development/src/plugins/element/lists/ListHtmlDeserializer.js.map +1 -0
  189. package/dist/development/src/plugins/element/lists/ListItemElement.cjs +53 -0
  190. package/dist/development/src/plugins/element/lists/ListItemElement.cjs.map +1 -0
  191. package/dist/development/src/plugins/element/lists/ListItemElement.js +53 -0
  192. package/dist/development/src/plugins/element/lists/ListItemElement.js.map +1 -0
  193. package/dist/development/src/plugins/element/lists/OrderedListElement.cjs +25 -0
  194. package/dist/development/src/plugins/element/lists/OrderedListElement.cjs.map +1 -0
  195. package/dist/development/src/plugins/element/lists/OrderedListElement.js +25 -0
  196. package/dist/development/src/plugins/element/lists/OrderedListElement.js.map +1 -0
  197. package/dist/development/src/plugins/element/lists/UnorderedListElement.cjs +25 -0
  198. package/dist/development/src/plugins/element/lists/UnorderedListElement.cjs.map +1 -0
  199. package/dist/development/src/plugins/element/lists/UnorderedListElement.js +25 -0
  200. package/dist/development/src/plugins/element/lists/UnorderedListElement.js.map +1 -0
  201. package/dist/development/src/plugins/element/lists/transforms/dedentListItem.cjs +57 -0
  202. package/dist/development/src/plugins/element/lists/transforms/dedentListItem.cjs.map +1 -0
  203. package/dist/development/src/plugins/element/lists/transforms/dedentListItem.js +57 -0
  204. package/dist/development/src/plugins/element/lists/transforms/dedentListItem.js.map +1 -0
  205. package/dist/development/src/plugins/element/lists/transforms/indentListItem.cjs +57 -0
  206. package/dist/development/src/plugins/element/lists/transforms/indentListItem.cjs.map +1 -0
  207. package/dist/development/src/plugins/element/lists/transforms/indentListItem.js +57 -0
  208. package/dist/development/src/plugins/element/lists/transforms/indentListItem.js.map +1 -0
  209. package/dist/development/src/plugins/element/lists/transforms/normalizeListElement.cjs +22 -0
  210. package/dist/development/src/plugins/element/lists/transforms/normalizeListElement.cjs.map +1 -0
  211. package/dist/development/src/plugins/element/lists/transforms/normalizeListElement.js +22 -0
  212. package/dist/development/src/plugins/element/lists/transforms/normalizeListElement.js.map +1 -0
  213. package/dist/development/src/plugins/element/lists/transforms/toggleListElement.cjs +93 -0
  214. package/dist/development/src/plugins/element/lists/transforms/toggleListElement.cjs.map +1 -0
  215. package/dist/development/src/plugins/element/lists/transforms/toggleListElement.js +93 -0
  216. package/dist/development/src/plugins/element/lists/transforms/toggleListElement.js.map +1 -0
  217. package/dist/development/src/plugins/element/lists/withLists.cjs +153 -0
  218. package/dist/development/src/plugins/element/lists/withLists.cjs.map +1 -0
  219. package/dist/development/src/plugins/element/lists/withLists.js +153 -0
  220. package/dist/development/src/plugins/element/lists/withLists.js.map +1 -0
  221. package/dist/development/src/plugins/element/paragraphs/ParagraphElement.cjs +49 -0
  222. package/dist/development/src/plugins/element/paragraphs/ParagraphElement.cjs.map +1 -0
  223. package/dist/development/src/plugins/element/paragraphs/ParagraphElement.js +49 -0
  224. package/dist/development/src/plugins/element/paragraphs/ParagraphElement.js.map +1 -0
  225. package/dist/development/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs +11 -0
  226. package/dist/development/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs.map +1 -0
  227. package/dist/development/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.js +11 -0
  228. package/dist/development/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.js.map +1 -0
  229. package/dist/development/src/plugins/element/paragraphs/withParagraphs.cjs +58 -0
  230. package/dist/development/src/plugins/element/paragraphs/withParagraphs.cjs.map +1 -0
  231. package/dist/development/src/plugins/element/paragraphs/withParagraphs.js +58 -0
  232. package/dist/development/src/plugins/element/paragraphs/withParagraphs.js.map +1 -0
  233. package/dist/development/src/plugins/element/scrollTargets/ScrollTargetElement.cjs +51 -0
  234. package/dist/development/src/plugins/element/scrollTargets/ScrollTargetElement.cjs.map +1 -0
  235. package/dist/development/src/plugins/element/scrollTargets/ScrollTargetElement.js +51 -0
  236. package/dist/development/src/plugins/element/scrollTargets/ScrollTargetElement.js.map +1 -0
  237. package/dist/development/src/plugins/element/scrollTargets/withScrollTargets.cjs +9 -0
  238. package/dist/development/src/plugins/element/scrollTargets/withScrollTargets.cjs.map +1 -0
  239. package/dist/development/src/plugins/element/scrollTargets/withScrollTargets.js +9 -0
  240. package/dist/development/src/plugins/element/scrollTargets/withScrollTargets.js.map +1 -0
  241. package/dist/development/src/plugins/element/tables/TableCellElement.cjs +39 -0
  242. package/dist/development/src/plugins/element/tables/TableCellElement.cjs.map +1 -0
  243. package/dist/development/src/plugins/element/tables/TableCellElement.js +39 -0
  244. package/dist/development/src/plugins/element/tables/TableCellElement.js.map +1 -0
  245. package/dist/development/src/plugins/element/tables/TableElement.cjs +114 -0
  246. package/dist/development/src/plugins/element/tables/TableElement.cjs.map +1 -0
  247. package/dist/development/src/plugins/element/tables/TableElement.js +114 -0
  248. package/dist/development/src/plugins/element/tables/TableElement.js.map +1 -0
  249. package/dist/development/src/plugins/element/tables/TableElementSelection.cjs +20 -0
  250. package/dist/development/src/plugins/element/tables/TableElementSelection.cjs.map +1 -0
  251. package/dist/development/src/plugins/element/tables/TableElementSelection.js +20 -0
  252. package/dist/development/src/plugins/element/tables/TableElementSelection.js.map +1 -0
  253. package/dist/development/src/plugins/element/tables/TableHtmlDeserializer.cjs +36 -0
  254. package/dist/development/src/plugins/element/tables/TableHtmlDeserializer.cjs.map +1 -0
  255. package/dist/development/src/plugins/element/tables/TableHtmlDeserializer.js +36 -0
  256. package/dist/development/src/plugins/element/tables/TableHtmlDeserializer.js.map +1 -0
  257. package/dist/development/src/plugins/element/tables/TableModifications.cjs +134 -0
  258. package/dist/development/src/plugins/element/tables/TableModifications.cjs.map +1 -0
  259. package/dist/development/src/plugins/element/tables/TableModifications.js +134 -0
  260. package/dist/development/src/plugins/element/tables/TableModifications.js.map +1 -0
  261. package/dist/development/src/plugins/element/tables/TableRowElement.cjs +43 -0
  262. package/dist/development/src/plugins/element/tables/TableRowElement.cjs.map +1 -0
  263. package/dist/development/src/plugins/element/tables/TableRowElement.js +43 -0
  264. package/dist/development/src/plugins/element/tables/TableRowElement.js.map +1 -0
  265. package/dist/development/src/plugins/element/tables/gaugeTableColumnCount.cjs +25 -0
  266. package/dist/development/src/plugins/element/tables/gaugeTableColumnCount.cjs.map +1 -0
  267. package/dist/development/src/plugins/element/tables/gaugeTableColumnCount.js +25 -0
  268. package/dist/development/src/plugins/element/tables/gaugeTableColumnCount.js.map +1 -0
  269. package/dist/development/src/plugins/element/tables/withTables.cjs +283 -0
  270. package/dist/development/src/plugins/element/tables/withTables.cjs.map +1 -0
  271. package/dist/development/src/plugins/element/tables/withTables.js +283 -0
  272. package/dist/development/src/plugins/element/tables/withTables.js.map +1 -0
  273. package/dist/development/src/plugins/text/bold/boldMark.cjs +13 -0
  274. package/dist/development/src/plugins/text/bold/boldMark.cjs.map +1 -0
  275. package/dist/development/src/plugins/text/bold/boldMark.js +13 -0
  276. package/dist/development/src/plugins/text/bold/boldMark.js.map +1 -0
  277. package/dist/development/src/plugins/text/bold/withBold.cjs +16 -0
  278. package/dist/development/src/plugins/text/bold/withBold.cjs.map +1 -0
  279. package/dist/development/src/plugins/text/bold/withBold.js +16 -0
  280. package/dist/development/src/plugins/text/bold/withBold.js.map +1 -0
  281. package/dist/development/src/plugins/text/code/codeMark.cjs +13 -0
  282. package/dist/development/src/plugins/text/code/codeMark.cjs.map +1 -0
  283. package/dist/development/src/plugins/text/code/codeMark.js +13 -0
  284. package/dist/development/src/plugins/text/code/codeMark.js.map +1 -0
  285. package/dist/development/src/plugins/text/code/withCode.cjs +9 -0
  286. package/dist/development/src/plugins/text/code/withCode.cjs.map +1 -0
  287. package/dist/development/src/plugins/text/code/withCode.js +9 -0
  288. package/dist/development/src/plugins/text/code/withCode.js.map +1 -0
  289. package/dist/development/src/plugins/text/highlight/highlightMark.cjs +13 -0
  290. package/dist/development/src/plugins/text/highlight/highlightMark.cjs.map +1 -0
  291. package/dist/development/src/plugins/text/highlight/highlightMark.js +13 -0
  292. package/dist/development/src/plugins/text/highlight/highlightMark.js.map +1 -0
  293. package/dist/development/src/plugins/text/highlight/withHighlight.cjs +9 -0
  294. package/dist/development/src/plugins/text/highlight/withHighlight.cjs.map +1 -0
  295. package/dist/development/src/plugins/text/highlight/withHighlight.js +9 -0
  296. package/dist/development/src/plugins/text/highlight/withHighlight.js.map +1 -0
  297. package/dist/development/src/plugins/text/italic/italicMark.cjs +13 -0
  298. package/dist/development/src/plugins/text/italic/italicMark.cjs.map +1 -0
  299. package/dist/development/src/plugins/text/italic/italicMark.js +13 -0
  300. package/dist/development/src/plugins/text/italic/italicMark.js.map +1 -0
  301. package/dist/development/src/plugins/text/italic/withItalic.cjs +16 -0
  302. package/dist/development/src/plugins/text/italic/withItalic.cjs.map +1 -0
  303. package/dist/development/src/plugins/text/italic/withItalic.js +16 -0
  304. package/dist/development/src/plugins/text/italic/withItalic.js.map +1 -0
  305. package/dist/development/src/plugins/text/newline/withNewline.cjs +15 -0
  306. package/dist/development/src/plugins/text/newline/withNewline.cjs.map +1 -0
  307. package/dist/development/src/plugins/text/newline/withNewline.js +15 -0
  308. package/dist/development/src/plugins/text/newline/withNewline.js.map +1 -0
  309. package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.cjs +13 -0
  310. package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.cjs.map +1 -0
  311. package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.js +13 -0
  312. package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.js.map +1 -0
  313. package/dist/development/src/plugins/text/strikeThrough/withStrikeThrough.cjs +17 -0
  314. package/dist/development/src/plugins/text/strikeThrough/withStrikeThrough.cjs.map +1 -0
  315. package/dist/development/src/plugins/text/strikeThrough/withStrikeThrough.js +17 -0
  316. package/dist/development/src/plugins/text/strikeThrough/withStrikeThrough.js.map +1 -0
  317. package/dist/development/src/plugins/text/underline/underlineMark.cjs +13 -0
  318. package/dist/development/src/plugins/text/underline/underlineMark.cjs.map +1 -0
  319. package/dist/development/src/plugins/text/underline/underlineMark.js +13 -0
  320. package/dist/development/src/plugins/text/underline/underlineMark.js.map +1 -0
  321. package/dist/development/src/plugins/text/underline/withUnderline.cjs +17 -0
  322. package/dist/development/src/plugins/text/underline/withUnderline.cjs.map +1 -0
  323. package/dist/development/src/plugins/text/underline/withUnderline.js +17 -0
  324. package/dist/development/src/plugins/text/underline/withUnderline.js.map +1 -0
  325. package/dist/development/src/slate-reexport.cjs +10 -0
  326. package/dist/development/src/slate-reexport.cjs.map +1 -0
  327. package/dist/development/src/slate-reexport.js +8 -0
  328. package/dist/development/src/slate-reexport.js.map +1 -0
  329. package/dist/production/index.cjs +139 -0
  330. package/dist/production/index.cjs.map +1 -0
  331. package/dist/production/index.js +136 -0
  332. package/dist/production/index.js.map +1 -0
  333. package/dist/production/src/components/RichTextEditor.cjs +94 -0
  334. package/dist/production/src/components/RichTextEditor.cjs.map +1 -0
  335. package/dist/production/src/components/RichTextEditor.js +94 -0
  336. package/dist/production/src/components/RichTextEditor.js.map +1 -0
  337. package/dist/production/src/components/triggers/EditorElementTrigger.cjs +16 -0
  338. package/dist/production/src/components/triggers/EditorElementTrigger.cjs.map +1 -0
  339. package/dist/production/src/components/triggers/EditorElementTrigger.js +16 -0
  340. package/dist/production/src/components/triggers/EditorElementTrigger.js.map +1 -0
  341. package/dist/production/src/components/triggers/EditorGenericTrigger.cjs +20 -0
  342. package/dist/production/src/components/triggers/EditorGenericTrigger.cjs.map +1 -0
  343. package/dist/production/src/components/triggers/EditorGenericTrigger.js +20 -0
  344. package/dist/production/src/components/triggers/EditorGenericTrigger.js.map +1 -0
  345. package/dist/production/src/components/triggers/EditorMarkTrigger.cjs +16 -0
  346. package/dist/production/src/components/triggers/EditorMarkTrigger.cjs.map +1 -0
  347. package/dist/production/src/components/triggers/EditorMarkTrigger.js +16 -0
  348. package/dist/production/src/components/triggers/EditorMarkTrigger.js.map +1 -0
  349. package/dist/production/src/components/triggers/EditorWrapNodeTrigger.cjs +28 -0
  350. package/dist/production/src/components/triggers/EditorWrapNodeTrigger.cjs.map +1 -0
  351. package/dist/production/src/components/triggers/EditorWrapNodeTrigger.js +28 -0
  352. package/dist/production/src/components/triggers/EditorWrapNodeTrigger.js.map +1 -0
  353. package/dist/production/src/editor/createEditor.cjs +35 -0
  354. package/dist/production/src/editor/createEditor.cjs.map +1 -0
  355. package/dist/production/src/editor/createEditor.js +35 -0
  356. package/dist/production/src/editor/createEditor.js.map +1 -0
  357. package/dist/production/src/editor/createEditorWithEssentials.cjs +227 -0
  358. package/dist/production/src/editor/createEditorWithEssentials.cjs.map +1 -0
  359. package/dist/production/src/editor/createEditorWithEssentials.js +211 -0
  360. package/dist/production/src/editor/createEditorWithEssentials.js.map +1 -0
  361. package/dist/production/src/editor/index.cjs +44 -0
  362. package/dist/production/src/editor/index.cjs.map +1 -0
  363. package/dist/production/src/editor/index.js +44 -0
  364. package/dist/production/src/editor/index.js.map +1 -0
  365. package/dist/production/src/editor/methods/addMarks.cjs +12 -0
  366. package/dist/production/src/editor/methods/addMarks.cjs.map +1 -0
  367. package/dist/production/src/editor/methods/addMarks.js +12 -0
  368. package/dist/production/src/editor/methods/addMarks.js.map +1 -0
  369. package/dist/production/src/editor/methods/canToggleMark.cjs +7 -0
  370. package/dist/production/src/editor/methods/canToggleMark.cjs.map +1 -0
  371. package/dist/production/src/editor/methods/canToggleMark.js +7 -0
  372. package/dist/production/src/editor/methods/canToggleMark.js.map +1 -0
  373. package/dist/production/src/editor/methods/closest.cjs +18 -0
  374. package/dist/production/src/editor/methods/closest.cjs.map +1 -0
  375. package/dist/production/src/editor/methods/closest.js +18 -0
  376. package/dist/production/src/editor/methods/closest.js.map +1 -0
  377. package/dist/production/src/editor/methods/closestBlockEntry.cjs +10 -0
  378. package/dist/production/src/editor/methods/closestBlockEntry.cjs.map +1 -0
  379. package/dist/production/src/editor/methods/closestBlockEntry.js +10 -0
  380. package/dist/production/src/editor/methods/closestBlockEntry.js.map +1 -0
  381. package/dist/production/src/editor/methods/closestViableBlockContainerEntry.cjs +9 -0
  382. package/dist/production/src/editor/methods/closestViableBlockContainerEntry.cjs.map +1 -0
  383. package/dist/production/src/editor/methods/closestViableBlockContainerEntry.js +9 -0
  384. package/dist/production/src/editor/methods/closestViableBlockContainerEntry.js.map +1 -0
  385. package/dist/production/src/editor/methods/ejectElement.cjs +15 -0
  386. package/dist/production/src/editor/methods/ejectElement.cjs.map +1 -0
  387. package/dist/production/src/editor/methods/ejectElement.js +15 -0
  388. package/dist/production/src/editor/methods/ejectElement.js.map +1 -0
  389. package/dist/production/src/editor/methods/elementToSpecifics.cjs +8 -0
  390. package/dist/production/src/editor/methods/elementToSpecifics.cjs.map +1 -0
  391. package/dist/production/src/editor/methods/elementToSpecifics.js +8 -0
  392. package/dist/production/src/editor/methods/elementToSpecifics.js.map +1 -0
  393. package/dist/production/src/editor/methods/getElementDataAttributes.cjs +13 -0
  394. package/dist/production/src/editor/methods/getElementDataAttributes.cjs.map +1 -0
  395. package/dist/production/src/editor/methods/getElementDataAttributes.js +13 -0
  396. package/dist/production/src/editor/methods/getElementDataAttributes.js.map +1 -0
  397. package/dist/production/src/editor/methods/getPreviousSibling.cjs +13 -0
  398. package/dist/production/src/editor/methods/getPreviousSibling.cjs.map +1 -0
  399. package/dist/production/src/editor/methods/getPreviousSibling.js +13 -0
  400. package/dist/production/src/editor/methods/getPreviousSibling.js.map +1 -0
  401. package/dist/production/src/editor/methods/hasMarks.cjs +23 -0
  402. package/dist/production/src/editor/methods/hasMarks.cjs.map +1 -0
  403. package/dist/production/src/editor/methods/hasMarks.js +23 -0
  404. package/dist/production/src/editor/methods/hasMarks.js.map +1 -0
  405. package/dist/production/src/editor/methods/hasParentOfType.cjs +15 -0
  406. package/dist/production/src/editor/methods/hasParentOfType.cjs.map +1 -0
  407. package/dist/production/src/editor/methods/hasParentOfType.js +15 -0
  408. package/dist/production/src/editor/methods/hasParentOfType.js.map +1 -0
  409. package/dist/production/src/editor/methods/isElementType.cjs +24 -0
  410. package/dist/production/src/editor/methods/isElementType.cjs.map +1 -0
  411. package/dist/production/src/editor/methods/isElementType.js +24 -0
  412. package/dist/production/src/editor/methods/isElementType.js.map +1 -0
  413. package/dist/production/src/editor/methods/permissivelyDeserializeNodes.cjs +22 -0
  414. package/dist/production/src/editor/methods/permissivelyDeserializeNodes.cjs.map +1 -0
  415. package/dist/production/src/editor/methods/permissivelyDeserializeNodes.js +22 -0
  416. package/dist/production/src/editor/methods/permissivelyDeserializeNodes.js.map +1 -0
  417. package/dist/production/src/editor/methods/removeMarks.cjs +12 -0
  418. package/dist/production/src/editor/methods/removeMarks.cjs.map +1 -0
  419. package/dist/production/src/editor/methods/removeMarks.js +12 -0
  420. package/dist/production/src/editor/methods/removeMarks.js.map +1 -0
  421. package/dist/production/src/editor/methods/serializeNodes.cjs +15 -0
  422. package/dist/production/src/editor/methods/serializeNodes.cjs.map +1 -0
  423. package/dist/production/src/editor/methods/serializeNodes.js +15 -0
  424. package/dist/production/src/editor/methods/serializeNodes.js.map +1 -0
  425. package/dist/production/src/editor/methods/strictlyDeserializeNodes.cjs +14 -0
  426. package/dist/production/src/editor/methods/strictlyDeserializeNodes.cjs.map +1 -0
  427. package/dist/production/src/editor/methods/strictlyDeserializeNodes.js +14 -0
  428. package/dist/production/src/editor/methods/strictlyDeserializeNodes.js.map +1 -0
  429. package/dist/production/src/editor/methods/textToSpecifics.cjs +8 -0
  430. package/dist/production/src/editor/methods/textToSpecifics.cjs.map +1 -0
  431. package/dist/production/src/editor/methods/textToSpecifics.js +8 -0
  432. package/dist/production/src/editor/methods/textToSpecifics.js.map +1 -0
  433. package/dist/production/src/editor/methods/toLatestFormat.cjs +32 -0
  434. package/dist/production/src/editor/methods/toLatestFormat.cjs.map +1 -0
  435. package/dist/production/src/editor/methods/toLatestFormat.js +32 -0
  436. package/dist/production/src/editor/methods/toLatestFormat.js.map +1 -0
  437. package/dist/production/src/editor/methods/topLevelNodes.cjs +12 -0
  438. package/dist/production/src/editor/methods/topLevelNodes.cjs.map +1 -0
  439. package/dist/production/src/editor/methods/topLevelNodes.js +12 -0
  440. package/dist/production/src/editor/methods/topLevelNodes.js.map +1 -0
  441. package/dist/production/src/internal/components/DefaultElement.cjs +11 -0
  442. package/dist/production/src/internal/components/DefaultElement.cjs.map +1 -0
  443. package/dist/production/src/internal/components/DefaultElement.js +11 -0
  444. package/dist/production/src/internal/components/DefaultElement.js.map +1 -0
  445. package/dist/production/src/internal/hooks/useRichTextFieldNodes.cjs +28 -0
  446. package/dist/production/src/internal/hooks/useRichTextFieldNodes.cjs.map +1 -0
  447. package/dist/production/src/internal/hooks/useRichTextFieldNodes.js +28 -0
  448. package/dist/production/src/internal/hooks/useRichTextFieldNodes.js.map +1 -0
  449. package/dist/production/src/internal/utils/EditorPasteUtils.cjs +47 -0
  450. package/dist/production/src/internal/utils/EditorPasteUtils.cjs.map +1 -0
  451. package/dist/production/src/internal/utils/EditorPasteUtils.js +47 -0
  452. package/dist/production/src/internal/utils/EditorPasteUtils.js.map +1 -0
  453. package/dist/production/src/internal/utils/parseUrl.cjs +14 -0
  454. package/dist/production/src/internal/utils/parseUrl.cjs.map +1 -0
  455. package/dist/production/src/internal/utils/parseUrl.js +14 -0
  456. package/dist/production/src/internal/utils/parseUrl.js.map +1 -0
  457. package/dist/production/src/plugins/attributes/alignment/alignButton.cjs +21 -0
  458. package/dist/production/src/plugins/attributes/alignment/alignButton.cjs.map +1 -0
  459. package/dist/production/src/plugins/attributes/alignment/alignButton.js +21 -0
  460. package/dist/production/src/plugins/attributes/alignment/alignButton.js.map +1 -0
  461. package/dist/production/src/plugins/behaviour/paste/HtmlDeserializer.cjs +136 -0
  462. package/dist/production/src/plugins/behaviour/paste/HtmlDeserializer.cjs.map +1 -0
  463. package/dist/production/src/plugins/behaviour/paste/HtmlDeserializer.js +136 -0
  464. package/dist/production/src/plugins/behaviour/paste/HtmlDeserializer.js.map +1 -0
  465. package/dist/production/src/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs +15 -0
  466. package/dist/production/src/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs.map +1 -0
  467. package/dist/production/src/plugins/behaviour/paste/createMarkHtmlDeserializer.js +15 -0
  468. package/dist/production/src/plugins/behaviour/paste/createMarkHtmlDeserializer.js.map +1 -0
  469. package/dist/production/src/plugins/behaviour/paste/withPaste.cjs +24 -0
  470. package/dist/production/src/plugins/behaviour/paste/withPaste.cjs.map +1 -0
  471. package/dist/production/src/plugins/behaviour/paste/withPaste.js +24 -0
  472. package/dist/production/src/plugins/behaviour/paste/withPaste.js.map +1 -0
  473. package/dist/production/src/plugins/element/anchors/AnchorElement.cjs +44 -0
  474. package/dist/production/src/plugins/element/anchors/AnchorElement.cjs.map +1 -0
  475. package/dist/production/src/plugins/element/anchors/AnchorElement.js +44 -0
  476. package/dist/production/src/plugins/element/anchors/AnchorElement.js.map +1 -0
  477. package/dist/production/src/plugins/element/anchors/AnchorHtmlDeserializer.cjs +19 -0
  478. package/dist/production/src/plugins/element/anchors/AnchorHtmlDeserializer.cjs.map +1 -0
  479. package/dist/production/src/plugins/element/anchors/AnchorHtmlDeserializer.js +19 -0
  480. package/dist/production/src/plugins/element/anchors/AnchorHtmlDeserializer.js.map +1 -0
  481. package/dist/production/src/plugins/element/anchors/AnchorModifications.cjs +29 -0
  482. package/dist/production/src/plugins/element/anchors/AnchorModifications.cjs.map +1 -0
  483. package/dist/production/src/plugins/element/anchors/AnchorModifications.js +29 -0
  484. package/dist/production/src/plugins/element/anchors/AnchorModifications.js.map +1 -0
  485. package/dist/production/src/plugins/element/anchors/withAnchors.cjs +21 -0
  486. package/dist/production/src/plugins/element/anchors/withAnchors.cjs.map +1 -0
  487. package/dist/production/src/plugins/element/anchors/withAnchors.js +21 -0
  488. package/dist/production/src/plugins/element/anchors/withAnchors.js.map +1 -0
  489. package/dist/production/src/plugins/element/headings/HeadingElement.cjs +41 -0
  490. package/dist/production/src/plugins/element/headings/HeadingElement.cjs.map +1 -0
  491. package/dist/production/src/plugins/element/headings/HeadingElement.js +41 -0
  492. package/dist/production/src/plugins/element/headings/HeadingElement.js.map +1 -0
  493. package/dist/production/src/plugins/element/headings/HeadingHtmlDeserializer.cjs +22 -0
  494. package/dist/production/src/plugins/element/headings/HeadingHtmlDeserializer.cjs.map +1 -0
  495. package/dist/production/src/plugins/element/headings/HeadingHtmlDeserializer.js +22 -0
  496. package/dist/production/src/plugins/element/headings/HeadingHtmlDeserializer.js.map +1 -0
  497. package/dist/production/src/plugins/element/headings/withHeadings.cjs +70 -0
  498. package/dist/production/src/plugins/element/headings/withHeadings.cjs.map +1 -0
  499. package/dist/production/src/plugins/element/headings/withHeadings.js +70 -0
  500. package/dist/production/src/plugins/element/headings/withHeadings.js.map +1 -0
  501. package/dist/production/src/plugins/element/horizonalRules/HorizontalRuleElement.cjs +41 -0
  502. package/dist/production/src/plugins/element/horizonalRules/HorizontalRuleElement.cjs.map +1 -0
  503. package/dist/production/src/plugins/element/horizonalRules/HorizontalRuleElement.js +41 -0
  504. package/dist/production/src/plugins/element/horizonalRules/HorizontalRuleElement.js.map +1 -0
  505. package/dist/production/src/plugins/element/horizonalRules/withHorizontalRules.cjs +75 -0
  506. package/dist/production/src/plugins/element/horizonalRules/withHorizontalRules.cjs.map +1 -0
  507. package/dist/production/src/plugins/element/horizonalRules/withHorizontalRules.js +75 -0
  508. package/dist/production/src/plugins/element/horizonalRules/withHorizontalRules.js.map +1 -0
  509. package/dist/production/src/plugins/element/lists/ListElement.cjs +26 -0
  510. package/dist/production/src/plugins/element/lists/ListElement.cjs.map +1 -0
  511. package/dist/production/src/plugins/element/lists/ListElement.js +26 -0
  512. package/dist/production/src/plugins/element/lists/ListElement.js.map +1 -0
  513. package/dist/production/src/plugins/element/lists/ListHtmlDeserializer.cjs +98 -0
  514. package/dist/production/src/plugins/element/lists/ListHtmlDeserializer.cjs.map +1 -0
  515. package/dist/production/src/plugins/element/lists/ListHtmlDeserializer.js +98 -0
  516. package/dist/production/src/plugins/element/lists/ListHtmlDeserializer.js.map +1 -0
  517. package/dist/production/src/plugins/element/lists/ListItemElement.cjs +53 -0
  518. package/dist/production/src/plugins/element/lists/ListItemElement.cjs.map +1 -0
  519. package/dist/production/src/plugins/element/lists/ListItemElement.js +53 -0
  520. package/dist/production/src/plugins/element/lists/ListItemElement.js.map +1 -0
  521. package/dist/production/src/plugins/element/lists/OrderedListElement.cjs +25 -0
  522. package/dist/production/src/plugins/element/lists/OrderedListElement.cjs.map +1 -0
  523. package/dist/production/src/plugins/element/lists/OrderedListElement.js +25 -0
  524. package/dist/production/src/plugins/element/lists/OrderedListElement.js.map +1 -0
  525. package/dist/production/src/plugins/element/lists/UnorderedListElement.cjs +25 -0
  526. package/dist/production/src/plugins/element/lists/UnorderedListElement.cjs.map +1 -0
  527. package/dist/production/src/plugins/element/lists/UnorderedListElement.js +25 -0
  528. package/dist/production/src/plugins/element/lists/UnorderedListElement.js.map +1 -0
  529. package/dist/production/src/plugins/element/lists/transforms/dedentListItem.cjs +57 -0
  530. package/dist/production/src/plugins/element/lists/transforms/dedentListItem.cjs.map +1 -0
  531. package/dist/production/src/plugins/element/lists/transforms/dedentListItem.js +57 -0
  532. package/dist/production/src/plugins/element/lists/transforms/dedentListItem.js.map +1 -0
  533. package/dist/production/src/plugins/element/lists/transforms/indentListItem.cjs +57 -0
  534. package/dist/production/src/plugins/element/lists/transforms/indentListItem.cjs.map +1 -0
  535. package/dist/production/src/plugins/element/lists/transforms/indentListItem.js +57 -0
  536. package/dist/production/src/plugins/element/lists/transforms/indentListItem.js.map +1 -0
  537. package/dist/production/src/plugins/element/lists/transforms/normalizeListElement.cjs +22 -0
  538. package/dist/production/src/plugins/element/lists/transforms/normalizeListElement.cjs.map +1 -0
  539. package/dist/production/src/plugins/element/lists/transforms/normalizeListElement.js +22 -0
  540. package/dist/production/src/plugins/element/lists/transforms/normalizeListElement.js.map +1 -0
  541. package/dist/production/src/plugins/element/lists/transforms/toggleListElement.cjs +93 -0
  542. package/dist/production/src/plugins/element/lists/transforms/toggleListElement.cjs.map +1 -0
  543. package/dist/production/src/plugins/element/lists/transforms/toggleListElement.js +93 -0
  544. package/dist/production/src/plugins/element/lists/transforms/toggleListElement.js.map +1 -0
  545. package/dist/production/src/plugins/element/lists/withLists.cjs +153 -0
  546. package/dist/production/src/plugins/element/lists/withLists.cjs.map +1 -0
  547. package/dist/production/src/plugins/element/lists/withLists.js +153 -0
  548. package/dist/production/src/plugins/element/lists/withLists.js.map +1 -0
  549. package/dist/production/src/plugins/element/paragraphs/ParagraphElement.cjs +49 -0
  550. package/dist/production/src/plugins/element/paragraphs/ParagraphElement.cjs.map +1 -0
  551. package/dist/production/src/plugins/element/paragraphs/ParagraphElement.js +49 -0
  552. package/dist/production/src/plugins/element/paragraphs/ParagraphElement.js.map +1 -0
  553. package/dist/production/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs +11 -0
  554. package/dist/production/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs.map +1 -0
  555. package/dist/production/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.js +11 -0
  556. package/dist/production/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.js.map +1 -0
  557. package/dist/production/src/plugins/element/paragraphs/withParagraphs.cjs +58 -0
  558. package/dist/production/src/plugins/element/paragraphs/withParagraphs.cjs.map +1 -0
  559. package/dist/production/src/plugins/element/paragraphs/withParagraphs.js +58 -0
  560. package/dist/production/src/plugins/element/paragraphs/withParagraphs.js.map +1 -0
  561. package/dist/production/src/plugins/element/scrollTargets/ScrollTargetElement.cjs +51 -0
  562. package/dist/production/src/plugins/element/scrollTargets/ScrollTargetElement.cjs.map +1 -0
  563. package/dist/production/src/plugins/element/scrollTargets/ScrollTargetElement.js +51 -0
  564. package/dist/production/src/plugins/element/scrollTargets/ScrollTargetElement.js.map +1 -0
  565. package/dist/production/src/plugins/element/scrollTargets/withScrollTargets.cjs +9 -0
  566. package/dist/production/src/plugins/element/scrollTargets/withScrollTargets.cjs.map +1 -0
  567. package/dist/production/src/plugins/element/scrollTargets/withScrollTargets.js +9 -0
  568. package/dist/production/src/plugins/element/scrollTargets/withScrollTargets.js.map +1 -0
  569. package/dist/production/src/plugins/element/tables/TableCellElement.cjs +39 -0
  570. package/dist/production/src/plugins/element/tables/TableCellElement.cjs.map +1 -0
  571. package/dist/production/src/plugins/element/tables/TableCellElement.js +39 -0
  572. package/dist/production/src/plugins/element/tables/TableCellElement.js.map +1 -0
  573. package/dist/production/src/plugins/element/tables/TableElement.cjs +114 -0
  574. package/dist/production/src/plugins/element/tables/TableElement.cjs.map +1 -0
  575. package/dist/production/src/plugins/element/tables/TableElement.js +114 -0
  576. package/dist/production/src/plugins/element/tables/TableElement.js.map +1 -0
  577. package/dist/production/src/plugins/element/tables/TableElementSelection.cjs +20 -0
  578. package/dist/production/src/plugins/element/tables/TableElementSelection.cjs.map +1 -0
  579. package/dist/production/src/plugins/element/tables/TableElementSelection.js +20 -0
  580. package/dist/production/src/plugins/element/tables/TableElementSelection.js.map +1 -0
  581. package/dist/production/src/plugins/element/tables/TableHtmlDeserializer.cjs +36 -0
  582. package/dist/production/src/plugins/element/tables/TableHtmlDeserializer.cjs.map +1 -0
  583. package/dist/production/src/plugins/element/tables/TableHtmlDeserializer.js +36 -0
  584. package/dist/production/src/plugins/element/tables/TableHtmlDeserializer.js.map +1 -0
  585. package/dist/production/src/plugins/element/tables/TableModifications.cjs +134 -0
  586. package/dist/production/src/plugins/element/tables/TableModifications.cjs.map +1 -0
  587. package/dist/production/src/plugins/element/tables/TableModifications.js +134 -0
  588. package/dist/production/src/plugins/element/tables/TableModifications.js.map +1 -0
  589. package/dist/production/src/plugins/element/tables/TableRowElement.cjs +43 -0
  590. package/dist/production/src/plugins/element/tables/TableRowElement.cjs.map +1 -0
  591. package/dist/production/src/plugins/element/tables/TableRowElement.js +43 -0
  592. package/dist/production/src/plugins/element/tables/TableRowElement.js.map +1 -0
  593. package/dist/production/src/plugins/element/tables/gaugeTableColumnCount.cjs +25 -0
  594. package/dist/production/src/plugins/element/tables/gaugeTableColumnCount.cjs.map +1 -0
  595. package/dist/production/src/plugins/element/tables/gaugeTableColumnCount.js +25 -0
  596. package/dist/production/src/plugins/element/tables/gaugeTableColumnCount.js.map +1 -0
  597. package/dist/production/src/plugins/element/tables/withTables.cjs +283 -0
  598. package/dist/production/src/plugins/element/tables/withTables.cjs.map +1 -0
  599. package/dist/production/src/plugins/element/tables/withTables.js +283 -0
  600. package/dist/production/src/plugins/element/tables/withTables.js.map +1 -0
  601. package/dist/production/src/plugins/text/bold/boldMark.cjs +13 -0
  602. package/dist/production/src/plugins/text/bold/boldMark.cjs.map +1 -0
  603. package/dist/production/src/plugins/text/bold/boldMark.js +13 -0
  604. package/dist/production/src/plugins/text/bold/boldMark.js.map +1 -0
  605. package/dist/production/src/plugins/text/bold/withBold.cjs +16 -0
  606. package/dist/production/src/plugins/text/bold/withBold.cjs.map +1 -0
  607. package/dist/production/src/plugins/text/bold/withBold.js +16 -0
  608. package/dist/production/src/plugins/text/bold/withBold.js.map +1 -0
  609. package/dist/production/src/plugins/text/code/codeMark.cjs +13 -0
  610. package/dist/production/src/plugins/text/code/codeMark.cjs.map +1 -0
  611. package/dist/production/src/plugins/text/code/codeMark.js +13 -0
  612. package/dist/production/src/plugins/text/code/codeMark.js.map +1 -0
  613. package/dist/production/src/plugins/text/code/withCode.cjs +9 -0
  614. package/dist/production/src/plugins/text/code/withCode.cjs.map +1 -0
  615. package/dist/production/src/plugins/text/code/withCode.js +9 -0
  616. package/dist/production/src/plugins/text/code/withCode.js.map +1 -0
  617. package/dist/production/src/plugins/text/highlight/highlightMark.cjs +13 -0
  618. package/dist/production/src/plugins/text/highlight/highlightMark.cjs.map +1 -0
  619. package/dist/production/src/plugins/text/highlight/highlightMark.js +13 -0
  620. package/dist/production/src/plugins/text/highlight/highlightMark.js.map +1 -0
  621. package/dist/production/src/plugins/text/highlight/withHighlight.cjs +9 -0
  622. package/dist/production/src/plugins/text/highlight/withHighlight.cjs.map +1 -0
  623. package/dist/production/src/plugins/text/highlight/withHighlight.js +9 -0
  624. package/dist/production/src/plugins/text/highlight/withHighlight.js.map +1 -0
  625. package/dist/production/src/plugins/text/italic/italicMark.cjs +13 -0
  626. package/dist/production/src/plugins/text/italic/italicMark.cjs.map +1 -0
  627. package/dist/production/src/plugins/text/italic/italicMark.js +13 -0
  628. package/dist/production/src/plugins/text/italic/italicMark.js.map +1 -0
  629. package/dist/production/src/plugins/text/italic/withItalic.cjs +16 -0
  630. package/dist/production/src/plugins/text/italic/withItalic.cjs.map +1 -0
  631. package/dist/production/src/plugins/text/italic/withItalic.js +16 -0
  632. package/dist/production/src/plugins/text/italic/withItalic.js.map +1 -0
  633. package/dist/production/src/plugins/text/newline/withNewline.cjs +15 -0
  634. package/dist/production/src/plugins/text/newline/withNewline.cjs.map +1 -0
  635. package/dist/production/src/plugins/text/newline/withNewline.js +15 -0
  636. package/dist/production/src/plugins/text/newline/withNewline.js.map +1 -0
  637. package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.cjs +13 -0
  638. package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.cjs.map +1 -0
  639. package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.js +13 -0
  640. package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.js.map +1 -0
  641. package/dist/production/src/plugins/text/strikeThrough/withStrikeThrough.cjs +17 -0
  642. package/dist/production/src/plugins/text/strikeThrough/withStrikeThrough.cjs.map +1 -0
  643. package/dist/production/src/plugins/text/strikeThrough/withStrikeThrough.js +17 -0
  644. package/dist/production/src/plugins/text/strikeThrough/withStrikeThrough.js.map +1 -0
  645. package/dist/production/src/plugins/text/underline/underlineMark.cjs +13 -0
  646. package/dist/production/src/plugins/text/underline/underlineMark.cjs.map +1 -0
  647. package/dist/production/src/plugins/text/underline/underlineMark.js +13 -0
  648. package/dist/production/src/plugins/text/underline/underlineMark.js.map +1 -0
  649. package/dist/production/src/plugins/text/underline/withUnderline.cjs +17 -0
  650. package/dist/production/src/plugins/text/underline/withUnderline.cjs.map +1 -0
  651. package/dist/production/src/plugins/text/underline/withUnderline.js +17 -0
  652. package/dist/production/src/plugins/text/underline/withUnderline.js.map +1 -0
  653. package/dist/production/src/slate-reexport.cjs +10 -0
  654. package/dist/production/src/slate-reexport.cjs.map +1 -0
  655. package/dist/production/src/slate-reexport.js +8 -0
  656. package/dist/production/src/slate-reexport.js.map +1 -0
  657. package/dist/types/components/RichTextEditor.d.ts +13 -0
  658. package/dist/types/components/RichTextEditor.d.ts.map +1 -0
  659. package/dist/types/components/index.d.ts +3 -0
  660. package/dist/types/components/index.d.ts.map +1 -0
  661. package/dist/types/components/triggers/EditorElementTrigger.d.ts +8 -0
  662. package/dist/types/components/triggers/EditorElementTrigger.d.ts.map +1 -0
  663. package/dist/types/components/triggers/EditorGenericTrigger.d.ts +16 -0
  664. package/dist/types/components/triggers/EditorGenericTrigger.d.ts.map +1 -0
  665. package/dist/types/components/triggers/EditorMarkTrigger.d.ts +7 -0
  666. package/dist/types/components/triggers/EditorMarkTrigger.d.ts.map +1 -0
  667. package/dist/types/components/triggers/EditorWrapNodeTrigger.d.ts +11 -0
  668. package/dist/types/components/triggers/EditorWrapNodeTrigger.d.ts.map +1 -0
  669. package/dist/types/components/triggers/index.d.ts +5 -0
  670. package/dist/types/components/triggers/index.d.ts.map +1 -0
  671. package/dist/types/editor/createEditor.d.ts +24 -0
  672. package/dist/types/editor/createEditor.d.ts.map +1 -0
  673. package/dist/types/editor/createEditorWithEssentials.d.ts +5 -0
  674. package/dist/types/editor/createEditorWithEssentials.d.ts.map +1 -0
  675. package/dist/types/editor/index.d.ts +35 -0
  676. package/dist/types/editor/index.d.ts.map +1 -0
  677. package/dist/types/editor/methods/addMarks.d.ts +4 -0
  678. package/dist/types/editor/methods/addMarks.d.ts.map +1 -0
  679. package/dist/types/editor/methods/canToggleMark.d.ts +3 -0
  680. package/dist/types/editor/methods/canToggleMark.d.ts.map +1 -0
  681. package/dist/types/editor/methods/closest.d.ts +6 -0
  682. package/dist/types/editor/methods/closest.d.ts.map +1 -0
  683. package/dist/types/editor/methods/closestBlockEntry.d.ts +6 -0
  684. package/dist/types/editor/methods/closestBlockEntry.d.ts.map +1 -0
  685. package/dist/types/editor/methods/closestViableBlockContainerEntry.d.ts +6 -0
  686. package/dist/types/editor/methods/closestViableBlockContainerEntry.d.ts.map +1 -0
  687. package/dist/types/editor/methods/ejectElement.d.ts +3 -0
  688. package/dist/types/editor/methods/ejectElement.d.ts.map +1 -0
  689. package/dist/types/editor/methods/elementToSpecifics.d.ts +3 -0
  690. package/dist/types/editor/methods/elementToSpecifics.d.ts.map +1 -0
  691. package/dist/types/editor/methods/getElementDataAttributes.d.ts +7 -0
  692. package/dist/types/editor/methods/getElementDataAttributes.d.ts.map +1 -0
  693. package/dist/types/editor/methods/getPreviousSibling.d.ts +3 -0
  694. package/dist/types/editor/methods/getPreviousSibling.d.ts.map +1 -0
  695. package/dist/types/editor/methods/hasMarks.d.ts +7 -0
  696. package/dist/types/editor/methods/hasMarks.d.ts.map +1 -0
  697. package/dist/types/editor/methods/hasParentOfType.d.ts +3 -0
  698. package/dist/types/editor/methods/hasParentOfType.d.ts.map +1 -0
  699. package/dist/types/editor/methods/index.d.ts +20 -0
  700. package/dist/types/editor/methods/index.d.ts.map +1 -0
  701. package/dist/types/editor/methods/isElementType.d.ts +3 -0
  702. package/dist/types/editor/methods/isElementType.d.ts.map +1 -0
  703. package/dist/types/editor/methods/permissivelyDeserializeNodes.d.ts +3 -0
  704. package/dist/types/editor/methods/permissivelyDeserializeNodes.d.ts.map +1 -0
  705. package/dist/types/editor/methods/removeMarks.d.ts +4 -0
  706. package/dist/types/editor/methods/removeMarks.d.ts.map +1 -0
  707. package/dist/types/editor/methods/serializeNodes.d.ts +3 -0
  708. package/dist/types/editor/methods/serializeNodes.d.ts.map +1 -0
  709. package/dist/types/editor/methods/strictlyDeserializeNodes.d.ts +3 -0
  710. package/dist/types/editor/methods/strictlyDeserializeNodes.d.ts.map +1 -0
  711. package/dist/types/editor/methods/textToSpecifics.d.ts +4 -0
  712. package/dist/types/editor/methods/textToSpecifics.d.ts.map +1 -0
  713. package/dist/types/editor/methods/toLatestFormat.d.ts +4 -0
  714. package/dist/types/editor/methods/toLatestFormat.d.ts.map +1 -0
  715. package/dist/types/editor/methods/topLevelNodes.d.ts +3 -0
  716. package/dist/types/editor/methods/topLevelNodes.d.ts.map +1 -0
  717. package/dist/types/index.d.ts +7 -0
  718. package/dist/types/index.d.ts.map +1 -0
  719. package/dist/types/internal/components/DefaultElement.d.ts +6 -0
  720. package/dist/types/internal/components/DefaultElement.d.ts.map +1 -0
  721. package/dist/types/internal/hooks/useRichTextFieldNodes.d.ts +9 -0
  722. package/dist/types/internal/hooks/useRichTextFieldNodes.d.ts.map +1 -0
  723. package/dist/types/internal/utils/EditorPasteUtils.d.ts +7 -0
  724. package/dist/types/internal/utils/EditorPasteUtils.d.ts.map +1 -0
  725. package/dist/types/internal/utils/index.d.ts +3 -0
  726. package/dist/types/internal/utils/index.d.ts.map +1 -0
  727. package/dist/types/internal/utils/parseIframeSrc.d.ts +2 -0
  728. package/dist/types/internal/utils/parseIframeSrc.d.ts.map +1 -0
  729. package/dist/types/internal/utils/parseUrl.d.ts +2 -0
  730. package/dist/types/internal/utils/parseUrl.d.ts.map +1 -0
  731. package/dist/types/plugins/attributes/alignment/alignButton.d.ts +14 -0
  732. package/dist/types/plugins/attributes/alignment/alignButton.d.ts.map +1 -0
  733. package/dist/types/plugins/attributes/alignment/index.d.ts +2 -0
  734. package/dist/types/plugins/attributes/alignment/index.d.ts.map +1 -0
  735. package/dist/types/plugins/attributes/index.d.ts +2 -0
  736. package/dist/types/plugins/attributes/index.d.ts.map +1 -0
  737. package/dist/types/plugins/behaviour/index.d.ts +2 -0
  738. package/dist/types/plugins/behaviour/index.d.ts.map +1 -0
  739. package/dist/types/plugins/behaviour/paste/HtmlDeserializer.d.ts +34 -0
  740. package/dist/types/plugins/behaviour/paste/HtmlDeserializer.d.ts.map +1 -0
  741. package/dist/types/plugins/behaviour/paste/createMarkHtmlDeserializer.d.ts +3 -0
  742. package/dist/types/plugins/behaviour/paste/createMarkHtmlDeserializer.d.ts.map +1 -0
  743. package/dist/types/plugins/behaviour/paste/index.d.ts +3 -0
  744. package/dist/types/plugins/behaviour/paste/index.d.ts.map +1 -0
  745. package/dist/types/plugins/behaviour/paste/withPaste.d.ts +3 -0
  746. package/dist/types/plugins/behaviour/paste/withPaste.d.ts.map +1 -0
  747. package/dist/types/plugins/element/anchors/AnchorElement.d.ts +14 -0
  748. package/dist/types/plugins/element/anchors/AnchorElement.d.ts.map +1 -0
  749. package/dist/types/plugins/element/anchors/AnchorHtmlDeserializer.d.ts +3 -0
  750. package/dist/types/plugins/element/anchors/AnchorHtmlDeserializer.d.ts.map +1 -0
  751. package/dist/types/plugins/element/anchors/AnchorModifications.d.ts +6 -0
  752. package/dist/types/plugins/element/anchors/AnchorModifications.d.ts.map +1 -0
  753. package/dist/types/plugins/element/anchors/index.d.ts +4 -0
  754. package/dist/types/plugins/element/anchors/index.d.ts.map +1 -0
  755. package/dist/types/plugins/element/anchors/withAnchors.d.ts +7 -0
  756. package/dist/types/plugins/element/anchors/withAnchors.d.ts.map +1 -0
  757. package/dist/types/plugins/element/headings/HeadingElement.d.ts +17 -0
  758. package/dist/types/plugins/element/headings/HeadingElement.d.ts.map +1 -0
  759. package/dist/types/plugins/element/headings/HeadingHtmlDeserializer.d.ts +3 -0
  760. package/dist/types/plugins/element/headings/HeadingHtmlDeserializer.d.ts.map +1 -0
  761. package/dist/types/plugins/element/headings/index.d.ts +4 -0
  762. package/dist/types/plugins/element/headings/index.d.ts.map +1 -0
  763. package/dist/types/plugins/element/headings/withHeadings.d.ts +7 -0
  764. package/dist/types/plugins/element/headings/withHeadings.d.ts.map +1 -0
  765. package/dist/types/plugins/element/horizonalRules/HorizontalRuleElement.d.ts +13 -0
  766. package/dist/types/plugins/element/horizonalRules/HorizontalRuleElement.d.ts.map +1 -0
  767. package/dist/types/plugins/element/horizonalRules/index.d.ts +3 -0
  768. package/dist/types/plugins/element/horizonalRules/index.d.ts.map +1 -0
  769. package/dist/types/plugins/element/horizonalRules/withHorizontalRules.d.ts +7 -0
  770. package/dist/types/plugins/element/horizonalRules/withHorizontalRules.d.ts.map +1 -0
  771. package/dist/types/plugins/element/index.d.ts +8 -0
  772. package/dist/types/plugins/element/index.d.ts.map +1 -0
  773. package/dist/types/plugins/element/lists/ListElement.d.ts +6 -0
  774. package/dist/types/plugins/element/lists/ListElement.d.ts.map +1 -0
  775. package/dist/types/plugins/element/lists/ListHtmlDeserializer.d.ts +10 -0
  776. package/dist/types/plugins/element/lists/ListHtmlDeserializer.d.ts.map +1 -0
  777. package/dist/types/plugins/element/lists/ListItemElement.d.ts +12 -0
  778. package/dist/types/plugins/element/lists/ListItemElement.d.ts.map +1 -0
  779. package/dist/types/plugins/element/lists/OrderedListElement.d.ts +12 -0
  780. package/dist/types/plugins/element/lists/OrderedListElement.d.ts.map +1 -0
  781. package/dist/types/plugins/element/lists/UnorderedListElement.d.ts +12 -0
  782. package/dist/types/plugins/element/lists/UnorderedListElement.d.ts.map +1 -0
  783. package/dist/types/plugins/element/lists/index.d.ts +6 -0
  784. package/dist/types/plugins/element/lists/index.d.ts.map +1 -0
  785. package/dist/types/plugins/element/lists/transforms/dedentListItem.d.ts +4 -0
  786. package/dist/types/plugins/element/lists/transforms/dedentListItem.d.ts.map +1 -0
  787. package/dist/types/plugins/element/lists/transforms/indentListItem.d.ts +4 -0
  788. package/dist/types/plugins/element/lists/transforms/indentListItem.d.ts.map +1 -0
  789. package/dist/types/plugins/element/lists/transforms/index.d.ts +5 -0
  790. package/dist/types/plugins/element/lists/transforms/index.d.ts.map +1 -0
  791. package/dist/types/plugins/element/lists/transforms/normalizeListElement.d.ts +7 -0
  792. package/dist/types/plugins/element/lists/transforms/normalizeListElement.d.ts.map +1 -0
  793. package/dist/types/plugins/element/lists/transforms/toggleListElement.d.ts +5 -0
  794. package/dist/types/plugins/element/lists/transforms/toggleListElement.d.ts.map +1 -0
  795. package/dist/types/plugins/element/lists/withLists.d.ts +11 -0
  796. package/dist/types/plugins/element/lists/withLists.d.ts.map +1 -0
  797. package/dist/types/plugins/element/paragraphs/ParagraphElement.d.ts +15 -0
  798. package/dist/types/plugins/element/paragraphs/ParagraphElement.d.ts.map +1 -0
  799. package/dist/types/plugins/element/paragraphs/ParagraphHtmlDeserializer.d.ts +3 -0
  800. package/dist/types/plugins/element/paragraphs/ParagraphHtmlDeserializer.d.ts.map +1 -0
  801. package/dist/types/plugins/element/paragraphs/index.d.ts +4 -0
  802. package/dist/types/plugins/element/paragraphs/index.d.ts.map +1 -0
  803. package/dist/types/plugins/element/paragraphs/withParagraphs.d.ts +7 -0
  804. package/dist/types/plugins/element/paragraphs/withParagraphs.d.ts.map +1 -0
  805. package/dist/types/plugins/element/scrollTargets/ScrollTargetElement.d.ts +14 -0
  806. package/dist/types/plugins/element/scrollTargets/ScrollTargetElement.d.ts.map +1 -0
  807. package/dist/types/plugins/element/scrollTargets/index.d.ts +3 -0
  808. package/dist/types/plugins/element/scrollTargets/index.d.ts.map +1 -0
  809. package/dist/types/plugins/element/scrollTargets/withScrollTargets.d.ts +7 -0
  810. package/dist/types/plugins/element/scrollTargets/withScrollTargets.d.ts.map +1 -0
  811. package/dist/types/plugins/element/tables/TableCellElement.d.ts +20 -0
  812. package/dist/types/plugins/element/tables/TableCellElement.d.ts.map +1 -0
  813. package/dist/types/plugins/element/tables/TableElement.d.ts +26 -0
  814. package/dist/types/plugins/element/tables/TableElement.d.ts.map +1 -0
  815. package/dist/types/plugins/element/tables/TableElementSelection.d.ts +6 -0
  816. package/dist/types/plugins/element/tables/TableElementSelection.d.ts.map +1 -0
  817. package/dist/types/plugins/element/tables/TableHtmlDeserializer.d.ts +3 -0
  818. package/dist/types/plugins/element/tables/TableHtmlDeserializer.d.ts.map +1 -0
  819. package/dist/types/plugins/element/tables/TableModifications.d.ts +14 -0
  820. package/dist/types/plugins/element/tables/TableModifications.d.ts.map +1 -0
  821. package/dist/types/plugins/element/tables/TableRowElement.d.ts +22 -0
  822. package/dist/types/plugins/element/tables/TableRowElement.d.ts.map +1 -0
  823. package/dist/types/plugins/element/tables/gaugeTableColumnCount.d.ts +3 -0
  824. package/dist/types/plugins/element/tables/gaugeTableColumnCount.d.ts.map +1 -0
  825. package/dist/types/plugins/element/tables/index.d.ts +6 -0
  826. package/dist/types/plugins/element/tables/index.d.ts.map +1 -0
  827. package/dist/types/plugins/element/tables/withTables.d.ts +11 -0
  828. package/dist/types/plugins/element/tables/withTables.d.ts.map +1 -0
  829. package/dist/types/plugins/index.d.ts +5 -0
  830. package/dist/types/plugins/index.d.ts.map +1 -0
  831. package/dist/types/plugins/text/bold/boldMark.d.ts +4 -0
  832. package/dist/types/plugins/text/bold/boldMark.d.ts.map +1 -0
  833. package/dist/types/plugins/text/bold/index.d.ts +3 -0
  834. package/dist/types/plugins/text/bold/index.d.ts.map +1 -0
  835. package/dist/types/plugins/text/bold/withBold.d.ts +3 -0
  836. package/dist/types/plugins/text/bold/withBold.d.ts.map +1 -0
  837. package/dist/types/plugins/text/code/codeMark.d.ts +4 -0
  838. package/dist/types/plugins/text/code/codeMark.d.ts.map +1 -0
  839. package/dist/types/plugins/text/code/index.d.ts +3 -0
  840. package/dist/types/plugins/text/code/index.d.ts.map +1 -0
  841. package/dist/types/plugins/text/code/withCode.d.ts +3 -0
  842. package/dist/types/plugins/text/code/withCode.d.ts.map +1 -0
  843. package/dist/types/plugins/text/highlight/highlightMark.d.ts +4 -0
  844. package/dist/types/plugins/text/highlight/highlightMark.d.ts.map +1 -0
  845. package/dist/types/plugins/text/highlight/index.d.ts +3 -0
  846. package/dist/types/plugins/text/highlight/index.d.ts.map +1 -0
  847. package/dist/types/plugins/text/highlight/withHighlight.d.ts +3 -0
  848. package/dist/types/plugins/text/highlight/withHighlight.d.ts.map +1 -0
  849. package/dist/types/plugins/text/index.d.ts +8 -0
  850. package/dist/types/plugins/text/index.d.ts.map +1 -0
  851. package/dist/types/plugins/text/italic/index.d.ts +3 -0
  852. package/dist/types/plugins/text/italic/index.d.ts.map +1 -0
  853. package/dist/types/plugins/text/italic/italicMark.d.ts +4 -0
  854. package/dist/types/plugins/text/italic/italicMark.d.ts.map +1 -0
  855. package/dist/types/plugins/text/italic/withItalic.d.ts +3 -0
  856. package/dist/types/plugins/text/italic/withItalic.d.ts.map +1 -0
  857. package/dist/types/plugins/text/newline/index.d.ts +2 -0
  858. package/dist/types/plugins/text/newline/index.d.ts.map +1 -0
  859. package/dist/types/plugins/text/newline/withNewline.d.ts +3 -0
  860. package/dist/types/plugins/text/newline/withNewline.d.ts.map +1 -0
  861. package/dist/types/plugins/text/strikeThrough/index.d.ts +3 -0
  862. package/dist/types/plugins/text/strikeThrough/index.d.ts.map +1 -0
  863. package/dist/types/plugins/text/strikeThrough/strikeThroughMark.d.ts +4 -0
  864. package/dist/types/plugins/text/strikeThrough/strikeThroughMark.d.ts.map +1 -0
  865. package/dist/types/plugins/text/strikeThrough/withStrikeThrough.d.ts +3 -0
  866. package/dist/types/plugins/text/strikeThrough/withStrikeThrough.d.ts.map +1 -0
  867. package/dist/types/plugins/text/underline/index.d.ts +3 -0
  868. package/dist/types/plugins/text/underline/index.d.ts.map +1 -0
  869. package/dist/types/plugins/text/underline/underlineMark.d.ts +4 -0
  870. package/dist/types/plugins/text/underline/underlineMark.d.ts.map +1 -0
  871. package/dist/types/plugins/text/underline/withUnderline.d.ts +3 -0
  872. package/dist/types/plugins/text/underline/withUnderline.d.ts.map +1 -0
  873. package/dist/types/slate-reexport.d.ts +3 -0
  874. package/dist/types/slate-reexport.d.ts.map +1 -0
  875. package/dist/types/slate-types.d.ts +31 -0
  876. package/dist/types/slate-types.d.ts.map +1 -0
  877. package/dist/types/tsconfig.tsbuildinfo +1 -0
  878. package/dist/types/types/editor.d.ts +43 -0
  879. package/dist/types/types/editor.d.ts.map +1 -0
  880. package/dist/types/types/htmlDeserializer.d.ts +38 -0
  881. package/dist/types/types/htmlDeserializer.d.ts.map +1 -0
  882. package/dist/types/types/index.d.ts +4 -0
  883. package/dist/types/types/index.d.ts.map +1 -0
  884. package/dist/types/types/plugins.d.ts +58 -0
  885. package/dist/types/types/plugins.d.ts.map +1 -0
  886. package/package.json +14 -14
@@ -0,0 +1,13 @@
1
+ import { isHotkey } from "is-hotkey";
2
+ import { createElement } from "react";
3
+ const italicMark = "isItalic";
4
+ const italicMarkPlugin = {
5
+ type: italicMark,
6
+ isHotKey: isHotkey("mod+i"),
7
+ render: ({ children }) => createElement("i", void 0, children)
8
+ };
9
+ export {
10
+ italicMark,
11
+ italicMarkPlugin
12
+ };
13
+ //# sourceMappingURL=italicMark.js.map
@@ -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,SAAA,MAAe,cAAc,KAAK,QAAW,QAAQ;AACjE;"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const italicMark = require("./italicMark.cjs");
4
+ const createMarkHtmlDeserializer = require("../../behaviour/paste/createMarkHtmlDeserializer.cjs");
5
+ const withItalic = () => (editor) => {
6
+ editor.registerMark(italicMark.italicMarkPlugin);
7
+ editor.htmlDeserializer.registerPlugin(
8
+ createMarkHtmlDeserializer.createMarkHtmlDeserializer(
9
+ italicMark.italicMark,
10
+ (el) => ["I", "EM"].includes(el.nodeName),
11
+ (el) => ["italic", "oblique"].includes(el.style.fontWeight)
12
+ )
13
+ );
14
+ };
15
+ exports.withItalic = withItalic;
16
+ //# sourceMappingURL=withItalic.cjs.map
@@ -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\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":";;;;AAIO,MAAM,aAAa,MAAoB,CAAA,WAAU;AACvD,SAAO,aAAaA,2BAAgB;AACpC,SAAO,iBAAiB;AAAA,IACvBC,2BAAAA;AAAAA,MACCC,WAAAA;AAAAA,MACA,QAAM,CAAC,KAAK,IAAI,EAAE,SAAS,GAAG,QAAQ;AAAA,MACtC,CAAA,OAAM,CAAC,UAAU,SAAS,EAAE,SAAS,GAAG,MAAM,UAAU;AAAA,IAAA;AAAA,EACzD;AAEF;;"}
@@ -0,0 +1,16 @@
1
+ import { italicMarkPlugin, italicMark } from "./italicMark.js";
2
+ import { createMarkHtmlDeserializer } from "../../behaviour/paste/createMarkHtmlDeserializer.js";
3
+ const withItalic = () => (editor) => {
4
+ editor.registerMark(italicMarkPlugin);
5
+ editor.htmlDeserializer.registerPlugin(
6
+ createMarkHtmlDeserializer(
7
+ italicMark,
8
+ (el) => ["I", "EM"].includes(el.nodeName),
9
+ (el) => ["italic", "oblique"].includes(el.style.fontWeight)
10
+ )
11
+ );
12
+ };
13
+ export {
14
+ withItalic
15
+ };
16
+ //# sourceMappingURL=withItalic.js.map
@@ -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\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":";;AAIO,MAAM,aAAa,MAAoB,CAAA,WAAU;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,IAAA;AAAA,EACzD;AAEF;"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const Slate = require("slate");
4
+ const withNewline = () => (editor) => {
5
+ const { onKeyDown } = editor;
6
+ editor.onKeyDown = (e) => {
7
+ if (e.key !== "Enter" || !e.shiftKey) {
8
+ return onKeyDown(e);
9
+ }
10
+ e.preventDefault();
11
+ Slate.Transforms.insertText(editor, "\n");
12
+ };
13
+ };
14
+ exports.withNewline = withNewline;
15
+ //# sourceMappingURL=withNewline.cjs.map
@@ -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":";;;AAGO,MAAM,cAAc,MAAoB,CAAA,WAAU;AACxD,QAAM,EAAE,cAAc;AACtB,SAAO,YAAY,CAAA,MAAK;AACvB,QAAI,EAAE,QAAQ,WAAW,CAAC,EAAE,UAAU;AACrC,aAAO,UAAU,CAAC;AAAA,IACnB;AACA,MAAE,eAAA;AACFA,qBAAW,WAAW,QAAQ,IAAI;AAAA,EACnC;AACD;;"}
@@ -0,0 +1,15 @@
1
+ import { Transforms } from "slate";
2
+ const withNewline = () => (editor) => {
3
+ const { onKeyDown } = editor;
4
+ editor.onKeyDown = (e) => {
5
+ if (e.key !== "Enter" || !e.shiftKey) {
6
+ return onKeyDown(e);
7
+ }
8
+ e.preventDefault();
9
+ Transforms.insertText(editor, "\n");
10
+ };
11
+ };
12
+ export {
13
+ withNewline
14
+ };
15
+ //# sourceMappingURL=withNewline.js.map
@@ -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":";AAGO,MAAM,cAAc,MAAoB,CAAA,WAAU;AACxD,QAAM,EAAE,cAAc;AACtB,SAAO,YAAY,CAAA,MAAK;AACvB,QAAI,EAAE,QAAQ,WAAW,CAAC,EAAE,UAAU;AACrC,aAAO,UAAU,CAAC;AAAA,IACnB;AACA,MAAE,eAAA;AACF,eAAW,WAAW,QAAQ,IAAI;AAAA,EACnC;AACD;"}
@@ -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,SAAA,MAAeA,MAAAA,cAAc,KAAK,QAAW,QAAQ;AAAA,EAChE,UAAUC,SAAAA,SAAS,WAAW;AAC/B;;;"}
@@ -0,0 +1,13 @@
1
+ import { createElement } from "react";
2
+ import { isHotkey } from "is-hotkey";
3
+ const strikeThroughMark = "isStruckThrough";
4
+ const strikeThroughPlugin = {
5
+ type: strikeThroughMark,
6
+ render: ({ children }) => createElement("s", void 0, children),
7
+ isHotKey: isHotkey("mod+opt+s")
8
+ };
9
+ export {
10
+ strikeThroughMark,
11
+ strikeThroughPlugin
12
+ };
13
+ //# sourceMappingURL=strikeThroughMark.js.map
@@ -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,SAAA,MAAe,cAAc,KAAK,QAAW,QAAQ;AAAA,EAChE,UAAU,SAAS,WAAW;AAC/B;"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const strikeThroughMark = require("./strikeThroughMark.cjs");
4
+ const createMarkHtmlDeserializer = require("../../behaviour/paste/createMarkHtmlDeserializer.cjs");
5
+ const withStrikeThrough = () => (editor) => {
6
+ editor.registerMark(strikeThroughMark.strikeThroughPlugin);
7
+ editor.htmlDeserializer.registerPlugin(
8
+ createMarkHtmlDeserializer.createMarkHtmlDeserializer(
9
+ strikeThroughMark.strikeThroughMark,
10
+ (el) => el.nodeName === "S",
11
+ (el) => el.style.textDecoration === "line-through"
12
+ )
13
+ );
14
+ return editor;
15
+ };
16
+ exports.withStrikeThrough = withStrikeThrough;
17
+ //# sourceMappingURL=withStrikeThrough.cjs.map
@@ -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\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":";;;;AAKO,MAAM,oBAAoB,MAAoB,CAAA,WAAU;AAC9D,SAAO,aAAaA,qCAAmB;AACvC,SAAO,iBAAiB;AAAA,IACvBC,2BAAAA;AAAAA,MACCC,kBAAAA;AAAAA,MACA,CAAA,OAAM,GAAG,aAAa;AAAA,MACtB,CAAA,OAAM,GAAG,MAAM,mBAAmB;AAAA,IAAA;AAAA,EACnC;AAGD,SAAO;AACR;;"}
@@ -0,0 +1,17 @@
1
+ import { strikeThroughPlugin, strikeThroughMark } from "./strikeThroughMark.js";
2
+ import { createMarkHtmlDeserializer } from "../../behaviour/paste/createMarkHtmlDeserializer.js";
3
+ const withStrikeThrough = () => (editor) => {
4
+ editor.registerMark(strikeThroughPlugin);
5
+ editor.htmlDeserializer.registerPlugin(
6
+ createMarkHtmlDeserializer(
7
+ strikeThroughMark,
8
+ (el) => el.nodeName === "S",
9
+ (el) => el.style.textDecoration === "line-through"
10
+ )
11
+ );
12
+ return editor;
13
+ };
14
+ export {
15
+ withStrikeThrough
16
+ };
17
+ //# sourceMappingURL=withStrikeThrough.js.map
@@ -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\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":";;AAKO,MAAM,oBAAoB,MAAoB,CAAA,WAAU;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,IAAA;AAAA,EACnC;AAGD,SAAO;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,SAAAA,SAAS,OAAO;AAAA,EAC1B,QAAQ,CAAC,EAAE,SAAA,MAAeC,MAAAA,cAAc,KAAK,QAAW,QAAQ;AACjE;;;"}
@@ -0,0 +1,13 @@
1
+ import { isHotkey } from "is-hotkey";
2
+ import { createElement } from "react";
3
+ const underlineMark = "isUnderlined";
4
+ const underlineMarkPlugin = {
5
+ type: underlineMark,
6
+ isHotKey: isHotkey("mod+u"),
7
+ render: ({ children }) => createElement("u", void 0, children)
8
+ };
9
+ export {
10
+ underlineMark,
11
+ underlineMarkPlugin
12
+ };
13
+ //# sourceMappingURL=underlineMark.js.map
@@ -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,SAAA,MAAe,cAAc,KAAK,QAAW,QAAQ;AACjE;"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const underlineMark = require("./underlineMark.cjs");
4
+ const createMarkHtmlDeserializer = require("../../behaviour/paste/createMarkHtmlDeserializer.cjs");
5
+ const withUnderline = () => (editor) => {
6
+ editor.registerMark(underlineMark.underlineMarkPlugin);
7
+ editor.htmlDeserializer.registerPlugin(
8
+ createMarkHtmlDeserializer.createMarkHtmlDeserializer(
9
+ underlineMark.underlineMark,
10
+ (el) => el.nodeName === "U",
11
+ (el) => el.style.textDecoration === "underline"
12
+ )
13
+ );
14
+ return editor;
15
+ };
16
+ exports.withUnderline = withUnderline;
17
+ //# sourceMappingURL=withUnderline.cjs.map
@@ -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\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":";;;;AAIO,MAAM,gBAAgB,MAAoB,CAAA,WAAU;AAC1D,SAAO,aAAaA,iCAAmB;AACvC,SAAO,iBAAiB;AAAA,IACvBC,2BAAAA;AAAAA,MACCC,cAAAA;AAAAA,MACA,CAAA,OAAM,GAAG,aAAa;AAAA,MACtB,CAAA,OAAM,GAAG,MAAM,mBAAmB;AAAA,IAAA;AAAA,EACnC;AAGD,SAAO;AACR;;"}
@@ -0,0 +1,17 @@
1
+ import { underlineMarkPlugin, underlineMark } from "./underlineMark.js";
2
+ import { createMarkHtmlDeserializer } from "../../behaviour/paste/createMarkHtmlDeserializer.js";
3
+ const withUnderline = () => (editor) => {
4
+ editor.registerMark(underlineMarkPlugin);
5
+ editor.htmlDeserializer.registerPlugin(
6
+ createMarkHtmlDeserializer(
7
+ underlineMark,
8
+ (el) => el.nodeName === "U",
9
+ (el) => el.style.textDecoration === "underline"
10
+ )
11
+ );
12
+ return editor;
13
+ };
14
+ export {
15
+ withUnderline
16
+ };
17
+ //# sourceMappingURL=withUnderline.js.map
@@ -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\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":";;AAIO,MAAM,gBAAgB,MAAoB,CAAA,WAAU;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,IAAA;AAAA,EACnC;AAGD,SAAO;AACR;"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const Slate = require("slate");
4
+ const EditorUtils = Slate.Editor;
5
+ Object.defineProperty(exports, "EditorTransforms", {
6
+ enumerable: true,
7
+ get: () => Slate.Transforms
8
+ });
9
+ exports.EditorUtils = EditorUtils;
10
+ //# sourceMappingURL=slate-reexport.cjs.map
@@ -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,8 @@
1
+ import { Editor } from "slate";
2
+ import { Transforms } from "slate";
3
+ const EditorUtils = Editor;
4
+ export {
5
+ Transforms as EditorTransforms,
6
+ EditorUtils
7
+ };
8
+ //# sourceMappingURL=slate-reexport.js.map
@@ -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;"}
@@ -0,0 +1,13 @@
1
+ import { FieldBasicProps } from '@contember/react-binding';
2
+ import { FunctionComponent } from 'react';
3
+ import { CreateEditorPublicOptions } from '../editor';
4
+ export type RichTextEditorProps = FieldBasicProps & CreateEditorPublicOptions & {
5
+ children: React.ReactNode;
6
+ };
7
+ /**
8
+ * Rich text field supports more advanced formatting capabilities. Output of this field is a JSON.
9
+ *
10
+ * @group Form Fields
11
+ */
12
+ export declare const RichTextEditor: FunctionComponent<RichTextEditorProps>;
13
+ //# sourceMappingURL=RichTextEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["../../../src/components/RichTextEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmC,eAAe,EAA4B,MAAM,0BAA0B,CAAA;AACrH,OAAO,EAAE,iBAAiB,EAAkC,MAAM,OAAO,CAAA;AAGzE,OAAO,EAAgB,yBAAyB,EAAE,MAAM,WAAW,CAAA;AAInE,MAAM,MAAM,mBAAmB,GAC5B,eAAe,GACf,yBAAyB,GACzB;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CACzB,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,mBAAmB,CAqGjE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './triggers';
2
+ export * from './RichTextEditor';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAE1B,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { ReactElement } from 'react';
2
+ export interface EditorElementTriggerProps {
3
+ elementType: string;
4
+ suchThat?: Record<string, unknown>;
5
+ children: ReactElement;
6
+ }
7
+ export declare const EditorElementTrigger: ({ elementType, suchThat, ...props }: EditorElementTriggerProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=EditorElementTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorElementTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/EditorElementTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKpC,MAAM,WAAW,yBAAyB;IACzC,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,QAAQ,EAAE,YAAY,CAAA;CACtB;AAED,eAAO,MAAM,oBAAoB,GAAI,qCAAqC,yBAAyB,4CASlG,CAAA"}
@@ -0,0 +1,16 @@
1
+ import { ReactElement } from 'react';
2
+ import { Editor } from 'slate';
3
+ export interface EditorGenericTriggerProps {
4
+ isActive?: (args: {
5
+ editor: Editor;
6
+ }) => boolean;
7
+ shouldDisplay?: (args: {
8
+ editor: Editor;
9
+ }) => boolean;
10
+ toggle: (args: {
11
+ editor: Editor;
12
+ }) => void;
13
+ children: ReactElement;
14
+ }
15
+ export declare const EditorGenericTrigger: ({ toggle, isActive, shouldDisplay, ...props }: EditorGenericTriggerProps) => import("react/jsx-runtime").JSX.Element | null;
16
+ //# sourceMappingURL=EditorGenericTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorGenericTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/EditorGenericTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAI9B,MAAM,WAAW,yBAAyB;IACzC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAA;IAChD,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,OAAO,CAAA;IACrD,MAAM,EAAE,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1C,QAAQ,EAAE,YAAY,CAAA;CACtB;AAED,eAAO,MAAM,oBAAoB,GAAI,+CAA+C,yBAAyB,mDAW5G,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { ReactElement } from 'react';
2
+ export interface EditorMarkTriggerProps {
3
+ mark: string;
4
+ children: ReactElement;
5
+ }
6
+ export declare const EditorMarkTrigger: ({ mark, ...props }: EditorMarkTriggerProps) => import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=EditorMarkTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorMarkTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/EditorMarkTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAKpC,MAAM,WAAW,sBAAsB;IACtC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,YAAY,CAAA;CACtB;AAED,eAAO,MAAM,iBAAiB,GAAI,oBAAoB,sBAAsB,4CAS3E,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Selection } from 'slate';
2
+ import { MouseEventHandler, ReactElement } from 'react';
3
+ export interface EditorWrapNodeTriggerProps {
4
+ elementType: string;
5
+ selection?: Selection;
6
+ suchThat?: Record<string, unknown>;
7
+ children: ReactElement;
8
+ onClick?: MouseEventHandler<HTMLElement>;
9
+ }
10
+ export declare const EditorWrapNodeTrigger: ({ elementType, suchThat, selection, ...props }: EditorWrapNodeTriggerProps) => import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=EditorWrapNodeTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorWrapNodeTrigger.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/EditorWrapNodeTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAOvD,MAAM,WAAW,0BAA0B;IAC1C,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,QAAQ,EAAE,YAAY,CAAA;IACtB,OAAO,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAA;CACxC;AAED,eAAO,MAAM,qBAAqB,GAAI,gDAAgD,0BAA0B,4CAmB/G,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * from './EditorElementTrigger';
2
+ export * from './EditorGenericTrigger';
3
+ export * from './EditorMarkTrigger';
4
+ export * from './EditorWrapNodeTrigger';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { Editor } from 'slate';
2
+ import { EditorPlugin } from '../types';
3
+ import { FunctionComponent, ReactNode } from 'react';
4
+ import { EntityAccessor } from '@contember/react-binding';
5
+ import { Environment } from '@contember/react-binding';
6
+ export interface CreateEditorPublicOptions {
7
+ plugins?: EditorPlugin[];
8
+ }
9
+ export interface CreateEditorOptions extends CreateEditorPublicOptions {
10
+ defaultElementType: string;
11
+ entity: EntityAccessor;
12
+ environment: Environment;
13
+ children: ReactNode;
14
+ }
15
+ export declare const createEditor: ({ plugins, defaultElementType, entity, environment, children, }: CreateEditorOptions) => {
16
+ editor: Editor;
17
+ OuterWrapper: FunctionComponent<{
18
+ children: ReactNode;
19
+ }>;
20
+ InnerWrapper: FunctionComponent<{
21
+ children: ReactNode;
22
+ }>;
23
+ };
24
+ //# sourceMappingURL=createEditor.d.ts.map
@@ -0,0 +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,0BAA0B,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAEtD,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,GAAI,iEAM1B,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"}
@@ -0,0 +1,5 @@
1
+ import { Editor } from 'slate';
2
+ export declare const createEditorWithEssentials: ({ defaultElementType }: {
3
+ defaultElementType: string;
4
+ }) => Editor;
5
+ //# sourceMappingURL=createEditorWithEssentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createEditorWithEssentials.d.ts","sourceRoot":"","sources":["../../../src/editor/createEditorWithEssentials.tsx"],"names":[],"mappings":"AACA,OAAO,EAGN,MAAM,EAON,MAAM,OAAO,CAAA;AAUd,eAAO,MAAM,0BAA0B,GAAI,wBAAwB;IAAE,kBAAkB,EAAE,MAAM,CAAA;CAAE,KAAG,MAyOnG,CAAA"}
@@ -0,0 +1,35 @@
1
+ export type { ElementDataAttributes } from './methods';
2
+ export declare const ContemberEditor: {
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;
12
+ }) => import("slate").NodeEntry<import("..").Editor | import("..").EditorElement> | 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
+ }) => boolean;
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
+ };
34
+ export * from './createEditor';
35
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;UAhBzB,CAAC;;;;UAEH,CAAC;aACA,CAAC;;;UAGF,CAAC;;;;;;;YADK,CAAC;UACH,CAAC;;;;;;;;;;;CA8BL,CAAA;AAED,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { Editor as SlateEditor, Text as SlateText } from 'slate';
2
+ import { TextSpecifics } from '../../types/editor';
3
+ export declare const addMarks: <T extends SlateText, E extends SlateEditor>(editor: E, marks: TextSpecifics<T>) => void;
4
+ //# sourceMappingURL=addMarks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/addMarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,IAAI,WAAW,EAAE,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,EAAE,QAAQ,CAAC,EAAE,OAAO,aAAa,CAAC,CAAC,CAAC,SAMtG,CAAA"}
@@ -0,0 +1,3 @@
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;
3
+ //# sourceMappingURL=canToggleMark.d.ts.map
@@ -0,0 +1 @@
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,EACvE,QAAQ,CAAC,EACT,UAAU,MAAM,EAChB,YAAW,OAAc,YAGzB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { Editor, Editor as SlateEditor, Element, Location, NodeEntry } from 'slate';
2
+ export declare const closest: <E extends SlateEditor>(editor: E, options: {
3
+ at?: Location;
4
+ match: (node: Editor | Element) => boolean;
5
+ }) => NodeEntry<Editor | Element> | undefined;
6
+ //# sourceMappingURL=closest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"closest.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/closest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAQ,MAAM,OAAO,CAAA;AAEzF,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,WAAW,EAC5C,QAAQ,CAAC,EACT,SAAS;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"}
@@ -0,0 +1,6 @@
1
+ import { Editor as SlateEditor, Element, Location } from 'slate';
2
+ export declare const closestBlockEntry: <E extends SlateEditor>(editor: E, options?: {
3
+ at?: Location;
4
+ match?: (node: Element) => boolean;
5
+ }) => import("slate").NodeEntry<import("../..").Editor | import("../..").EditorElement> | undefined;
6
+ //# sourceMappingURL=closestBlockEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"closestBlockEntry.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/closestBlockEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,IAAI,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAGxE,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,WAAW,EACtD,QAAQ,CAAC,EACT,UAAU;IACT,EAAE,CAAC,EAAE,QAAQ,CAAA;IACb,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAA;CAClC,kGAKC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { Location as SlateLocation, NodeEntry } from 'slate';
2
+ import { Editor as SlateEditor, Element as SlateElement } from 'slate';
3
+ export declare const closestViableBlockContainerEntry: <E extends SlateEditor>(editor: E, options?: {
4
+ at?: SlateLocation;
5
+ }) => NodeEntry<SlateElement | SlateEditor> | undefined;
6
+ //# sourceMappingURL=closestViableBlockContainerEntry.d.ts.map
@@ -0,0 +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,GAAI,CAAC,SAAS,WAAW,EACrE,QAAQ,CAAC,EACT,UAAU;IACT,EAAE,CAAC,EAAE,aAAa,CAAA;CAClB,KACC,SAAS,CAAC,YAAY,GAAG,WAAW,CAAC,GAAG,SAIxC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Editor as SlateEditor, Path } from 'slate';
2
+ export declare const ejectElement: <E extends SlateEditor>(editor: E, path: Path) => void;
3
+ //# sourceMappingURL=ejectElement.d.ts.map
@@ -0,0 +1 @@
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,EAAE,QAAQ,CAAC,EAAE,MAAM,IAAI,SAWxE,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Element as SlateElement } from 'slate';
2
+ export declare const elementToSpecifics: <Element extends SlateElement = SlateElement>(element: Element) => Partial<Element>;
3
+ //# sourceMappingURL=elementToSpecifics.d.ts.map
@@ -0,0 +1 @@
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,GAAG,YAAY,EAC7E,SAAS,OAAO,KACd,OAAO,CAAC,OAAO,CAGjB,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { Scalar } from '@contember/react-binding';
2
+ import { Element as SlateElement } from 'slate';
3
+ export interface ElementDataAttributes {
4
+ [dataAttribute: string]: Scalar;
5
+ }
6
+ export declare const getElementDataAttributes: <Element extends SlateElement = SlateElement>(element: Element, attributeNamePrefix?: string) => ElementDataAttributes;
7
+ //# sourceMappingURL=getElementDataAttributes.d.ts.map
@@ -0,0 +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;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,GAAG,YAAY,EACnF,SAAS,OAAO,EAChB,sBAAqB,MAAoB,KACvC,qBAWF,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Editor as SlateEditor, Node as SlateNode, NodeEntry, Path as SlatePath } from 'slate';
2
+ export declare const getPreviousSibling: <E extends SlateEditor = SlateEditor, CurrentNode extends SlateNode = SlateNode, PreviousNode extends SlateNode = CurrentNode>(editor: E, node: CurrentNode, nodePath: SlatePath) => NodeEntry<PreviousNode> | undefined;
3
+ //# sourceMappingURL=getPreviousSibling.d.ts.map
@@ -0,0 +1 @@
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,GAAG,WAAW,EACnC,WAAW,SAAS,SAAS,GAAG,SAAS,EACzC,YAAY,SAAS,SAAS,GAAG,WAAW,EAE5C,QAAQ,CAAC,EACT,MAAM,WAAW,EACjB,UAAU,SAAS,KACjB,SAAS,CAAC,YAAY,CAAC,GAAG,SAO5B,CAAA"}