@contember/react-slate-editor-base 2.1.0-beta.2 → 2.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/development/src/components/RichTextEditor.cjs.map +1 -1
- package/dist/development/src/components/RichTextEditor.js.map +1 -1
- package/dist/development/src/components/triggers/EditorWrapNodeTrigger.cjs.map +1 -1
- package/dist/development/src/components/triggers/EditorWrapNodeTrigger.js.map +1 -1
- package/dist/development/src/editor/createEditor.cjs.map +1 -1
- package/dist/development/src/editor/createEditor.js.map +1 -1
- package/dist/development/src/editor/createEditorWithEssentials.cjs.map +1 -1
- package/dist/development/src/editor/createEditorWithEssentials.js.map +1 -1
- package/dist/development/src/editor/index.cjs.map +1 -1
- package/dist/development/src/editor/index.js.map +1 -1
- package/dist/development/src/editor/methods/addMarks.cjs.map +1 -1
- package/dist/development/src/editor/methods/addMarks.js.map +1 -1
- package/dist/development/src/editor/methods/closestBlockEntry.cjs.map +1 -1
- package/dist/development/src/editor/methods/closestBlockEntry.js.map +1 -1
- package/dist/development/src/editor/methods/closestViableBlockContainerEntry.cjs.map +1 -1
- package/dist/development/src/editor/methods/closestViableBlockContainerEntry.js.map +1 -1
- package/dist/development/src/editor/methods/hasMarks.cjs.map +1 -1
- package/dist/development/src/editor/methods/hasMarks.js.map +1 -1
- package/dist/development/src/editor/methods/hasParentOfType.cjs.map +1 -1
- package/dist/development/src/editor/methods/hasParentOfType.js.map +1 -1
- package/dist/development/src/editor/methods/permissivelyDeserializeNodes.cjs.map +1 -1
- package/dist/development/src/editor/methods/permissivelyDeserializeNodes.js.map +1 -1
- package/dist/development/src/editor/methods/removeMarks.cjs.map +1 -1
- package/dist/development/src/editor/methods/removeMarks.js.map +1 -1
- package/dist/development/src/editor/methods/serializeNodes.cjs.map +1 -1
- package/dist/development/src/editor/methods/serializeNodes.js.map +1 -1
- package/dist/development/src/editor/methods/strictlyDeserializeNodes.cjs.map +1 -1
- package/dist/development/src/editor/methods/strictlyDeserializeNodes.js.map +1 -1
- package/dist/development/src/editor/methods/textToSpecifics.cjs.map +1 -1
- package/dist/development/src/editor/methods/textToSpecifics.js.map +1 -1
- package/dist/development/src/editor/methods/toLatestFormat.cjs.map +1 -1
- package/dist/development/src/editor/methods/toLatestFormat.js.map +1 -1
- package/dist/development/src/internal/utils/EditorPasteUtils.cjs.map +1 -1
- package/dist/development/src/internal/utils/EditorPasteUtils.js.map +1 -1
- package/dist/development/src/plugins/behaviour/paste/HtmlDeserializer.cjs.map +1 -1
- package/dist/development/src/plugins/behaviour/paste/HtmlDeserializer.js.map +1 -1
- package/dist/development/src/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs.map +1 -1
- package/dist/development/src/plugins/behaviour/paste/createMarkHtmlDeserializer.js.map +1 -1
- package/dist/development/src/plugins/behaviour/paste/withPaste.cjs.map +1 -1
- package/dist/development/src/plugins/behaviour/paste/withPaste.js.map +1 -1
- package/dist/development/src/plugins/element/anchors/AnchorElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/anchors/AnchorElement.js.map +1 -1
- package/dist/development/src/plugins/element/anchors/AnchorHtmlDeserializer.cjs.map +1 -1
- package/dist/development/src/plugins/element/anchors/AnchorHtmlDeserializer.js.map +1 -1
- package/dist/development/src/plugins/element/anchors/AnchorModifications.cjs.map +1 -1
- package/dist/development/src/plugins/element/anchors/AnchorModifications.js.map +1 -1
- package/dist/development/src/plugins/element/anchors/withAnchors.cjs.map +1 -1
- package/dist/development/src/plugins/element/anchors/withAnchors.js.map +1 -1
- package/dist/development/src/plugins/element/headings/HeadingElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/headings/HeadingElement.js.map +1 -1
- package/dist/development/src/plugins/element/headings/HeadingHtmlDeserializer.cjs.map +1 -1
- package/dist/development/src/plugins/element/headings/HeadingHtmlDeserializer.js.map +1 -1
- package/dist/development/src/plugins/element/headings/withHeadings.cjs.map +1 -1
- package/dist/development/src/plugins/element/headings/withHeadings.js.map +1 -1
- package/dist/development/src/plugins/element/horizonalRules/HorizontalRuleElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/horizonalRules/HorizontalRuleElement.js.map +1 -1
- package/dist/development/src/plugins/element/horizonalRules/withHorizontalRules.cjs.map +1 -1
- package/dist/development/src/plugins/element/horizonalRules/withHorizontalRules.js.map +1 -1
- package/dist/development/src/plugins/element/lists/ListElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/ListElement.js.map +1 -1
- package/dist/development/src/plugins/element/lists/ListHtmlDeserializer.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/ListHtmlDeserializer.js.map +1 -1
- package/dist/development/src/plugins/element/lists/ListItemElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/ListItemElement.js.map +1 -1
- package/dist/development/src/plugins/element/lists/OrderedListElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/OrderedListElement.js.map +1 -1
- package/dist/development/src/plugins/element/lists/UnorderedListElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/UnorderedListElement.js.map +1 -1
- package/dist/development/src/plugins/element/lists/transforms/dedentListItem.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/transforms/dedentListItem.js.map +1 -1
- package/dist/development/src/plugins/element/lists/transforms/indentListItem.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/transforms/indentListItem.js.map +1 -1
- package/dist/development/src/plugins/element/lists/transforms/normalizeListElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/transforms/normalizeListElement.js.map +1 -1
- package/dist/development/src/plugins/element/lists/transforms/toggleListElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/transforms/toggleListElement.js.map +1 -1
- package/dist/development/src/plugins/element/lists/withLists.cjs.map +1 -1
- package/dist/development/src/plugins/element/lists/withLists.js.map +1 -1
- package/dist/development/src/plugins/element/paragraphs/ParagraphElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/paragraphs/ParagraphElement.js.map +1 -1
- package/dist/development/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs.map +1 -1
- package/dist/development/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.js.map +1 -1
- package/dist/development/src/plugins/element/paragraphs/withParagraphs.cjs.map +1 -1
- package/dist/development/src/plugins/element/paragraphs/withParagraphs.js.map +1 -1
- package/dist/development/src/plugins/element/scrollTargets/ScrollTargetElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/scrollTargets/ScrollTargetElement.js.map +1 -1
- package/dist/development/src/plugins/element/scrollTargets/withScrollTargets.cjs.map +1 -1
- package/dist/development/src/plugins/element/scrollTargets/withScrollTargets.js.map +1 -1
- package/dist/development/src/plugins/element/tables/TableCellElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/tables/TableCellElement.js.map +1 -1
- package/dist/development/src/plugins/element/tables/TableElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/tables/TableElement.js.map +1 -1
- package/dist/development/src/plugins/element/tables/TableElementSelection.cjs.map +1 -1
- package/dist/development/src/plugins/element/tables/TableElementSelection.js.map +1 -1
- package/dist/development/src/plugins/element/tables/TableHtmlDeserializer.cjs.map +1 -1
- package/dist/development/src/plugins/element/tables/TableHtmlDeserializer.js.map +1 -1
- package/dist/development/src/plugins/element/tables/TableModifications.cjs.map +1 -1
- package/dist/development/src/plugins/element/tables/TableModifications.js.map +1 -1
- package/dist/development/src/plugins/element/tables/TableRowElement.cjs.map +1 -1
- package/dist/development/src/plugins/element/tables/TableRowElement.js.map +1 -1
- package/dist/development/src/plugins/element/tables/gaugeTableColumnCount.cjs.map +1 -1
- package/dist/development/src/plugins/element/tables/gaugeTableColumnCount.js.map +1 -1
- package/dist/development/src/plugins/element/tables/withTables.cjs.map +1 -1
- package/dist/development/src/plugins/element/tables/withTables.js.map +1 -1
- package/dist/development/src/plugins/text/bold/boldMark.cjs.map +1 -1
- package/dist/development/src/plugins/text/bold/boldMark.js.map +1 -1
- package/dist/development/src/plugins/text/bold/withBold.cjs.map +1 -1
- package/dist/development/src/plugins/text/bold/withBold.js.map +1 -1
- package/dist/development/src/plugins/text/code/codeMark.cjs.map +1 -1
- package/dist/development/src/plugins/text/code/codeMark.js.map +1 -1
- package/dist/development/src/plugins/text/code/withCode.cjs.map +1 -1
- package/dist/development/src/plugins/text/code/withCode.js.map +1 -1
- package/dist/development/src/plugins/text/highlight/highlightMark.cjs.map +1 -1
- package/dist/development/src/plugins/text/highlight/highlightMark.js.map +1 -1
- package/dist/development/src/plugins/text/highlight/withHighlight.cjs.map +1 -1
- package/dist/development/src/plugins/text/highlight/withHighlight.js.map +1 -1
- package/dist/development/src/plugins/text/italic/italicMark.cjs.map +1 -1
- package/dist/development/src/plugins/text/italic/italicMark.js.map +1 -1
- package/dist/development/src/plugins/text/italic/withItalic.cjs.map +1 -1
- package/dist/development/src/plugins/text/italic/withItalic.js.map +1 -1
- package/dist/development/src/plugins/text/newline/withNewline.cjs.map +1 -1
- package/dist/development/src/plugins/text/newline/withNewline.js.map +1 -1
- package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.cjs.map +1 -1
- package/dist/development/src/plugins/text/strikeThrough/strikeThroughMark.js.map +1 -1
- package/dist/development/src/plugins/text/strikeThrough/withStrikeThrough.cjs.map +1 -1
- package/dist/development/src/plugins/text/strikeThrough/withStrikeThrough.js.map +1 -1
- package/dist/development/src/plugins/text/underline/underlineMark.cjs.map +1 -1
- package/dist/development/src/plugins/text/underline/underlineMark.js.map +1 -1
- package/dist/development/src/plugins/text/underline/withUnderline.cjs.map +1 -1
- package/dist/development/src/plugins/text/underline/withUnderline.js.map +1 -1
- package/dist/production/src/components/RichTextEditor.cjs.map +1 -1
- package/dist/production/src/components/RichTextEditor.js.map +1 -1
- package/dist/production/src/components/triggers/EditorWrapNodeTrigger.cjs.map +1 -1
- package/dist/production/src/components/triggers/EditorWrapNodeTrigger.js.map +1 -1
- package/dist/production/src/editor/createEditor.cjs.map +1 -1
- package/dist/production/src/editor/createEditor.js.map +1 -1
- package/dist/production/src/editor/createEditorWithEssentials.cjs.map +1 -1
- package/dist/production/src/editor/createEditorWithEssentials.js.map +1 -1
- package/dist/production/src/editor/index.cjs.map +1 -1
- package/dist/production/src/editor/index.js.map +1 -1
- package/dist/production/src/editor/methods/addMarks.cjs.map +1 -1
- package/dist/production/src/editor/methods/addMarks.js.map +1 -1
- package/dist/production/src/editor/methods/closestBlockEntry.cjs.map +1 -1
- package/dist/production/src/editor/methods/closestBlockEntry.js.map +1 -1
- package/dist/production/src/editor/methods/closestViableBlockContainerEntry.cjs.map +1 -1
- package/dist/production/src/editor/methods/closestViableBlockContainerEntry.js.map +1 -1
- package/dist/production/src/editor/methods/hasMarks.cjs.map +1 -1
- package/dist/production/src/editor/methods/hasMarks.js.map +1 -1
- package/dist/production/src/editor/methods/hasParentOfType.cjs.map +1 -1
- package/dist/production/src/editor/methods/hasParentOfType.js.map +1 -1
- package/dist/production/src/editor/methods/permissivelyDeserializeNodes.cjs.map +1 -1
- package/dist/production/src/editor/methods/permissivelyDeserializeNodes.js.map +1 -1
- package/dist/production/src/editor/methods/removeMarks.cjs.map +1 -1
- package/dist/production/src/editor/methods/removeMarks.js.map +1 -1
- package/dist/production/src/editor/methods/serializeNodes.cjs.map +1 -1
- package/dist/production/src/editor/methods/serializeNodes.js.map +1 -1
- package/dist/production/src/editor/methods/strictlyDeserializeNodes.cjs.map +1 -1
- package/dist/production/src/editor/methods/strictlyDeserializeNodes.js.map +1 -1
- package/dist/production/src/editor/methods/textToSpecifics.cjs.map +1 -1
- package/dist/production/src/editor/methods/textToSpecifics.js.map +1 -1
- package/dist/production/src/editor/methods/toLatestFormat.cjs.map +1 -1
- package/dist/production/src/editor/methods/toLatestFormat.js.map +1 -1
- package/dist/production/src/internal/utils/EditorPasteUtils.cjs.map +1 -1
- package/dist/production/src/internal/utils/EditorPasteUtils.js.map +1 -1
- package/dist/production/src/plugins/behaviour/paste/HtmlDeserializer.cjs.map +1 -1
- package/dist/production/src/plugins/behaviour/paste/HtmlDeserializer.js.map +1 -1
- package/dist/production/src/plugins/behaviour/paste/createMarkHtmlDeserializer.cjs.map +1 -1
- package/dist/production/src/plugins/behaviour/paste/createMarkHtmlDeserializer.js.map +1 -1
- package/dist/production/src/plugins/behaviour/paste/withPaste.cjs.map +1 -1
- package/dist/production/src/plugins/behaviour/paste/withPaste.js.map +1 -1
- package/dist/production/src/plugins/element/anchors/AnchorElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/anchors/AnchorElement.js.map +1 -1
- package/dist/production/src/plugins/element/anchors/AnchorHtmlDeserializer.cjs.map +1 -1
- package/dist/production/src/plugins/element/anchors/AnchorHtmlDeserializer.js.map +1 -1
- package/dist/production/src/plugins/element/anchors/AnchorModifications.cjs.map +1 -1
- package/dist/production/src/plugins/element/anchors/AnchorModifications.js.map +1 -1
- package/dist/production/src/plugins/element/anchors/withAnchors.cjs.map +1 -1
- package/dist/production/src/plugins/element/anchors/withAnchors.js.map +1 -1
- package/dist/production/src/plugins/element/headings/HeadingElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/headings/HeadingElement.js.map +1 -1
- package/dist/production/src/plugins/element/headings/HeadingHtmlDeserializer.cjs.map +1 -1
- package/dist/production/src/plugins/element/headings/HeadingHtmlDeserializer.js.map +1 -1
- package/dist/production/src/plugins/element/headings/withHeadings.cjs.map +1 -1
- package/dist/production/src/plugins/element/headings/withHeadings.js.map +1 -1
- package/dist/production/src/plugins/element/horizonalRules/HorizontalRuleElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/horizonalRules/HorizontalRuleElement.js.map +1 -1
- package/dist/production/src/plugins/element/horizonalRules/withHorizontalRules.cjs.map +1 -1
- package/dist/production/src/plugins/element/horizonalRules/withHorizontalRules.js.map +1 -1
- package/dist/production/src/plugins/element/lists/ListElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/ListElement.js.map +1 -1
- package/dist/production/src/plugins/element/lists/ListHtmlDeserializer.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/ListHtmlDeserializer.js.map +1 -1
- package/dist/production/src/plugins/element/lists/ListItemElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/ListItemElement.js.map +1 -1
- package/dist/production/src/plugins/element/lists/OrderedListElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/OrderedListElement.js.map +1 -1
- package/dist/production/src/plugins/element/lists/UnorderedListElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/UnorderedListElement.js.map +1 -1
- package/dist/production/src/plugins/element/lists/transforms/dedentListItem.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/transforms/dedentListItem.js.map +1 -1
- package/dist/production/src/plugins/element/lists/transforms/indentListItem.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/transforms/indentListItem.js.map +1 -1
- package/dist/production/src/plugins/element/lists/transforms/normalizeListElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/transforms/normalizeListElement.js.map +1 -1
- package/dist/production/src/plugins/element/lists/transforms/toggleListElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/transforms/toggleListElement.js.map +1 -1
- package/dist/production/src/plugins/element/lists/withLists.cjs.map +1 -1
- package/dist/production/src/plugins/element/lists/withLists.js.map +1 -1
- package/dist/production/src/plugins/element/paragraphs/ParagraphElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/paragraphs/ParagraphElement.js.map +1 -1
- package/dist/production/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.cjs.map +1 -1
- package/dist/production/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.js.map +1 -1
- package/dist/production/src/plugins/element/paragraphs/withParagraphs.cjs.map +1 -1
- package/dist/production/src/plugins/element/paragraphs/withParagraphs.js.map +1 -1
- package/dist/production/src/plugins/element/scrollTargets/ScrollTargetElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/scrollTargets/ScrollTargetElement.js.map +1 -1
- package/dist/production/src/plugins/element/scrollTargets/withScrollTargets.cjs.map +1 -1
- package/dist/production/src/plugins/element/scrollTargets/withScrollTargets.js.map +1 -1
- package/dist/production/src/plugins/element/tables/TableCellElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/tables/TableCellElement.js.map +1 -1
- package/dist/production/src/plugins/element/tables/TableElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/tables/TableElement.js.map +1 -1
- package/dist/production/src/plugins/element/tables/TableElementSelection.cjs.map +1 -1
- package/dist/production/src/plugins/element/tables/TableElementSelection.js.map +1 -1
- package/dist/production/src/plugins/element/tables/TableHtmlDeserializer.cjs.map +1 -1
- package/dist/production/src/plugins/element/tables/TableHtmlDeserializer.js.map +1 -1
- package/dist/production/src/plugins/element/tables/TableModifications.cjs.map +1 -1
- package/dist/production/src/plugins/element/tables/TableModifications.js.map +1 -1
- package/dist/production/src/plugins/element/tables/TableRowElement.cjs.map +1 -1
- package/dist/production/src/plugins/element/tables/TableRowElement.js.map +1 -1
- package/dist/production/src/plugins/element/tables/gaugeTableColumnCount.cjs.map +1 -1
- package/dist/production/src/plugins/element/tables/gaugeTableColumnCount.js.map +1 -1
- package/dist/production/src/plugins/element/tables/withTables.cjs.map +1 -1
- package/dist/production/src/plugins/element/tables/withTables.js.map +1 -1
- package/dist/production/src/plugins/text/bold/boldMark.cjs.map +1 -1
- package/dist/production/src/plugins/text/bold/boldMark.js.map +1 -1
- package/dist/production/src/plugins/text/bold/withBold.cjs.map +1 -1
- package/dist/production/src/plugins/text/bold/withBold.js.map +1 -1
- package/dist/production/src/plugins/text/code/codeMark.cjs.map +1 -1
- package/dist/production/src/plugins/text/code/codeMark.js.map +1 -1
- package/dist/production/src/plugins/text/code/withCode.cjs.map +1 -1
- package/dist/production/src/plugins/text/code/withCode.js.map +1 -1
- package/dist/production/src/plugins/text/highlight/highlightMark.cjs.map +1 -1
- package/dist/production/src/plugins/text/highlight/highlightMark.js.map +1 -1
- package/dist/production/src/plugins/text/highlight/withHighlight.cjs.map +1 -1
- package/dist/production/src/plugins/text/highlight/withHighlight.js.map +1 -1
- package/dist/production/src/plugins/text/italic/italicMark.cjs.map +1 -1
- package/dist/production/src/plugins/text/italic/italicMark.js.map +1 -1
- package/dist/production/src/plugins/text/italic/withItalic.cjs.map +1 -1
- package/dist/production/src/plugins/text/italic/withItalic.js.map +1 -1
- package/dist/production/src/plugins/text/newline/withNewline.cjs.map +1 -1
- package/dist/production/src/plugins/text/newline/withNewline.js.map +1 -1
- package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.cjs.map +1 -1
- package/dist/production/src/plugins/text/strikeThrough/strikeThroughMark.js.map +1 -1
- package/dist/production/src/plugins/text/strikeThrough/withStrikeThrough.cjs.map +1 -1
- package/dist/production/src/plugins/text/strikeThrough/withStrikeThrough.js.map +1 -1
- package/dist/production/src/plugins/text/underline/underlineMark.cjs.map +1 -1
- package/dist/production/src/plugins/text/underline/underlineMark.js.map +1 -1
- package/dist/production/src/plugins/text/underline/withUnderline.cjs.map +1 -1
- package/dist/production/src/plugins/text/underline/withUnderline.js.map +1 -1
- package/dist/types/components/RichTextEditor.d.ts +1 -1
- package/dist/types/components/RichTextEditor.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/triggers/index.d.ts +4 -4
- package/dist/types/components/triggers/index.d.ts.map +1 -1
- package/dist/types/editor/createEditor.d.ts +1 -1
- package/dist/types/editor/createEditor.d.ts.map +1 -1
- package/dist/types/editor/index.d.ts +11 -11
- package/dist/types/editor/index.d.ts.map +1 -1
- package/dist/types/editor/methods/addMarks.d.ts +1 -1
- package/dist/types/editor/methods/addMarks.d.ts.map +1 -1
- package/dist/types/editor/methods/closestBlockEntry.d.ts +1 -1
- package/dist/types/editor/methods/closestBlockEntry.d.ts.map +1 -1
- package/dist/types/editor/methods/hasMarks.d.ts +1 -1
- package/dist/types/editor/methods/hasMarks.d.ts.map +1 -1
- package/dist/types/editor/methods/index.d.ts +19 -19
- package/dist/types/editor/methods/index.d.ts.map +1 -1
- package/dist/types/editor/methods/removeMarks.d.ts +1 -1
- package/dist/types/editor/methods/removeMarks.d.ts.map +1 -1
- package/dist/types/editor/methods/textToSpecifics.d.ts +1 -1
- package/dist/types/editor/methods/textToSpecifics.d.ts.map +1 -1
- package/dist/types/editor/methods/toLatestFormat.d.ts +1 -1
- package/dist/types/editor/methods/toLatestFormat.d.ts.map +1 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/internal/utils/EditorPasteUtils.d.ts +2 -2
- package/dist/types/internal/utils/EditorPasteUtils.d.ts.map +1 -1
- package/dist/types/internal/utils/index.d.ts +2 -2
- package/dist/types/internal/utils/index.d.ts.map +1 -1
- package/dist/types/plugins/attributes/alignment/index.d.ts +1 -1
- package/dist/types/plugins/attributes/alignment/index.d.ts.map +1 -1
- package/dist/types/plugins/attributes/index.d.ts +1 -1
- package/dist/types/plugins/attributes/index.d.ts.map +1 -1
- package/dist/types/plugins/behaviour/index.d.ts +1 -1
- package/dist/types/plugins/behaviour/index.d.ts.map +1 -1
- package/dist/types/plugins/behaviour/paste/HtmlDeserializer.d.ts +2 -2
- package/dist/types/plugins/behaviour/paste/HtmlDeserializer.d.ts.map +1 -1
- package/dist/types/plugins/behaviour/paste/createMarkHtmlDeserializer.d.ts +1 -1
- package/dist/types/plugins/behaviour/paste/createMarkHtmlDeserializer.d.ts.map +1 -1
- package/dist/types/plugins/behaviour/paste/index.d.ts +2 -2
- package/dist/types/plugins/behaviour/paste/index.d.ts.map +1 -1
- package/dist/types/plugins/element/anchors/AnchorElement.d.ts +1 -1
- package/dist/types/plugins/element/anchors/AnchorElement.d.ts.map +1 -1
- package/dist/types/plugins/element/anchors/AnchorHtmlDeserializer.d.ts +1 -1
- package/dist/types/plugins/element/anchors/AnchorHtmlDeserializer.d.ts.map +1 -1
- package/dist/types/plugins/element/anchors/index.d.ts +3 -3
- package/dist/types/plugins/element/anchors/index.d.ts.map +1 -1
- package/dist/types/plugins/element/anchors/withAnchors.d.ts +2 -2
- package/dist/types/plugins/element/anchors/withAnchors.d.ts.map +1 -1
- package/dist/types/plugins/element/headings/HeadingElement.d.ts +2 -2
- package/dist/types/plugins/element/headings/HeadingElement.d.ts.map +1 -1
- package/dist/types/plugins/element/headings/HeadingHtmlDeserializer.d.ts +1 -1
- package/dist/types/plugins/element/headings/HeadingHtmlDeserializer.d.ts.map +1 -1
- package/dist/types/plugins/element/headings/index.d.ts +3 -3
- package/dist/types/plugins/element/headings/index.d.ts.map +1 -1
- package/dist/types/plugins/element/headings/withHeadings.d.ts +2 -2
- package/dist/types/plugins/element/headings/withHeadings.d.ts.map +1 -1
- package/dist/types/plugins/element/horizonalRules/HorizontalRuleElement.d.ts +1 -1
- package/dist/types/plugins/element/horizonalRules/HorizontalRuleElement.d.ts.map +1 -1
- package/dist/types/plugins/element/horizonalRules/index.d.ts +2 -2
- package/dist/types/plugins/element/horizonalRules/index.d.ts.map +1 -1
- package/dist/types/plugins/element/horizonalRules/withHorizontalRules.d.ts +2 -2
- package/dist/types/plugins/element/horizonalRules/withHorizontalRules.d.ts.map +1 -1
- package/dist/types/plugins/element/index.d.ts +7 -7
- package/dist/types/plugins/element/index.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/ListElement.d.ts +2 -2
- package/dist/types/plugins/element/lists/ListElement.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/ListHtmlDeserializer.d.ts +1 -1
- package/dist/types/plugins/element/lists/ListHtmlDeserializer.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/ListItemElement.d.ts +1 -1
- package/dist/types/plugins/element/lists/ListItemElement.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/OrderedListElement.d.ts +1 -1
- package/dist/types/plugins/element/lists/OrderedListElement.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/UnorderedListElement.d.ts +1 -1
- package/dist/types/plugins/element/lists/UnorderedListElement.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/index.d.ts +5 -5
- package/dist/types/plugins/element/lists/index.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/transforms/dedentListItem.d.ts +1 -1
- package/dist/types/plugins/element/lists/transforms/dedentListItem.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/transforms/indentListItem.d.ts +1 -1
- package/dist/types/plugins/element/lists/transforms/indentListItem.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/transforms/index.d.ts +4 -4
- package/dist/types/plugins/element/lists/transforms/index.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/transforms/toggleListElement.d.ts +2 -2
- package/dist/types/plugins/element/lists/transforms/toggleListElement.d.ts.map +1 -1
- package/dist/types/plugins/element/lists/withLists.d.ts +4 -4
- package/dist/types/plugins/element/lists/withLists.d.ts.map +1 -1
- package/dist/types/plugins/element/paragraphs/ParagraphElement.d.ts +2 -2
- package/dist/types/plugins/element/paragraphs/ParagraphElement.d.ts.map +1 -1
- package/dist/types/plugins/element/paragraphs/ParagraphHtmlDeserializer.d.ts +1 -1
- package/dist/types/plugins/element/paragraphs/ParagraphHtmlDeserializer.d.ts.map +1 -1
- package/dist/types/plugins/element/paragraphs/index.d.ts +3 -3
- package/dist/types/plugins/element/paragraphs/index.d.ts.map +1 -1
- package/dist/types/plugins/element/paragraphs/withParagraphs.d.ts +2 -2
- package/dist/types/plugins/element/paragraphs/withParagraphs.d.ts.map +1 -1
- package/dist/types/plugins/element/scrollTargets/ScrollTargetElement.d.ts +1 -1
- package/dist/types/plugins/element/scrollTargets/ScrollTargetElement.d.ts.map +1 -1
- package/dist/types/plugins/element/scrollTargets/index.d.ts +2 -2
- package/dist/types/plugins/element/scrollTargets/index.d.ts.map +1 -1
- package/dist/types/plugins/element/scrollTargets/withScrollTargets.d.ts +2 -2
- package/dist/types/plugins/element/scrollTargets/withScrollTargets.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/TableCellElement.d.ts +1 -1
- package/dist/types/plugins/element/tables/TableCellElement.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/TableElement.d.ts +1 -1
- package/dist/types/plugins/element/tables/TableElement.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/TableElementSelection.d.ts +2 -2
- package/dist/types/plugins/element/tables/TableElementSelection.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/TableHtmlDeserializer.d.ts +1 -1
- package/dist/types/plugins/element/tables/TableHtmlDeserializer.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/TableModifications.d.ts +3 -3
- package/dist/types/plugins/element/tables/TableModifications.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/TableRowElement.d.ts +1 -1
- package/dist/types/plugins/element/tables/TableRowElement.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/gaugeTableColumnCount.d.ts +1 -1
- package/dist/types/plugins/element/tables/gaugeTableColumnCount.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/index.d.ts +5 -5
- package/dist/types/plugins/element/tables/index.d.ts.map +1 -1
- package/dist/types/plugins/element/tables/withTables.d.ts +4 -4
- package/dist/types/plugins/element/tables/withTables.d.ts.map +1 -1
- package/dist/types/plugins/index.d.ts +4 -4
- package/dist/types/plugins/index.d.ts.map +1 -1
- package/dist/types/plugins/text/bold/boldMark.d.ts +1 -1
- package/dist/types/plugins/text/bold/boldMark.d.ts.map +1 -1
- package/dist/types/plugins/text/bold/index.d.ts +2 -2
- package/dist/types/plugins/text/bold/index.d.ts.map +1 -1
- package/dist/types/plugins/text/bold/withBold.d.ts +1 -1
- package/dist/types/plugins/text/bold/withBold.d.ts.map +1 -1
- package/dist/types/plugins/text/code/codeMark.d.ts +1 -1
- package/dist/types/plugins/text/code/codeMark.d.ts.map +1 -1
- package/dist/types/plugins/text/code/index.d.ts +2 -2
- package/dist/types/plugins/text/code/index.d.ts.map +1 -1
- package/dist/types/plugins/text/code/withCode.d.ts +1 -1
- package/dist/types/plugins/text/code/withCode.d.ts.map +1 -1
- package/dist/types/plugins/text/highlight/highlightMark.d.ts +1 -1
- package/dist/types/plugins/text/highlight/highlightMark.d.ts.map +1 -1
- package/dist/types/plugins/text/highlight/index.d.ts +2 -2
- package/dist/types/plugins/text/highlight/index.d.ts.map +1 -1
- package/dist/types/plugins/text/highlight/withHighlight.d.ts +1 -1
- package/dist/types/plugins/text/highlight/withHighlight.d.ts.map +1 -1
- package/dist/types/plugins/text/index.d.ts +7 -7
- package/dist/types/plugins/text/index.d.ts.map +1 -1
- package/dist/types/plugins/text/italic/index.d.ts +2 -2
- package/dist/types/plugins/text/italic/index.d.ts.map +1 -1
- package/dist/types/plugins/text/italic/italicMark.d.ts +1 -1
- package/dist/types/plugins/text/italic/italicMark.d.ts.map +1 -1
- package/dist/types/plugins/text/italic/withItalic.d.ts +1 -1
- package/dist/types/plugins/text/italic/withItalic.d.ts.map +1 -1
- package/dist/types/plugins/text/newline/index.d.ts +1 -1
- package/dist/types/plugins/text/newline/index.d.ts.map +1 -1
- package/dist/types/plugins/text/newline/withNewline.d.ts +1 -1
- package/dist/types/plugins/text/newline/withNewline.d.ts.map +1 -1
- package/dist/types/plugins/text/strikeThrough/index.d.ts +2 -2
- package/dist/types/plugins/text/strikeThrough/index.d.ts.map +1 -1
- package/dist/types/plugins/text/strikeThrough/strikeThroughMark.d.ts +1 -1
- package/dist/types/plugins/text/strikeThrough/strikeThroughMark.d.ts.map +1 -1
- package/dist/types/plugins/text/strikeThrough/withStrikeThrough.d.ts +1 -1
- package/dist/types/plugins/text/strikeThrough/withStrikeThrough.d.ts.map +1 -1
- package/dist/types/plugins/text/underline/index.d.ts +2 -2
- package/dist/types/plugins/text/underline/index.d.ts.map +1 -1
- package/dist/types/plugins/text/underline/underlineMark.d.ts +1 -1
- package/dist/types/plugins/text/underline/underlineMark.d.ts.map +1 -1
- package/dist/types/plugins/text/underline/withUnderline.d.ts +1 -1
- package/dist/types/plugins/text/underline/withUnderline.d.ts.map +1 -1
- package/dist/types/slate-types.d.ts +1 -1
- package/dist/types/slate-types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/types/editor.d.ts +2 -2
- package/dist/types/types/editor.d.ts.map +1 -1
- package/dist/types/types/htmlDeserializer.d.ts +1 -1
- package/dist/types/types/htmlDeserializer.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +3 -3
- package/dist/types/types/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/components/RichTextEditor.tsx +3 -3
- package/src/components/index.ts +2 -2
- package/src/components/triggers/EditorWrapNodeTrigger.tsx +1 -1
- package/src/components/triggers/index.ts +4 -4
- package/src/editor/createEditor.ts +2 -2
- package/src/editor/createEditorWithEssentials.tsx +5 -5
- package/src/editor/index.ts +4 -4
- package/src/editor/methods/addMarks.ts +1 -1
- package/src/editor/methods/closestBlockEntry.ts +1 -1
- package/src/editor/methods/closestViableBlockContainerEntry.ts +1 -1
- package/src/editor/methods/hasMarks.ts +1 -1
- package/src/editor/methods/hasParentOfType.ts +1 -1
- package/src/editor/methods/index.ts +19 -19
- package/src/editor/methods/permissivelyDeserializeNodes.ts +2 -2
- package/src/editor/methods/removeMarks.ts +1 -1
- package/src/editor/methods/serializeNodes.ts +1 -1
- package/src/editor/methods/strictlyDeserializeNodes.ts +2 -2
- package/src/editor/methods/textToSpecifics.ts +1 -1
- package/src/editor/methods/toLatestFormat.ts +1 -1
- package/src/index.ts +6 -6
- package/src/internal/utils/EditorPasteUtils.ts +2 -2
- package/src/internal/utils/index.ts +2 -2
- package/src/plugins/attributes/alignment/index.ts +1 -1
- package/src/plugins/attributes/index.ts +1 -1
- package/src/plugins/behaviour/index.ts +1 -1
- package/src/plugins/behaviour/paste/HtmlDeserializer.ts +2 -2
- package/src/plugins/behaviour/paste/createMarkHtmlDeserializer.ts +1 -1
- package/src/plugins/behaviour/paste/index.ts +2 -2
- package/src/plugins/behaviour/paste/withPaste.ts +3 -3
- package/src/plugins/element/anchors/AnchorElement.ts +2 -2
- package/src/plugins/element/anchors/AnchorHtmlDeserializer.ts +1 -1
- package/src/plugins/element/anchors/AnchorModifications.ts +1 -1
- package/src/plugins/element/anchors/index.ts +3 -3
- package/src/plugins/element/anchors/withAnchors.ts +5 -5
- package/src/plugins/element/headings/HeadingElement.ts +3 -3
- package/src/plugins/element/headings/HeadingHtmlDeserializer.ts +3 -3
- package/src/plugins/element/headings/index.ts +3 -3
- package/src/plugins/element/headings/withHeadings.ts +4 -4
- package/src/plugins/element/horizonalRules/HorizontalRuleElement.ts +1 -1
- package/src/plugins/element/horizonalRules/index.ts +2 -2
- package/src/plugins/element/horizonalRules/withHorizontalRules.ts +2 -2
- package/src/plugins/element/index.ts +7 -7
- package/src/plugins/element/lists/ListElement.ts +4 -4
- package/src/plugins/element/lists/ListHtmlDeserializer.ts +6 -6
- package/src/plugins/element/lists/ListItemElement.ts +3 -3
- package/src/plugins/element/lists/OrderedListElement.ts +5 -5
- package/src/plugins/element/lists/UnorderedListElement.ts +5 -5
- package/src/plugins/element/lists/index.ts +5 -5
- package/src/plugins/element/lists/transforms/dedentListItem.ts +5 -5
- package/src/plugins/element/lists/transforms/indentListItem.ts +4 -4
- package/src/plugins/element/lists/transforms/index.ts +4 -4
- package/src/plugins/element/lists/transforms/normalizeListElement.ts +2 -2
- package/src/plugins/element/lists/transforms/toggleListElement.ts +5 -5
- package/src/plugins/element/lists/withLists.ts +8 -8
- package/src/plugins/element/paragraphs/ParagraphElement.ts +3 -3
- package/src/plugins/element/paragraphs/ParagraphHtmlDeserializer.ts +2 -2
- package/src/plugins/element/paragraphs/index.ts +3 -3
- package/src/plugins/element/paragraphs/withParagraphs.ts +4 -4
- package/src/plugins/element/scrollTargets/ScrollTargetElement.ts +1 -1
- package/src/plugins/element/scrollTargets/index.ts +2 -2
- package/src/plugins/element/scrollTargets/withScrollTargets.ts +2 -2
- package/src/plugins/element/tables/TableCellElement.ts +3 -3
- package/src/plugins/element/tables/TableElement.ts +5 -5
- package/src/plugins/element/tables/TableElementSelection.ts +2 -2
- package/src/plugins/element/tables/TableHtmlDeserializer.ts +4 -4
- package/src/plugins/element/tables/TableModifications.ts +4 -4
- package/src/plugins/element/tables/TableRowElement.ts +4 -4
- package/src/plugins/element/tables/gaugeTableColumnCount.ts +2 -2
- package/src/plugins/element/tables/index.ts +5 -5
- package/src/plugins/element/tables/withTables.ts +8 -8
- package/src/plugins/index.ts +4 -4
- package/src/plugins/text/bold/boldMark.ts +1 -1
- package/src/plugins/text/bold/index.ts +2 -2
- package/src/plugins/text/bold/withBold.ts +3 -3
- package/src/plugins/text/code/codeMark.ts +1 -1
- package/src/plugins/text/code/index.ts +2 -2
- package/src/plugins/text/code/withCode.ts +2 -2
- package/src/plugins/text/highlight/highlightMark.ts +1 -1
- package/src/plugins/text/highlight/index.ts +2 -2
- package/src/plugins/text/highlight/withHighlight.ts +2 -2
- package/src/plugins/text/index.ts +7 -7
- package/src/plugins/text/italic/index.ts +2 -2
- package/src/plugins/text/italic/italicMark.ts +1 -1
- package/src/plugins/text/italic/withItalic.ts +3 -3
- package/src/plugins/text/newline/index.ts +1 -1
- package/src/plugins/text/newline/withNewline.ts +1 -1
- package/src/plugins/text/strikeThrough/index.ts +2 -2
- package/src/plugins/text/strikeThrough/strikeThroughMark.ts +1 -1
- package/src/plugins/text/strikeThrough/withStrikeThrough.ts +3 -3
- package/src/plugins/text/underline/index.ts +2 -2
- package/src/plugins/text/underline/underlineMark.ts +1 -1
- package/src/plugins/text/underline/withUnderline.ts +3 -3
- package/src/slate-types.ts +1 -1
- package/src/types/editor.ts +2 -2
- package/src/types/htmlDeserializer.ts +1 -1
- package/src/types/index.ts +3 -3
|
@@ -1 +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;;;"}
|
|
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/index.js'\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;;;"}
|
|
@@ -1 +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;"}
|
|
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/index.js'\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;"}
|
|
@@ -1 +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;;"}
|
|
1
|
+
{"version":3,"file":"withUnderline.cjs","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/underline/withUnderline.ts"],"sourcesContent":["import { underlineMark, underlineMarkPlugin } from './underlineMark.js'\nimport { createMarkHtmlDeserializer } from '../../behaviour/index.js'\nimport { EditorPlugin } from '../../../types/index.js'\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;;"}
|
|
@@ -1 +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;"}
|
|
1
|
+
{"version":3,"file":"withUnderline.js","sources":["../../../../../../../packages/react-slate-editor-base/src/plugins/text/underline/withUnderline.ts"],"sourcesContent":["import { underlineMark, underlineMarkPlugin } from './underlineMark.js'\nimport { createMarkHtmlDeserializer } from '../../behaviour/index.js'\nimport { EditorPlugin } from '../../../types/index.js'\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;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldBasicProps } from '@contember/react-binding';
|
|
2
2
|
import { FunctionComponent } from 'react';
|
|
3
|
-
import { CreateEditorPublicOptions } from '../editor';
|
|
3
|
+
import { CreateEditorPublicOptions } from '../editor/index.js';
|
|
4
4
|
export type RichTextEditorProps = FieldBasicProps & CreateEditorPublicOptions & {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
};
|
|
@@ -1 +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,
|
|
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,oBAAoB,CAAA;AAI5E,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"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './triggers';
|
|
2
|
-
export * from './RichTextEditor';
|
|
1
|
+
export * from './triggers/index.js';
|
|
2
|
+
export * from './RichTextEditor.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AAEnC,cAAc,qBAAqB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './EditorElementTrigger';
|
|
2
|
-
export * from './EditorGenericTrigger';
|
|
3
|
-
export * from './EditorMarkTrigger';
|
|
4
|
-
export * from './EditorWrapNodeTrigger';
|
|
1
|
+
export * from './EditorElementTrigger.js';
|
|
2
|
+
export * from './EditorGenericTrigger.js';
|
|
3
|
+
export * from './EditorMarkTrigger.js';
|
|
4
|
+
export * from './EditorWrapNodeTrigger.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/triggers/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Editor } from 'slate';
|
|
2
|
-
import { EditorPlugin } from '../types';
|
|
2
|
+
import { EditorPlugin } from '../types/index.js';
|
|
3
3
|
import { FunctionComponent, ReactNode } from 'react';
|
|
4
4
|
import { EntityAccessor } from '@contember/react-binding';
|
|
5
5
|
import { Environment } from '@contember/react-binding';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEditor.d.ts","sourceRoot":"","sources":["../../../src/editor/createEditor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,YAAY,EAA4B,MAAM,
|
|
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,mBAAmB,CAAA;AAC1E,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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type { ElementDataAttributes } from './methods';
|
|
1
|
+
export type { ElementDataAttributes } from './methods/index.js';
|
|
2
2
|
export declare const ContemberEditor: {
|
|
3
|
-
addMarks: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, marks: import("
|
|
3
|
+
addMarks: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, marks: import("../index.js").TextSpecifics<T>) => void;
|
|
4
4
|
canToggleMark: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, markName: string, markValue?: unknown) => boolean;
|
|
5
5
|
closest: <E extends import("slate").Editor>(editor: E, options: {
|
|
6
6
|
at?: import("slate").Location;
|
|
@@ -9,27 +9,27 @@ export declare const ContemberEditor: {
|
|
|
9
9
|
closestBlockEntry: <E extends import("slate").Editor>(editor: E, options?: {
|
|
10
10
|
at?: import("slate").Location;
|
|
11
11
|
match?: (node: import("slate").Element) => boolean;
|
|
12
|
-
}) => import("slate").NodeEntry<import("
|
|
12
|
+
}) => import("slate").NodeEntry<import("../slate-types.js").Editor | import("../slate-types.js").EditorElement> | undefined;
|
|
13
13
|
closestViableBlockContainerEntry: <E extends import("slate").Editor>(editor: E, options?: {
|
|
14
14
|
at?: import("slate").Location;
|
|
15
15
|
}) => import("slate").NodeEntry<import("slate").Element | import("slate").Editor> | undefined;
|
|
16
16
|
ejectElement: <E extends import("slate").Editor>(editor: E, path: import("slate").Path) => void;
|
|
17
|
-
elementToSpecifics: <Element extends import("slate").Element = import("
|
|
18
|
-
getElementDataAttributes: <Element extends import("slate").Element = import("
|
|
19
|
-
getPreviousSibling: <E extends import("slate").Editor = import("
|
|
20
|
-
hasMarks: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, marks: import("
|
|
17
|
+
elementToSpecifics: <Element extends import("slate").Element = import("../slate-types.js").EditorElement>(element: Element) => Partial<Element>;
|
|
18
|
+
getElementDataAttributes: <Element extends import("slate").Element = import("../slate-types.js").EditorElement>(element: Element, attributeNamePrefix?: string) => import("./index.js").ElementDataAttributes;
|
|
19
|
+
getPreviousSibling: <E extends import("slate").Editor = import("../slate-types.js").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("../index.js").TextSpecifics<T>, options?: {
|
|
21
21
|
from?: import("slate").Path;
|
|
22
22
|
to?: import("slate").Path;
|
|
23
23
|
}) => boolean;
|
|
24
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
25
|
isElementType: <Element extends import("slate").Element>(element: import("slate").Node, type: Element["type"], suchThat?: Partial<Element>) => boolean;
|
|
26
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("
|
|
27
|
+
removeMarks: <T extends import("slate").Text, E extends import("slate").Editor>(editor: E, marks: import("../index.js").TextSpecifics<T>) => void;
|
|
28
28
|
serializeNodes: <E extends import("slate").Editor>(editor: E, elements: Array<import("slate").Element | import("slate").Text>, errorMessage?: string) => string;
|
|
29
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("
|
|
31
|
-
toLatestFormat: <E extends import("slate").Editor>(editor: E, potentiallyOldNode: import("
|
|
30
|
+
textToSpecifics: <Text extends import("slate").Text = import("../slate-types.js").EditorText>(textNode: Text) => import("../index.js").TextSpecifics<Text>;
|
|
31
|
+
toLatestFormat: <E extends import("slate").Editor>(editor: E, potentiallyOldNode: import("../index.js").SerializableEditorNode) => import("../index.js").SerializableEditorNode;
|
|
32
32
|
topLevelNodes: <E extends import("slate").Editor>(editor: E) => Generator<import("slate").NodeEntry<import("slate").Node>, void, undefined>;
|
|
33
33
|
};
|
|
34
|
-
export * from './createEditor';
|
|
34
|
+
export * from './createEditor.js';
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/index.ts"],"names":[],"mappings":"AAsBA,YAAY,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/index.ts"],"names":[],"mappings":"AAsBA,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG/D,eAAO,MAAM,eAAe;;;;UAhBzB,CAAC;;;;UAEA,CAAC;aACA,CAAC;;;UAGF,CAAC;;;;;;;YADK,CAAC;UACH,CAAC;;;;;;;;;;;CA8BR,CAAA;AAED,cAAc,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Editor as SlateEditor, Text as SlateText } from 'slate';
|
|
2
|
-
import { TextSpecifics } from '../../types/editor';
|
|
2
|
+
import { TextSpecifics } from '../../types/editor.js';
|
|
3
3
|
export declare const addMarks: <T extends SlateText, E extends SlateEditor>(editor: E, marks: TextSpecifics<T>) => void;
|
|
4
4
|
//# sourceMappingURL=addMarks.d.ts.map
|
|
@@ -1 +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,
|
|
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,uBAAuB,CAAA;AAErD,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,WAAW,EAAE,QAAQ,CAAC,EAAE,OAAO,aAAa,CAAC,CAAC,CAAC,SAMtG,CAAA"}
|
|
@@ -2,5 +2,5 @@ import { Editor as SlateEditor, Element, Location } from 'slate';
|
|
|
2
2
|
export declare const closestBlockEntry: <E extends SlateEditor>(editor: E, options?: {
|
|
3
3
|
at?: Location;
|
|
4
4
|
match?: (node: Element) => boolean;
|
|
5
|
-
}) => import("slate").NodeEntry<import("
|
|
5
|
+
}) => import("slate").NodeEntry<import("../../slate-types.js").Editor | import("../../slate-types.js").EditorElement> | undefined;
|
|
6
6
|
//# sourceMappingURL=closestBlockEntry.d.ts.map
|
|
@@ -1 +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,
|
|
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,gIAKC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Editor as SlateEditor, Path, Text as SlateText } from 'slate';
|
|
2
|
-
import { TextSpecifics } from '../../types/editor';
|
|
2
|
+
import { TextSpecifics } from '../../types/editor.js';
|
|
3
3
|
export declare const hasMarks: <T extends SlateText, E extends SlateEditor>(editor: E, marks: TextSpecifics<T>, options?: {
|
|
4
4
|
from?: Path;
|
|
5
5
|
to?: Path;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/hasMarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAqB,IAAI,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"hasMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/hasMarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAqB,IAAI,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AACzF,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAErD,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,WAAW,EAClE,QAAQ,CAAC,EACT,OAAO,aAAa,CAAC,CAAC,CAAC,EACvB,UAAS;IACR,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,EAAE,CAAC,EAAE,IAAI,CAAA;CACJ,YAsBN,CAAA"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export * from './addMarks';
|
|
2
|
-
export * from './canToggleMark';
|
|
3
|
-
export * from './closest';
|
|
4
|
-
export * from './closestBlockEntry';
|
|
5
|
-
export * from './closestViableBlockContainerEntry';
|
|
6
|
-
export * from './ejectElement';
|
|
7
|
-
export * from './elementToSpecifics';
|
|
8
|
-
export * from './getElementDataAttributes';
|
|
9
|
-
export * from './hasMarks';
|
|
10
|
-
export * from './hasParentOfType';
|
|
11
|
-
export * from './getPreviousSibling';
|
|
12
|
-
export * from './isElementType';
|
|
13
|
-
export * from './permissivelyDeserializeNodes';
|
|
14
|
-
export * from './removeMarks';
|
|
15
|
-
export * from './serializeNodes';
|
|
16
|
-
export * from './strictlyDeserializeNodes';
|
|
17
|
-
export * from './textToSpecifics';
|
|
18
|
-
export * from './toLatestFormat';
|
|
19
|
-
export * from './topLevelNodes';
|
|
1
|
+
export * from './addMarks.js';
|
|
2
|
+
export * from './canToggleMark.js';
|
|
3
|
+
export * from './closest.js';
|
|
4
|
+
export * from './closestBlockEntry.js';
|
|
5
|
+
export * from './closestViableBlockContainerEntry.js';
|
|
6
|
+
export * from './ejectElement.js';
|
|
7
|
+
export * from './elementToSpecifics.js';
|
|
8
|
+
export * from './getElementDataAttributes.js';
|
|
9
|
+
export * from './hasMarks.js';
|
|
10
|
+
export * from './hasParentOfType.js';
|
|
11
|
+
export * from './getPreviousSibling.js';
|
|
12
|
+
export * from './isElementType.js';
|
|
13
|
+
export * from './permissivelyDeserializeNodes.js';
|
|
14
|
+
export * from './removeMarks.js';
|
|
15
|
+
export * from './serializeNodes.js';
|
|
16
|
+
export * from './strictlyDeserializeNodes.js';
|
|
17
|
+
export * from './textToSpecifics.js';
|
|
18
|
+
export * from './toLatestFormat.js';
|
|
19
|
+
export * from './topLevelNodes.js';
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,uCAAuC,CAAA;AACrD,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mCAAmC,CAAA;AACjD,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Editor as SlateEditor, Text as SlateText } from 'slate';
|
|
2
|
-
import { TextSpecifics } from '../../types/editor';
|
|
2
|
+
import { TextSpecifics } from '../../types/editor.js';
|
|
3
3
|
export declare const removeMarks: <T extends SlateText, E extends SlateEditor>(editor: E, marks: TextSpecifics<T>) => void;
|
|
4
4
|
//# sourceMappingURL=removeMarks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/removeMarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,IAAI,WAAW,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"removeMarks.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/removeMarks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,IAAI,WAAW,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAErD,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,WAAW,EAAE,QAAQ,CAAC,EAAE,OAAO,aAAa,CAAC,CAAC,CAAC,SAMzG,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Text as SlateText } from 'slate';
|
|
2
|
-
import { TextSpecifics } from '../../types/editor';
|
|
2
|
+
import { TextSpecifics } from '../../types/editor.js';
|
|
3
3
|
export declare const textToSpecifics: <Text extends SlateText = SlateText>(textNode: Text) => TextSpecifics<Text>;
|
|
4
4
|
//# sourceMappingURL=textToSpecifics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textToSpecifics.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/textToSpecifics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"textToSpecifics.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/textToSpecifics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAErD,eAAO,MAAM,eAAe,GAAI,IAAI,SAAS,SAAS,GAAG,SAAS,EAAE,UAAU,IAAI,KAAG,aAAa,CAAC,IAAI,CAGtG,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Editor as SlateEditor } from 'slate';
|
|
2
|
-
import { SerializableEditorNode } from '../../types/editor';
|
|
2
|
+
import { SerializableEditorNode } from '../../types/editor.js';
|
|
3
3
|
export declare const toLatestFormat: <E extends SlateEditor>(editor: E, potentiallyOldNode: SerializableEditorNode) => SerializableEditorNode;
|
|
4
4
|
//# sourceMappingURL=toLatestFormat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toLatestFormat.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/toLatestFormat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,WAAW,EAA2B,MAAM,OAAO,CAAA;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"toLatestFormat.d.ts","sourceRoot":"","sources":["../../../../src/editor/methods/toLatestFormat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,WAAW,EAA2B,MAAM,OAAO,CAAA;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAE9D,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,WAAW,EACnD,QAAQ,CAAC,EACT,oBAAoB,sBAAsB,KACxC,sBA2BF,CAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './editor';
|
|
2
|
-
export * from './components';
|
|
3
|
-
export * from './types';
|
|
4
|
-
export * from './slate-types';
|
|
5
|
-
export * from './slate-reexport';
|
|
6
|
-
export * from './plugins';
|
|
1
|
+
export * from './editor/index.js';
|
|
2
|
+
export * from './components/index.js';
|
|
3
|
+
export * from './types/index.js';
|
|
4
|
+
export * from './slate-types.js';
|
|
5
|
+
export * from './slate-reexport.js';
|
|
6
|
+
export * from './plugins/index.js';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodesWithType } from '../../plugins/behaviour/paste/HtmlDeserializer';
|
|
2
|
-
import { EditorDefaultElementFactory } from '../../types/editor';
|
|
1
|
+
import { NodesWithType } from '../../plugins/behaviour/paste/HtmlDeserializer.js';
|
|
2
|
+
import { EditorDefaultElementFactory } from '../../types/editor.js';
|
|
3
3
|
export declare class EditorPasteUtils {
|
|
4
4
|
static wordPasteListItemContent(allNodes: Iterable<Node> | ArrayLike<Node>): Node[];
|
|
5
5
|
static flattenNodesWithType(withType: NodesWithType[], defaultElementFactory: EditorDefaultElementFactory): NodesWithType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorPasteUtils.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/EditorPasteUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"EditorPasteUtils.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/EditorPasteUtils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mDAAmD,CAAA;AACjF,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAA;AAEnE,qBAAa,gBAAgB;WACd,wBAAwB,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE;WA6B5E,oBAAoB,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,qBAAqB,EAAE,2BAA2B,GAAG,aAAa;CAkBhI"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './parseUrl';
|
|
2
|
-
export * from './parseIframeSrc';
|
|
1
|
+
export * from './parseUrl.js';
|
|
2
|
+
export * from './parseIframeSrc.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,qBAAqB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './alignButton';
|
|
1
|
+
export * from './alignButton.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/attributes/alignment/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/attributes/alignment/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './alignment';
|
|
1
|
+
export * from './alignment/index.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/attributes/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/attributes/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './paste';
|
|
1
|
+
export * from './paste/index.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/behaviour/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/behaviour/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Descendant, Element as SlateElement } from 'slate';
|
|
2
|
-
import { HtmlDeserializerPlugin } from '../../../types/htmlDeserializer';
|
|
3
|
-
import { EditorDefaultElementFactory } from '../../../types/editor';
|
|
2
|
+
import { HtmlDeserializerPlugin } from '../../../types/htmlDeserializer.js';
|
|
3
|
+
import { EditorDefaultElementFactory } from '../../../types/editor.js';
|
|
4
4
|
export interface TextAttrs {
|
|
5
5
|
[key: string]: any;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HtmlDeserializer.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/behaviour/paste/HtmlDeserializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,IAAI,YAAY,EAAqB,MAAM,OAAO,CAAA;AAC9E,OAAO,EAAgC,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HtmlDeserializer.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/behaviour/paste/HtmlDeserializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,IAAI,YAAY,EAAqB,MAAM,OAAO,CAAA;AAC9E,OAAO,EAAgC,sBAAsB,EAAE,MAAM,oCAAoC,CAAA;AACzG,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AAItE,MAAM,WAAW,SAAS;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB;AAED,MAAM,MAAM,qBAAqB,GAC9B;IAAE,KAAK,EAAE,UAAU,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,GAC7C;IAAE,QAAQ,EAAE,YAAY,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAE,CAAA;AAElD,MAAM,MAAM,aAAa,GAAG,qBAAqB,GAAG,IAAI,CAAA;AAExD,qBAAa,gBAAgB;IAEpB,oBAAoB,EAAE,2BAA2B;IACxD,OAAO,CAAC,OAAO;gBADR,oBAAoB,EAAE,2BAA2B,EAChD,OAAO,EAAE,sBAAsB,EAAE;IAI1C,cAAc,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,GAAE,OAAc;IAI/D,oBAAoB,CAAC,QAAQ,EAAE,IAAI,EAAE,EAAE,mBAAmB,EAAE,SAAS;;;;;;;IAqE5E,iBAAiB,CAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,EAAE,EAAE,mBAAmB,EAAE,SAAS,GAAG,UAAU,EAAE;IAYxF,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,mBAAmB,EAAE,SAAS,GAAG,UAAU,EAAE;IAK7E,OAAO,CAAC,mBAAmB;IAiB3B,OAAO,CAAC,kBAAkB;IAoB1B,OAAO,CAAC,6BAA6B;IAUrC,OAAO,CAAC,iBAAiB;CAczB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { HtmlDeserializerPlugin } from '../../../types/htmlDeserializer';
|
|
1
|
+
import { HtmlDeserializerPlugin } from '../../../types/htmlDeserializer.js';
|
|
2
2
|
export declare const createMarkHtmlDeserializer: (markType: string, tagMatcher: (el: HTMLElement) => boolean, attributeMatcher: (el: HTMLElement) => boolean) => HtmlDeserializerPlugin;
|
|
3
3
|
//# sourceMappingURL=createMarkHtmlDeserializer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createMarkHtmlDeserializer.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/behaviour/paste/createMarkHtmlDeserializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"createMarkHtmlDeserializer.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/behaviour/paste/createMarkHtmlDeserializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAA;AAE3E,eAAO,MAAM,0BAA0B,GACtC,UAAU,MAAM,EAChB,YAAY,CAAC,EAAE,EAAE,WAAW,KAAK,OAAO,EACxC,kBAAkB,CAAC,EAAE,EAAE,WAAW,KAAK,OAAO,KAC5C,sBAUD,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './createMarkHtmlDeserializer';
|
|
2
|
-
export * from './withPaste';
|
|
1
|
+
export * from './createMarkHtmlDeserializer.js';
|
|
2
|
+
export * from './withPaste.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/behaviour/paste/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/behaviour/paste/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gBAAgB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Editor, Editor as SlateEditor, Element as SlateElement, Node as SlateNode } from 'slate';
|
|
2
|
-
import { EditorElementPlugin, ElementRenderer } from '../../../types';
|
|
2
|
+
import { EditorElementPlugin, ElementRenderer } from '../../../types/index.js';
|
|
3
3
|
export declare const anchorElementType: "anchor";
|
|
4
4
|
export interface AnchorElement extends SlateElement {
|
|
5
5
|
type: typeof anchorElementType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnchorElement.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/anchors/AnchorElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,IAAI,IAAI,SAAS,EAAyC,MAAM,OAAO,CAAA;AAExI,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AnchorElement.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/anchors/AnchorElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,IAAI,IAAI,SAAS,EAAyC,MAAM,OAAO,CAAA;AAExI,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAE9E,eAAO,MAAM,iBAAiB,EAAG,QAAiB,CAAA;AAElD,MAAM,WAAW,aAAc,SAAQ,YAAY;IAClD,IAAI,EAAE,OAAO,iBAAiB,CAAA;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAA;CACjC;AAED,eAAO,MAAM,eAAe,GAAI,SAAS,SAAS,KAAG,OAAO,IAAI,aAAsF,CAAA;AAEtJ,eAAO,MAAM,qBAAqB,GAAI,QAAQ,MAAM,YAGnD,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,YAAY;IAAE,MAAM,EAAE,eAAe,CAAC,aAAa,CAAC,CAAA;CAAE,KAAG,mBAAmB,CAAC,aAAa,CA4B5H,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnchorHtmlDeserializer.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/anchors/AnchorHtmlDeserializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AnchorHtmlDeserializer.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/anchors/AnchorHtmlDeserializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAEhE,eAAO,MAAM,sBAAsB,EAAE,sBAepC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './AnchorElement';
|
|
2
|
-
export * from './AnchorHtmlDeserializer';
|
|
3
|
-
export * from './withAnchors';
|
|
1
|
+
export * from './AnchorElement.js';
|
|
2
|
+
export * from './AnchorHtmlDeserializer.js';
|
|
3
|
+
export * from './withAnchors.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/anchors/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/anchors/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kBAAkB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Editor } from 'slate';
|
|
2
|
-
import { AnchorElement } from './AnchorElement';
|
|
3
|
-
import { ElementRenderer } from '../../../types';
|
|
2
|
+
import { AnchorElement } from './AnchorElement.js';
|
|
3
|
+
import { ElementRenderer } from '../../../types/index.js';
|
|
4
4
|
export declare const withAnchors: ({ render }: {
|
|
5
5
|
render: ElementRenderer<AnchorElement>;
|
|
6
6
|
}) => <E extends Editor>(editor: E) => E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withAnchors.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/anchors/withAnchors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAuB,MAAM,
|
|
1
|
+
{"version":3,"file":"withAnchors.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/anchors/withAnchors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAuB,MAAM,oBAAoB,CAAA;AAEvE,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAGzD,eAAO,MAAM,WAAW,GAAI,YAAY;IAAE,MAAM,EAAE,eAAe,CAAC,aAAa,CAAC,CAAA;CAAE,MAAM,CAAC,SAAS,MAAM,EAAE,QAAQ,CAAC,KAAG,CAerH,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Editor, Editor as SlateEditor, Element, Node as SlateNode, Path as SlatePath } from 'slate';
|
|
2
|
-
import { AlignDirection } from '../../attributes';
|
|
3
|
-
import { EditorElementPlugin, ElementRenderer } from '../../../types';
|
|
2
|
+
import { AlignDirection } from '../../attributes/index.js';
|
|
3
|
+
import { EditorElementPlugin, ElementRenderer } from '../../../types/index.js';
|
|
4
4
|
export declare const headingElementType: "heading";
|
|
5
5
|
export interface HeadingElement extends Element {
|
|
6
6
|
type: typeof headingElementType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingElement.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/headings/HeadingElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,IAAI,IAAI,SAAS,EAAc,MAAM,OAAO,CAAA;AAEhH,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HeadingElement.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/headings/HeadingElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,IAAI,IAAI,SAAS,EAAc,MAAM,OAAO,CAAA;AAEhH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAE9E,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAA;AAEpD,MAAM,WAAW,cAAe,SAAQ,OAAO;IAC9C,IAAI,EAAE,OAAO,kBAAkB,CAAA;IAC/B,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAA;CACjC;AAED,eAAO,MAAM,gBAAgB,GAC5B,SAAS,SAAS,EAClB,WAAW,OAAO,CAAC,cAAc,CAAC,KAChC,OAAO,IAAI,cAAsF,CAAA;AAEpG,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,EAAE,aAAa,SAAS,SAGzE,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,YAAY;IAAE,MAAM,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;CAAE,KAAG,mBAAmB,CAAC,cAAc,CAyB/H,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingHtmlDeserializer.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/headings/HeadingHtmlDeserializer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HeadingHtmlDeserializer.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/headings/HeadingHtmlDeserializer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAGhE,eAAO,MAAM,uBAAuB,EAAE,sBAerC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './HeadingElement';
|
|
2
|
-
export * from './HeadingHtmlDeserializer';
|
|
3
|
-
export * from './withHeadings';
|
|
1
|
+
export * from './HeadingElement.js';
|
|
2
|
+
export * from './HeadingHtmlDeserializer.js';
|
|
3
|
+
export * from './withHeadings.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/headings/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/headings/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mBAAmB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Editor } from 'slate';
|
|
2
|
-
import { HeadingElement } from './HeadingElement';
|
|
3
|
-
import { ElementRenderer } from '../../../types';
|
|
2
|
+
import { HeadingElement } from './HeadingElement.js';
|
|
3
|
+
import { ElementRenderer } from '../../../types/index.js';
|
|
4
4
|
export declare const withHeadings: ({ render }: {
|
|
5
5
|
render: ElementRenderer<HeadingElement>;
|
|
6
6
|
}) => <E extends Editor>(editor: E) => E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withHeadings.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/headings/withHeadings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA0F,MAAM,OAAO,CAAA;AAEtH,OAAO,EAAuB,cAAc,EAA8D,MAAM,
|
|
1
|
+
{"version":3,"file":"withHeadings.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/headings/withHeadings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAA0F,MAAM,OAAO,CAAA;AAEtH,OAAO,EAAuB,cAAc,EAA8D,MAAM,qBAAqB,CAAA;AAErI,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAEzD,eAAO,MAAM,YAAY,GAAI,YAAY;IAAE,MAAM,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;CAAE,MAAM,CAAC,SAAS,MAAM,EAAE,QAAQ,CAAC,KAAG,CAwGvH,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Editor, Editor as SlateEditor, Element as SlateElement, Node as SlateNode } from 'slate';
|
|
2
|
-
import { EditorElementPlugin, ElementRenderer } from '../../../types';
|
|
2
|
+
import { EditorElementPlugin, ElementRenderer } from '../../../types/index.js';
|
|
3
3
|
export declare const horizontalRuleElementType: "horizontalRule";
|
|
4
4
|
export interface HorizontalRuleElement extends SlateElement {
|
|
5
5
|
type: typeof horizontalRuleElementType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalRuleElement.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/horizonalRules/HorizontalRuleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,IAAI,IAAI,SAAS,EAAmC,MAAM,OAAO,CAAA;AAClI,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HorizontalRuleElement.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/horizonalRules/HorizontalRuleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,IAAI,IAAI,SAAS,EAAmC,MAAM,OAAO,CAAA;AAClI,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAE9E,eAAO,MAAM,yBAAyB,EAAG,gBAAyB,CAAA;AAElE,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IAC1D,IAAI,EAAE,OAAO,yBAAyB,CAAA;IACtC,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAA;CACjC;AAED,eAAO,MAAM,uBAAuB,GAAI,SAAS,SAAS,KAAG,OAAO,IAAI,qBACM,CAAA;AAE9E,eAAO,MAAM,6BAA6B,GAAI,QAAQ,MAAM,YAG3D,CAAA;AAED,eAAO,MAAM,2BAA2B,GACvC,YAAY;IAAE,MAAM,EAAE,eAAe,CAAC,qBAAqB,CAAC,CAAA;CAAE,KAC5D,mBAAmB,CAAC,qBAAqB,CAW1C,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './HorizontalRuleElement';
|
|
2
|
-
export * from './withHorizontalRules';
|
|
1
|
+
export * from './HorizontalRuleElement.js';
|
|
2
|
+
export * from './withHorizontalRules.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/horizonalRules/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/element/horizonalRules/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0BAA0B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Editor } from 'slate';
|
|
2
|
-
import { HorizontalRuleElement } from './HorizontalRuleElement';
|
|
3
|
-
import { ElementRenderer } from '../../../types';
|
|
2
|
+
import { HorizontalRuleElement } from './HorizontalRuleElement.js';
|
|
3
|
+
import { ElementRenderer } from '../../../types/index.js';
|
|
4
4
|
export declare const withHorizontalRules: ({ render }: {
|
|
5
5
|
render: ElementRenderer<HorizontalRuleElement>;
|
|
6
6
|
}) => <E extends Editor>(editor: E) => E;
|