@lofcz/platejs-core 52.3.4 → 53.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as TSlateEditor, $n as HtmlPlugin, $r as getEditorPlugin, $t as WhiteSpaceRule, A as applyDeepToNodes, Ai as SlatePluginMethods, An as getHtmlComments, Ar as DOMPlugin, At as BaseParagraphPlugin, B as ZustandStoreApi, Bn as cleanHtmlLinkElements, Br as insertExitBreak, Bt as endInlineFormattingContext, C as isSlateNode, Ci as RenderStaticNodeWrapper, Cn as inlineTagNames, Cr as getEdgeNodes, Ct as NodeComponents, D as isSlateText, Di as SlatePlugin, Dn as htmlElementToElement, Dr as ElementAffinity, Dt as SelectionRules, E as isSlateString, Ei as Serializer, En as htmlElementToLeaf, Er as AffinityPlugin, Et as PluginConfig, F as RenderLeafProps, Fn as deserializeHtmlNode, Fr as SlateExtensionConfig, Ft as withBreakRules, G as WithSlateOptions, Gn as DeserializeHtmlChildren, Gr as withPlateHistory, Gt as collapseWhiteSpaceNode, H as nanoid, Ha as AstPlugin, Hn as cleanHtmlEmptyElements, Hr as init, Ht as isLastNonEmptyTextOfInlineFormattingContext, I as RenderElementFn, In as deserializeHtmlElement, Ir as SlateExtensionPlugin, It as OverridePlugin, J as BaseEditor, Jn as LINE_FEED, Jr as getPluginKey, Jt as collapseWhiteSpace, K as createSlateEditor, Kn as DeserializeHtmlNodeReturnType, Kr as getContainerTypes, Kt as collapseWhiteSpaceElement, L as RenderElementProps, Ln as deserializeHtml, Lr as setValue, Lt as withOverrides, M as RenderTextFn, Mi as SlateShortcut, Mn as findHtmlElement, Mr as ScrollMode, Mt as withNormalizeRules, N as RenderTextProps, Ni as TextStaticProps, Nn as someHtmlElement, Nr as WithAutoScrollOptions, Nt as withMergeRules, O as isSlateVoid, Oi as SlatePluginConfig, On as htmlBrToNewLine, Or as AUTO_SCROLL, Ot as WithAnyKey, P as RenderLeafFn, Pi as TransformOptions, Pn as deserializeHtmlNodeChildren, Pr as withScrolling, Pt as withDeleteRules, Q as SlateEditor, Qn as ZERO_WIDTH_SPACE, Qr as getSlatePlugin, Qt as TrimStartRule, R as RenderChunkFn, Rn as copyBlockMarksToSpanChild, Rr as resetBlock, Rt as withNodeId, S as isSlateLeaf, Si as PartialEditorPlugin, Sn as isHtmlBlockElement, Sr as getMarkBoundaryAffinity, St as NodeComponent, T as isSlatePluginNode, Ti as RenderStaticNodeWrapperProps, Tn as htmlStringToDOMNode, Tr as AffinityConfig, Tt as ParserOptions, U as BaseWithSlateOptions, Un as cleanHtmlCrLf, Ur as ParserPlugin, Ut as inferWhiteSpaceRule, V as createZustandStore, Va as HandlerReturnType, Vn as cleanHtmlFontElements, Vr as InitOptions, Vt as upsertInlineFormattingContext, W as CreateSlateEditorOptions, Wn as cleanHtmlBrElements, Wr as HistoryPlugin, Wt as collapseWhiteSpaceText, X as KeyofNodePlugins, Xn as SPACE, Xr as getPluginType, Xt as CollapseWhiteSpaceState, Y as InferPlugins, Yn as NO_BREAK_SPACE, Yr as getPluginKeys, Yt as collapseString, Z as KeyofPlugins, Zn as TAB, Zr as getPluginTypes, Zt as TrimEndRule, _ as getInjectMatch, _i as NodeStaticWrapperComponentProps, _n as isHtmlTable, _r as LogLevel, _t as InferOptions, a as omitPluginContext, ai as Deserializer, an as replaceTagName, ar as GetCorePluginsOptions, at as BasePluginContext, b as isSlateEditor, bi as OverrideEditor, bn as isHtmlElement, br as isNodeAffinity, bt as MatchRules, c as isType, ci as ExtendEditorApi, cn as preCleanHtml, cr as ChunkingConfig, ct as BaseTransformOptions, d as isHotkey, di as HtmlSerializer, dn as pipeDeserializeHtmlLeaf, dr as NodeIdOptions, dt as EditOnlyConfig, ei as createSlatePlugin, en as unwrapHtmlElement, er as withChunking, et as AnyPluginConfig, f as getSlateClass, fi as InferConfig, fn as pipeDeserializeHtmlElement, fr as NodeIdPlugin, ft as ExtendConfig, g as getInjectedPlugins, gi as NodeStaticWrapperComponent, gn as isHtmlText, gr as DebugPlugin, gt as InferKey, h as keyToDataAttribute, hi as NodeStaticProps, hn as isOlSymbol, hr as DebugErrorType, ht as InferApi, i as overridePluginsByKey, ii as Decorate, in as traverseHtmlComments, ir as DebugConfig, it as BasePlugin, j as EditableProps, ji as SlatePlugins, jn as getDataNodeProps, jr as DomConfig, jt as ParagraphConfig, k as ApplyDeepToNodesOptions, ki as SlatePluginContext, kn as htmlBodyToFragment, kr as AutoScrollOperationsMap, kt as WithRequiredKey, l as Hotkeys, li as ExtendEditorTransforms, ln as postCleanHtml, lr as ChunkingPlugin, lt as BreakRules, m as getNodeDataAttributeKeys, mi as LeafStaticProps, mn as parseHtmlDocument, mr as normalizeNodeId, mt as GetInjectNodePropsReturnType, n as pipeOnNodeChange, ni as AnyEditorPlugin, nn as traverseHtmlNode, nr as CorePluginApi, nt as BaseHtmlDeserializer, o as normalizeDescendantsToDocumentFragment, oi as EditorPlugin, on as removeHtmlSurroundings, or as LengthConfig, ot as BasePluginNode, p as getPluginNodeProps, pi as InjectNodeProps, pn as parseHtmlElement, pr as NormalizeNodeIdOptions, pt as GetInjectNodePropsOptions, q as withSlate, qn as CARRIAGE_RETURN, qr as getPluginByType, qt as collapseWhiteSpaceChildren, r as pipeInsertDataQuery, ri as AnySlatePlugin, rn as traverseHtmlElements, rr as CorePluginTransforms, rt as BaseInjectProps, s as mergeDeepToNodes, si as ExtendEditor, sn as removeHtmlNodesBetweenComments, sr as getCorePlugins, st as BaseSerializer, t as pipeOnTextChange, ti as createTSlatePlugin, tn as traverseHtmlTexts, tr as CorePlugin, tt as BaseDeserializer, u as createHotkey, ui as HtmlDeserializer, un as pluginDeserializeHtml, ur as NodeIdConfig, ut as DeleteRules, v as defaultsDeepToNodes, vi as NodeStaticWrapperComponentReturnType, vn as isHtmlInlineElement, vr as PlateError, vt as InferSelectors, w as isSlatePluginElement, wi as RenderStaticNodeWrapperFunction, wn as htmlTextNodeToString, wr as EdgeNodes, wt as NormalizeRules, x as isSlateElement, xi as Parser, xn as isHtmlComment, xr as isNodesAffinity, xt as MergeRules, y as getSlateElements, yi as NormalizeInitialValue, yn as isHtmlFragmentHref, yr as setAffinitySelection, yt as InferTransforms, z as RenderChunkProps, zn as cleanHtmlTextNodes, zr as InsertExitBreakOptions, zt as LengthPlugin } from "./index-NTp--CEF";
2
- export { AUTO_SCROLL, AffinityConfig, AffinityPlugin, AnyEditorPlugin, AnyPluginConfig, AnySlatePlugin, ApplyDeepToNodesOptions, AstPlugin, AutoScrollOperationsMap, BaseDeserializer, BaseEditor, BaseHtmlDeserializer, BaseInjectProps, BaseParagraphPlugin, BasePlugin, BasePluginContext, BasePluginNode, BaseSerializer, BaseTransformOptions, BaseWithSlateOptions, BreakRules, CARRIAGE_RETURN, ChunkingConfig, ChunkingPlugin, CollapseWhiteSpaceState, CorePlugin, CorePluginApi, CorePluginTransforms, CreateSlateEditorOptions, DOMPlugin, DebugConfig, DebugErrorType, DebugPlugin, Decorate, DeleteRules, DeserializeHtmlChildren, DeserializeHtmlNodeReturnType, Deserializer, DomConfig, EdgeNodes, EditOnlyConfig, EditableProps, EditorPlugin, ElementAffinity, ExtendConfig, ExtendEditor, ExtendEditorApi, ExtendEditorTransforms, GetCorePluginsOptions, GetInjectNodePropsOptions, GetInjectNodePropsReturnType, HandlerReturnType, HistoryPlugin, Hotkeys, HtmlDeserializer, HtmlPlugin, HtmlSerializer, InferApi, InferConfig, InferKey, InferOptions, InferPlugins, InferSelectors, InferTransforms, InitOptions, InjectNodeProps, InsertExitBreakOptions, KeyofNodePlugins, KeyofPlugins, LINE_FEED, LeafStaticProps, LengthConfig, LengthPlugin, LogLevel, MatchRules, MergeRules, NO_BREAK_SPACE, NodeComponent, NodeComponents, NodeIdConfig, NodeIdOptions, NodeIdPlugin, NodeStaticProps, NodeStaticWrapperComponent, NodeStaticWrapperComponentProps, NodeStaticWrapperComponentReturnType, NormalizeInitialValue, NormalizeNodeIdOptions, NormalizeRules, OverrideEditor, OverridePlugin, ParagraphConfig, Parser, ParserOptions, ParserPlugin, PartialEditorPlugin, PlateError, PluginConfig, RenderChunkFn, RenderChunkProps, RenderElementFn, RenderElementProps, RenderLeafFn, RenderLeafProps, RenderStaticNodeWrapper, RenderStaticNodeWrapperFunction, RenderStaticNodeWrapperProps, RenderTextFn, RenderTextProps, SPACE, ScrollMode, SelectionRules, Serializer, SlateEditor, SlateExtensionConfig, SlateExtensionPlugin, SlatePlugin, SlatePluginConfig, SlatePluginContext, SlatePluginMethods, SlatePlugins, SlateShortcut, TAB, TSlateEditor, TextStaticProps, TransformOptions, TrimEndRule, TrimStartRule, WhiteSpaceRule, WithAnyKey, WithAutoScrollOptions, WithRequiredKey, WithSlateOptions, ZERO_WIDTH_SPACE, ZustandStoreApi, applyDeepToNodes, cleanHtmlBrElements, cleanHtmlCrLf, cleanHtmlEmptyElements, cleanHtmlFontElements, cleanHtmlLinkElements, cleanHtmlTextNodes, collapseString, collapseWhiteSpace, collapseWhiteSpaceChildren, collapseWhiteSpaceElement, collapseWhiteSpaceNode, collapseWhiteSpaceText, copyBlockMarksToSpanChild, createHotkey, createSlateEditor, createSlatePlugin, createTSlatePlugin, createZustandStore, defaultsDeepToNodes, deserializeHtml, deserializeHtmlElement, deserializeHtmlNode, deserializeHtmlNodeChildren, endInlineFormattingContext, findHtmlElement, getContainerTypes, getCorePlugins, getDataNodeProps, getEdgeNodes, getEditorPlugin, getHtmlComments, getInjectMatch, getInjectedPlugins, getMarkBoundaryAffinity, getNodeDataAttributeKeys, getPluginByType, getPluginKey, getPluginKeys, getPluginNodeProps, getPluginType, getPluginTypes, getSlateClass, getSlateElements, getSlatePlugin, htmlBodyToFragment, htmlBrToNewLine, htmlElementToElement, htmlElementToLeaf, htmlStringToDOMNode, htmlTextNodeToString, inferWhiteSpaceRule, init, inlineTagNames, insertExitBreak, isHotkey, isHtmlBlockElement, isHtmlComment, isHtmlElement, isHtmlFragmentHref, isHtmlInlineElement, isHtmlTable, isHtmlText, isLastNonEmptyTextOfInlineFormattingContext, isNodeAffinity, isNodesAffinity, isOlSymbol, isSlateEditor, isSlateElement, isSlateLeaf, isSlateNode, isSlatePluginElement, isSlatePluginNode, isSlateString, isSlateText, isSlateVoid, isType, keyToDataAttribute, mergeDeepToNodes, nanoid, normalizeDescendantsToDocumentFragment, normalizeNodeId, omitPluginContext, overridePluginsByKey, parseHtmlDocument, parseHtmlElement, pipeDeserializeHtmlElement, pipeDeserializeHtmlLeaf, pipeInsertDataQuery, pipeOnNodeChange, pipeOnTextChange, pluginDeserializeHtml, postCleanHtml, preCleanHtml, removeHtmlNodesBetweenComments, removeHtmlSurroundings, replaceTagName, resetBlock, setAffinitySelection, setValue, someHtmlElement, traverseHtmlComments, traverseHtmlElements, traverseHtmlNode, traverseHtmlTexts, unwrapHtmlElement, upsertInlineFormattingContext, withBreakRules, withChunking, withDeleteRules, withMergeRules, withNodeId, withNormalizeRules, withOverrides, withPlateHistory, withScrolling, withSlate };
1
+ import { $ as TSlateEditor, $i as Serializer, $n as cleanHtmlFontElements, $r as SlateExtensionConfig, $t as upsertInlineFormattingContext, A as applyDeepToNodes, Aa as ResolvedInputRule, Ai as AnySlatePlugin, An as isHtmlInlineElement, Ao as AstPlugin, Ar as PlateError, At as BaseParagraphPlugin, B as ZustandStoreApi, Bi as InjectNodeProps, Bn as htmlBrToNewLine, Br as navigate, Bt as STATIC_VALUE_CREATED_AT, C as isSlateNode, Ca as InsertDataInputRuleContext, Ci as getPluginType, Cn as pipeDeserializeHtmlLeaf, Cr as NodeIdOptions, Ct as NodeComponents, D as isSlateText, Da as MatchBlockFenceOptions, Di as createSlatePlugin, Dn as isOlSymbol, Dr as DebugErrorType, Dt as SelectionRules, E as isSlateString, Ea as MarkInputRuleConfig, Ei as getEditorPlugin, En as parseHtmlDocument, Er as normalizeNodeId, Et as PluginConfig, F as RenderLeafProps, Fa as TextSubstitutionPattern, Fi as ExtendEditorApi, Fn as inlineTagNames, Fr as getEdgeNodes, Ft as withBreakRules, G as WithSlateOptions, Gi as NodeStaticWrapperComponentReturnType, Gn as someHtmlElement, Gr as NAVIGATION_FEEDBACK_KEY, Gt as createBlockFenceInputRule, H as nanoid, Hi as NodeStaticProps, Hn as getHtmlComments, Hr as flashTarget, Ht as LengthPlugin, I as RenderElementFn, Ii as ExtendEditorTransforms, In as htmlTextNodeToString, Ir as EdgeNodes, It as OverridePlugin, J as BaseEditor, Ji as Parser, Jn as deserializeHtmlElement, Jr as NavigationFeedbackPluginKey, Jt as createTextSubstitutionInputRule, K as createSlateEditor, Ki as NormalizeInitialValue, Kn as deserializeHtmlNodeChildren, Kr as NavigationFeedbackActiveTarget, Kt as createBlockStartInputRule, L as RenderElementProps, Li as HtmlDeserializer, Ln as htmlStringToDOMNode, Lr as AffinityConfig, Lt as withOverrides, M as RenderTextFn, Ma as SelectionInputRuleContext, Mi as Deserializer, Mn as isHtmlElement, Mr as isNodeAffinity, Mt as withNormalizeRules, N as RenderTextProps, Na as TextSubstitutionInputRuleConfig, Ni as EditorPlugin, Nn as isHtmlComment, Nr as isNodesAffinity, Nt as withMergeRules, O as isSlateVoid, Oa as MatchBlockStartOptions, Oi as createTSlatePlugin, On as isHtmlText, Or as DebugPlugin, Ot as WithAnyKey, P as RenderLeafFn, Pa as TextSubstitutionMatch, Pi as ExtendEditor, Pn as isHtmlBlockElement, Pr as getMarkBoundaryAffinity, Pt as withDeleteRules, Q as SlateEditor, Qi as RenderStaticNodeWrapperProps, Qn as cleanHtmlLinkElements, Qr as NavigationNavigateOptions, Qt as endInlineFormattingContext, R as RenderChunkFn, Ri as HtmlSerializer, Rn as htmlElementToLeaf, Rr as AffinityPlugin, Rt as withNodeId, S as isSlateLeaf, Sa as InsertDataInputRule, Si as getPluginKeys, Sn as pluginDeserializeHtml, Sr as NodeIdConfig, St as NodeComponent, T as isSlatePluginNode, Ta as InsertTextInputRuleContext, Ti as getSlatePlugin, Tn as parseHtmlElement, Tr as NormalizeNodeIdOptions, Tt as ParserOptions, U as BaseWithSlateOptions, Ui as NodeStaticWrapperComponent, Un as getDataNodeProps, Ur as resolveNavigationFeedbackTarget, Ut as defineInputRule, V as createZustandStore, Vi as LeafStaticProps, Vn as htmlBodyToFragment, Vr as clearNavigationFeedbackTarget, Vt as normalizeStaticValue, W as CreateSlateEditorOptions, Wi as NodeStaticWrapperComponentProps, Wn as findHtmlElement, Wr as NavigationFeedbackPlugin, Wt as createRuleFactory, X as KeyofNodePlugins, Xi as RenderStaticNodeWrapper, Xn as copyBlockMarksToSpanChild, Xr as NavigationFeedbackTarget, Xt as matchBlockStart, Y as InferPlugins, Yi as PartialEditorPlugin, Yn as deserializeHtml, Yr as NavigationFeedbackStoredTarget, Yt as matchBlockFence, Z as KeyofPlugins, Zi as RenderStaticNodeWrapperFunction, Zn as cleanHtmlTextNodes, Zr as NavigationFlashTargetOptions, Zt as matchDelimitedInline, _ as getInjectMatch, _a as InputRulesConfig, _i as HistoryPlugin, _n as replaceTagName, _r as GetCorePluginsOptions, _t as InferOptions, a as omitPluginContext, aa as SlateShortcut, ai as InsertExitBreakOptions, an as collapseWhiteSpaceChildren, ar as CARRIAGE_RETURN, at as BasePluginContext, b as isSlateEditor, ba as InsertBreakInputRule, bi as getPluginByType, bn as preCleanHtml, br as ChunkingConfig, bt as MatchRules, c as isType, ca as AnyInputRule, ci as init, cn as CollapseWhiteSpaceState, cr as SPACE, ct as BaseTransformOptions, d as isHotkey, da as BlockFenceInputRuleMatch, di as DOMPlugin, dn as WhiteSpaceRule, dr as HtmlPlugin, dt as EditOnlyConfig, ea as SlatePlugin, ei as SlateExtensionPlugin, en as isLastNonEmptyTextOfInlineFormattingContext, er as cleanHtmlEmptyElements, et as AnyPluginConfig, f as getSlateClass, fa as BlockStartInputRuleConfig, fi as DomConfig, fn as unwrapHtmlElement, fr as withChunking, ft as ExtendConfig, g as getInjectedPlugins, ga as InputRuleTarget, gi as ParserPlugin, gn as traverseHtmlComments, gr as DebugConfig, gt as InferKey, h as keyToDataAttribute, ha as InputRuleBuilder, hi as withScrolling, hn as traverseHtmlElements, hr as CorePluginTransforms, ht as InferApi, i as overridePluginsByKey, ia as SlatePlugins, ii as liftBlock, in as collapseWhiteSpaceElement, ir as DeserializeHtmlNodeReturnType, it as BasePlugin, j as EditableProps, ja as ResolvedInputRulesMeta, ji as Decorate, jn as isHtmlFragmentHref, jr as setAffinitySelection, jt as ParagraphConfig, k as ApplyDeepToNodesOptions, ka as MatchDelimitedInlineOptions, ki as AnyEditorPlugin, kn as isHtmlTable, ko as HandlerReturnType, kr as LogLevel, kt as WithRequiredKey, l as Hotkeys, la as BaseInputRule, li as AUTO_SCROLL, ln as TrimEndRule, lr as TAB, lt as BreakRules, m as getNodeDataAttributeKeys, ma as DelimitedInlineInputRuleMatch, mi as WithAutoScrollOptions, mn as traverseHtmlNode, mr as CorePluginApi, mt as GetInjectNodePropsReturnType, n as pipeOnNodeChange, na as SlatePluginContext, ni as resetBlock, nn as collapseWhiteSpaceText, nr as cleanHtmlBrElements, nt as BaseHtmlDeserializer, o as normalizeDescendantsToDocumentFragment, oa as TextStaticProps, oi as insertExitBreak, on as collapseWhiteSpace, or as LINE_FEED, ot as BasePluginNode, p as getPluginNodeProps, pa as BlockStartInputRuleMatch, pi as ScrollMode, pn as traverseHtmlTexts, pr as CorePlugin, pt as GetInjectNodePropsOptions, q as withSlate, qi as OverrideEditor, qn as deserializeHtmlNode, qr as NavigationFeedbackConfig, qt as createMarkInputRule, r as pipeInsertDataQuery, ra as SlatePluginMethods, ri as LiftBlockOptions, rn as collapseWhiteSpaceNode, rr as DeserializeHtmlChildren, rt as BaseInjectProps, s as mergeDeepToNodes, sa as TransformOptions, si as InitOptions, sn as collapseString, sr as NO_BREAK_SPACE, st as BaseSerializer, t as pipeOnTextChange, ta as SlatePluginConfig, ti as setValue, tn as inferWhiteSpaceRule, tr as cleanHtmlCrLf, tt as BaseDeserializer, u as createHotkey, ua as BlockFenceInputRuleConfig, ui as AutoScrollOperationsMap, un as TrimStartRule, ur as ZERO_WIDTH_SPACE, ut as DeleteRules, v as defaultsDeepToNodes, va as InputRulesDefinition, vi as withPlateHistory, vn as removeHtmlSurroundings, vr as LengthConfig, vt as InferSelectors, w as isSlatePluginElement, wa as InsertTextInputRule, wi as getPluginTypes, wn as pipeDeserializeHtmlElement, wr as NodeIdPlugin, wt as NormalizeRules, x as isSlateElement, xa as InsertBreakInputRuleContext, xi as getPluginKey, xn as postCleanHtml, xr as ChunkingPlugin, xt as MergeRules, y as getSlateElements, ya as InputRulesFactoryContext, yi as getContainerTypes, yn as removeHtmlNodesBetweenComments, yr as getCorePlugins, yt as InferTransforms, z as RenderChunkProps, zi as InferConfig, zn as htmlElementToElement, zr as ElementAffinity, zt as NormalizeStaticValueOptions } from "./index-C-LKDYK-";
2
+ export { AUTO_SCROLL, AffinityConfig, AffinityPlugin, AnyEditorPlugin, AnyInputRule, AnyPluginConfig, AnySlatePlugin, ApplyDeepToNodesOptions, AstPlugin, AutoScrollOperationsMap, BaseDeserializer, BaseEditor, BaseHtmlDeserializer, BaseInjectProps, BaseInputRule, BaseParagraphPlugin, BasePlugin, BasePluginContext, BasePluginNode, BaseSerializer, BaseTransformOptions, BaseWithSlateOptions, BlockFenceInputRuleConfig, BlockFenceInputRuleMatch, BlockStartInputRuleConfig, BlockStartInputRuleMatch, BreakRules, CARRIAGE_RETURN, ChunkingConfig, ChunkingPlugin, CollapseWhiteSpaceState, CorePlugin, CorePluginApi, CorePluginTransforms, CreateSlateEditorOptions, DOMPlugin, DebugConfig, DebugErrorType, DebugPlugin, Decorate, DeleteRules, DelimitedInlineInputRuleMatch, DeserializeHtmlChildren, DeserializeHtmlNodeReturnType, Deserializer, DomConfig, EdgeNodes, EditOnlyConfig, EditableProps, EditorPlugin, ElementAffinity, ExtendConfig, ExtendEditor, ExtendEditorApi, ExtendEditorTransforms, GetCorePluginsOptions, GetInjectNodePropsOptions, GetInjectNodePropsReturnType, HandlerReturnType, HistoryPlugin, Hotkeys, HtmlDeserializer, HtmlPlugin, HtmlSerializer, InferApi, InferConfig, InferKey, InferOptions, InferPlugins, InferSelectors, InferTransforms, InitOptions, InjectNodeProps, InputRuleBuilder, InputRuleTarget, InputRulesConfig, InputRulesDefinition, InputRulesFactoryContext, InsertBreakInputRule, InsertBreakInputRuleContext, InsertDataInputRule, InsertDataInputRuleContext, InsertExitBreakOptions, InsertTextInputRule, InsertTextInputRuleContext, KeyofNodePlugins, KeyofPlugins, LINE_FEED, LeafStaticProps, LengthConfig, LengthPlugin, LiftBlockOptions, LogLevel, MarkInputRuleConfig, MatchBlockFenceOptions, MatchBlockStartOptions, MatchDelimitedInlineOptions, MatchRules, MergeRules, NAVIGATION_FEEDBACK_KEY, NO_BREAK_SPACE, NavigationFeedbackActiveTarget, NavigationFeedbackConfig, NavigationFeedbackPlugin, NavigationFeedbackPluginKey, NavigationFeedbackStoredTarget, NavigationFeedbackTarget, NavigationFlashTargetOptions, NavigationNavigateOptions, NodeComponent, NodeComponents, NodeIdConfig, NodeIdOptions, NodeIdPlugin, NodeStaticProps, NodeStaticWrapperComponent, NodeStaticWrapperComponentProps, NodeStaticWrapperComponentReturnType, NormalizeInitialValue, NormalizeNodeIdOptions, NormalizeRules, NormalizeStaticValueOptions, OverrideEditor, OverridePlugin, ParagraphConfig, Parser, ParserOptions, ParserPlugin, PartialEditorPlugin, PlateError, PluginConfig, RenderChunkFn, RenderChunkProps, RenderElementFn, RenderElementProps, RenderLeafFn, RenderLeafProps, RenderStaticNodeWrapper, RenderStaticNodeWrapperFunction, RenderStaticNodeWrapperProps, RenderTextFn, RenderTextProps, ResolvedInputRule, ResolvedInputRulesMeta, SPACE, STATIC_VALUE_CREATED_AT, ScrollMode, SelectionInputRuleContext, SelectionRules, Serializer, SlateEditor, SlateExtensionConfig, SlateExtensionPlugin, SlatePlugin, SlatePluginConfig, SlatePluginContext, SlatePluginMethods, SlatePlugins, SlateShortcut, TAB, TSlateEditor, TextStaticProps, TextSubstitutionInputRuleConfig, TextSubstitutionMatch, TextSubstitutionPattern, TransformOptions, TrimEndRule, TrimStartRule, WhiteSpaceRule, WithAnyKey, WithAutoScrollOptions, WithRequiredKey, WithSlateOptions, ZERO_WIDTH_SPACE, ZustandStoreApi, applyDeepToNodes, cleanHtmlBrElements, cleanHtmlCrLf, cleanHtmlEmptyElements, cleanHtmlFontElements, cleanHtmlLinkElements, cleanHtmlTextNodes, clearNavigationFeedbackTarget, collapseString, collapseWhiteSpace, collapseWhiteSpaceChildren, collapseWhiteSpaceElement, collapseWhiteSpaceNode, collapseWhiteSpaceText, copyBlockMarksToSpanChild, createBlockFenceInputRule, createBlockStartInputRule, createHotkey, createMarkInputRule, createRuleFactory, createSlateEditor, createSlatePlugin, createTSlatePlugin, createTextSubstitutionInputRule, createZustandStore, defaultsDeepToNodes, defineInputRule, deserializeHtml, deserializeHtmlElement, deserializeHtmlNode, deserializeHtmlNodeChildren, endInlineFormattingContext, findHtmlElement, flashTarget, getContainerTypes, getCorePlugins, getDataNodeProps, getEdgeNodes, getEditorPlugin, getHtmlComments, getInjectMatch, getInjectedPlugins, getMarkBoundaryAffinity, getNodeDataAttributeKeys, getPluginByType, getPluginKey, getPluginKeys, getPluginNodeProps, getPluginType, getPluginTypes, getSlateClass, getSlateElements, getSlatePlugin, htmlBodyToFragment, htmlBrToNewLine, htmlElementToElement, htmlElementToLeaf, htmlStringToDOMNode, htmlTextNodeToString, inferWhiteSpaceRule, init, inlineTagNames, insertExitBreak, isHotkey, isHtmlBlockElement, isHtmlComment, isHtmlElement, isHtmlFragmentHref, isHtmlInlineElement, isHtmlTable, isHtmlText, isLastNonEmptyTextOfInlineFormattingContext, isNodeAffinity, isNodesAffinity, isOlSymbol, isSlateEditor, isSlateElement, isSlateLeaf, isSlateNode, isSlatePluginElement, isSlatePluginNode, isSlateString, isSlateText, isSlateVoid, isType, keyToDataAttribute, liftBlock, matchBlockFence, matchBlockStart, matchDelimitedInline, mergeDeepToNodes, nanoid, navigate, normalizeDescendantsToDocumentFragment, normalizeNodeId, normalizeStaticValue, omitPluginContext, overridePluginsByKey, parseHtmlDocument, parseHtmlElement, pipeDeserializeHtmlElement, pipeDeserializeHtmlLeaf, pipeInsertDataQuery, pipeOnNodeChange, pipeOnTextChange, pluginDeserializeHtml, postCleanHtml, preCleanHtml, removeHtmlNodesBetweenComments, removeHtmlSurroundings, replaceTagName, resetBlock, resolveNavigationFeedbackTarget, setAffinitySelection, setValue, someHtmlElement, traverseHtmlComments, traverseHtmlElements, traverseHtmlNode, traverseHtmlTexts, unwrapHtmlElement, upsertInlineFormattingContext, withBreakRules, withChunking, withDeleteRules, withMergeRules, withNodeId, withNormalizeRules, withOverrides, withPlateHistory, withScrolling, withSlate };
package/dist/index.js CHANGED
@@ -1,8 +1,9 @@
1
- import { $ as DebugPlugin, A as pluginDeserializeHtml, At as withNormalizeRules, B as collapseWhiteSpaceText, Bt as getPluginKey, C as deserializeHtmlElement, Ct as isSlatePluginNode, D as pipeDeserializeHtmlLeaf, Dt as applyDeepToNodes, E as htmlElementToLeaf, Et as isSlateVoid, F as collapseWhiteSpace, Ft as HistoryPlugin, G as isHtmlBlockElement, Gt as getEditorPlugin, H as upsertInlineFormattingContext, Ht as getPluginType, I as collapseWhiteSpaceElement, It as withPlateHistory, J as isHtmlText, K as isHtmlInlineElement, Kt as createSlatePlugin, L as inferWhiteSpaceRule, Lt as AstPlugin, M as htmlBrToNewLine, Mt as withDeleteRules, N as htmlBodyToFragment, Nt as withBreakRules, O as htmlElementToElement, Ot as OverridePlugin, P as deserializeHtmlNodeChildren, Pt as BaseParagraphPlugin, Q as withScrolling, R as collapseWhiteSpaceChildren, Rt as getContainerTypes, S as htmlStringToDOMNode, St as isSlatePluginElement, T as htmlTextNodeToString, Tt as isSlateText, U as isLastNonEmptyTextOfInlineFormattingContext, Ut as getPluginTypes, V as endInlineFormattingContext, Vt as getPluginKeys, W as collapseString, Wt as getSlatePlugin, X as AUTO_SCROLL, Y as isHtmlElement, Z as DOMPlugin, _ as withNodeId, _t as getSlateElements, a as pipeInsertDataQuery, at as isNodeAffinity, b as parseHtmlDocument, bt as isSlateLeaf, c as setValue, ct as getEdgeNodes, d as init, dt as getPluginNodeProps, et as PlateError, ft as getNodeDataAttributeKeys, g as normalizeNodeId, gt as defaultsDeepToNodes, h as NodeIdPlugin, ht as getInjectMatch, i as ParserPlugin, it as setAffinitySelection, j as getDataNodeProps, jt as withMergeRules, k as pipeDeserializeHtmlElement, kt as withOverrides, l as resetBlock, lt as mergeDeepToNodes, m as pipeOnNodeChange, mt as getInjectedPlugins, n as withSlate, nt as withChunking, o as normalizeDescendantsToDocumentFragment, ot as isNodesAffinity, p as pipeOnTextChange, pt as keyToDataAttribute, q as inlineTagNames, qt as createTSlatePlugin, r as getCorePlugins, rt as AffinityPlugin, s as SlateExtensionPlugin, st as getMarkBoundaryAffinity, t as createSlateEditor, tt as ChunkingPlugin, u as insertExitBreak, ut as getSlateClass, v as LengthPlugin, vt as isSlateEditor, w as deserializeHtmlNode, wt as isSlateString, x as deserializeHtml, xt as isSlateNode, y as HtmlPlugin, yt as isSlateElement, z as collapseWhiteSpaceNode, zt as getPluginByType } from "./withSlate-1B0SfAWG.js";
1
+ import { $ as isHtmlBlockElement, $t as defineInputRule, A as htmlStringToDOMNode, At as isSlatePluginElement, B as htmlBrToNewLine, Bt as withDeleteRules, C as resolveNavigationFeedbackTarget, Ct as getInjectMatch, D as HtmlPlugin, Dt as isSlateElement, E as LengthPlugin, Et as isSlateEditor, F as pipeDeserializeHtmlLeaf, Ft as applyDeepToNodes, G as inferWhiteSpaceRule, Gt as AstPlugin, H as deserializeHtmlNodeChildren, Ht as BaseParagraphPlugin, I as htmlElementToElement, It as OverridePlugin, J as collapseWhiteSpaceText, Jt as createMarkInputRule, K as collapseWhiteSpaceChildren, Kt as createBlockFenceInputRule, L as pipeDeserializeHtmlElement, Lt as withOverrides, M as deserializeHtmlNode, Mt as isSlateString, N as htmlTextNodeToString, Nt as isSlateText, O as parseHtmlDocument, Ot as isSlateLeaf, P as htmlElementToLeaf, Pt as isSlateVoid, Q as collapseString, Qt as matchDelimitedInline, R as pluginDeserializeHtml, Rt as withNormalizeRules, S as flashTarget, St as getInjectedPlugins, T as NavigationFeedbackPluginKey, Tt as getSlateElements, U as collapseWhiteSpace, Ut as HistoryPlugin, V as htmlBodyToFragment, Vt as withBreakRules, W as collapseWhiteSpaceElement, Wt as withPlateHistory, X as upsertInlineFormattingContext, Xt as matchBlockFence, Y as endInlineFormattingContext, Yt as createTextSubstitutionInputRule, Z as isLastNonEmptyTextOfInlineFormattingContext, Zt as matchBlockStart, _ as normalizeNodeId, _t as mergeDeepToNodes, a as pipeInsertDataQuery, an as getPluginTypes, at as DOMPlugin, b as navigate, bt as getNodeDataAttributeKeys, c as setValue, cn as createSlatePlugin, ct as PlateError, d as insertExitBreak, dt as AffinityPlugin, en as getContainerTypes, et as isHtmlInlineElement, f as init, ft as setAffinitySelection, g as NodeIdPlugin, gt as getEdgeNodes, h as pipeOnNodeChange, ht as getMarkBoundaryAffinity, i as ParserPlugin, in as getPluginType, it as AUTO_SCROLL, j as deserializeHtmlElement, jt as isSlatePluginNode, k as deserializeHtml, kt as isSlateNode, l as resetBlock, ln as createTSlatePlugin, lt as ChunkingPlugin, m as pipeOnTextChange, mt as isNodesAffinity, n as withSlate, nn as getPluginKey, nt as isHtmlText, o as normalizeDescendantsToDocumentFragment, on as getSlatePlugin, ot as withScrolling, pt as isNodeAffinity, q as collapseWhiteSpaceNode, qt as createBlockStartInputRule, r as getCorePlugins, rn as getPluginKeys, rt as isHtmlElement, s as SlateExtensionPlugin, sn as getEditorPlugin, st as DebugPlugin, t as createSlateEditor, tn as getPluginByType, tt as inlineTagNames, u as liftBlock, ut as withChunking, v as withNodeId, vt as getSlateClass, w as NAVIGATION_FEEDBACK_KEY, wt as defaultsDeepToNodes, x as clearNavigationFeedbackTarget, xt as keyToDataAttribute, y as NavigationFeedbackPlugin, yt as getPluginNodeProps, z as getDataNodeProps, zt as withMergeRules } from "./withSlate-DsAgt7dN.js";
2
2
  import { n as createHotkey, r as isHotkey, t as Hotkeys } from "./hotkeys-DI1HPO2Q.js";
3
3
  import { nanoid } from "nanoid";
4
4
  import { createVanillaStore as createZustandStore } from "zustand-x/vanilla";
5
5
  import castArray from "lodash/castArray.js";
6
+ import cloneDeep from "lodash/cloneDeep.js";
6
7
  import defaultsDeep from "lodash/defaultsDeep.js";
7
8
 
8
9
  //#region src/lib/utils/isType.ts
@@ -355,6 +356,137 @@ const removeHtmlNodesBetweenComments = (rootNode, start, end) => {
355
356
  });
356
357
  };
357
358
 
359
+ //#endregion
360
+ //#region src/lib/plugins/input-rules/createRuleFactory.ts
361
+ const getMergedInput = (context, options) => ({
362
+ ...options,
363
+ ...context
364
+ });
365
+ const resolveFactoryValue = (value, input) => {
366
+ if (typeof value === "function") return value(input);
367
+ return value;
368
+ };
369
+ function createRuleFactory(configOrBuilder) {
370
+ return (options = {}) => {
371
+ const factoryOptions = typeof configOrBuilder === "function" ? options : {
372
+ ...configOrBuilder,
373
+ ...options
374
+ };
375
+ const config = typeof configOrBuilder === "function" ? configOrBuilder(options) : configOrBuilder;
376
+ const priority = typeof options.priority === "number" ? options.priority : typeof config.priority === "number" ? config.priority : void 0;
377
+ const insertTextEnabled = typeof options.enabled === "function" ? options.enabled : void 0;
378
+ const insertBreakEnabled = typeof options.enabled === "function" ? options.enabled : void 0;
379
+ const insertDataEnabled = typeof options.enabled === "function" ? options.enabled : void 0;
380
+ const selectionEnabled = typeof options.enabled === "function" ? options.enabled : void 0;
381
+ const getFactoryInput = (context) => getMergedInput(context, factoryOptions);
382
+ if (config.type === "mark") {
383
+ const markConfig = config;
384
+ return createMarkInputRule({
385
+ enabled: markConfig.enabled ? (context) => markConfig.enabled(getFactoryInput(context)) : insertTextEnabled,
386
+ end: resolveFactoryValue(markConfig.end, getFactoryInput({})),
387
+ mark: resolveFactoryValue(markConfig.mark, getFactoryInput({})),
388
+ marks: resolveFactoryValue(markConfig.marks, getFactoryInput({})),
389
+ priority,
390
+ start: resolveFactoryValue(markConfig.start, getFactoryInput({})),
391
+ trigger: resolveFactoryValue(markConfig.trigger, getFactoryInput({})),
392
+ trim: resolveFactoryValue(markConfig.trim, getFactoryInput({}))
393
+ });
394
+ }
395
+ if (config.type === "blockStart") {
396
+ const blockStartConfig = config;
397
+ return createBlockStartInputRule({
398
+ enabled: blockStartConfig.enabled ? (context) => blockStartConfig.enabled(getFactoryInput(context)) : insertTextEnabled,
399
+ match: (context) => resolveFactoryValue(blockStartConfig.match, getFactoryInput(context)),
400
+ mode: resolveFactoryValue(blockStartConfig.mode, getFactoryInput({})),
401
+ node: resolveFactoryValue(blockStartConfig.node, getFactoryInput({})),
402
+ priority,
403
+ removeMatchedText: resolveFactoryValue(blockStartConfig.removeMatchedText, getFactoryInput({})),
404
+ resolveMatch: blockStartConfig.resolveMatch ? ((args) => blockStartConfig.resolveMatch(args, getFactoryInput({}))) : void 0,
405
+ apply: blockStartConfig.apply ? (context, match) => blockStartConfig.apply(getFactoryInput(context), match) : void 0,
406
+ trigger: resolveFactoryValue(blockStartConfig.trigger, getFactoryInput({}))
407
+ });
408
+ }
409
+ if (config.type === "blockFence") {
410
+ const blockFenceConfig = config;
411
+ return createBlockFenceInputRule({
412
+ apply: (context, match) => blockFenceConfig.apply(getFactoryInput(context), match),
413
+ block: resolveFactoryValue(blockFenceConfig.block, getFactoryInput({})),
414
+ enabled: blockFenceConfig.enabled ? (context) => blockFenceConfig.enabled(getFactoryInput(context)) : selectionEnabled,
415
+ fence: resolveFactoryValue(blockFenceConfig.fence, getFactoryInput({})),
416
+ on: resolveFactoryValue(blockFenceConfig.on ?? options.on, getFactoryInput({})),
417
+ priority,
418
+ resolveMatch: blockFenceConfig.resolveMatch ? ((args) => blockFenceConfig.resolveMatch(args, getFactoryInput({}))) : void 0
419
+ });
420
+ }
421
+ if (config.type === "insertText") {
422
+ const insertTextConfig = config;
423
+ return defineInputRule({
424
+ apply: (context, match) => insertTextConfig.apply(getFactoryInput(context), match),
425
+ enabled: insertTextConfig.enabled ? (context) => insertTextConfig.enabled(getFactoryInput(context)) : insertTextEnabled,
426
+ priority,
427
+ resolve: insertTextConfig.resolve ? (context) => insertTextConfig.resolve(getFactoryInput(context)) : void 0,
428
+ target: "insertText",
429
+ trigger: resolveFactoryValue(insertTextConfig.trigger, getFactoryInput({}))
430
+ });
431
+ }
432
+ if (config.type === "insertBreak") {
433
+ const insertBreakConfig = config;
434
+ return defineInputRule({
435
+ apply: (context, match) => insertBreakConfig.apply(getFactoryInput(context), match),
436
+ enabled: insertBreakConfig.enabled ? (context) => insertBreakConfig.enabled(getFactoryInput(context)) : insertBreakEnabled,
437
+ priority,
438
+ resolve: insertBreakConfig.resolve ? (context) => insertBreakConfig.resolve(getFactoryInput(context)) : void 0,
439
+ target: "insertBreak"
440
+ });
441
+ }
442
+ if (config.type === "insertData") {
443
+ const insertDataConfig = config;
444
+ return defineInputRule({
445
+ apply: (context, match) => insertDataConfig.apply(getFactoryInput(context), match),
446
+ enabled: insertDataConfig.enabled ? (context) => insertDataConfig.enabled(getFactoryInput(context)) : insertDataEnabled,
447
+ mimeTypes: resolveFactoryValue(insertDataConfig.mimeTypes, getFactoryInput({})),
448
+ priority,
449
+ resolve: insertDataConfig.resolve ? (context) => insertDataConfig.resolve(getFactoryInput(context)) : void 0,
450
+ target: "insertData"
451
+ });
452
+ }
453
+ const textSubstitutionConfig = config;
454
+ return createTextSubstitutionInputRule({
455
+ enabled: textSubstitutionConfig.enabled ? (context) => textSubstitutionConfig.enabled(getFactoryInput(context)) : insertTextEnabled,
456
+ patterns: resolveFactoryValue(textSubstitutionConfig.patterns, getFactoryInput({})),
457
+ priority
458
+ });
459
+ };
460
+ }
461
+
462
+ //#endregion
463
+ //#region src/lib/plugins/node-id/normalizeStaticValue.ts
464
+ const STATIC_VALUE_CREATED_AT = 17040672e5;
465
+ const createStaticIdFactory = () => {
466
+ let id = 0;
467
+ return () => `static-${String(++id).padStart(4, "0")}`;
468
+ };
469
+ const replaceStaticMetadata = (value, createdAt) => {
470
+ if (Array.isArray(value)) return value.map((item) => replaceStaticMetadata(item, createdAt));
471
+ if (!value || typeof value !== "object") return value;
472
+ const next = {};
473
+ for (const [key, nestedValue] of Object.entries(value)) {
474
+ if (key === "createdAt" && typeof nestedValue === "number") {
475
+ next[key] = createdAt;
476
+ continue;
477
+ }
478
+ next[key] = replaceStaticMetadata(nestedValue, createdAt);
479
+ }
480
+ return next;
481
+ };
482
+ const normalizeStaticValue = (value, options = {}) => {
483
+ const { createdAt = STATIC_VALUE_CREATED_AT, idCreator = createStaticIdFactory(), ...normalizeNodeIdOptions } = options;
484
+ return replaceStaticMetadata(normalizeNodeId(cloneDeep(value), {
485
+ ...normalizeNodeIdOptions,
486
+ idCreator
487
+ }), createdAt);
488
+ };
489
+
358
490
  //#endregion
359
491
  //#region src/lib/utils/omitPluginContext.ts
360
492
  const omitPluginContext = (ctx) => {
@@ -383,5 +515,4 @@ const overridePluginsByKey = (plugin, overrideByKey = {}, nested = false) => {
383
515
  };
384
516
 
385
517
  //#endregion
386
- export { AUTO_SCROLL, AffinityPlugin, AstPlugin, BaseParagraphPlugin, CARRIAGE_RETURN, ChunkingPlugin, DOMPlugin, DebugPlugin, HistoryPlugin, Hotkeys, HtmlPlugin, LINE_FEED, LengthPlugin, NO_BREAK_SPACE, NodeIdPlugin, OverridePlugin, ParserPlugin, PlateError, SPACE, SlateExtensionPlugin, TAB, ZERO_WIDTH_SPACE, applyDeepToNodes, cleanHtmlBrElements, cleanHtmlCrLf, cleanHtmlEmptyElements, cleanHtmlFontElements, cleanHtmlLinkElements, cleanHtmlTextNodes, collapseString, collapseWhiteSpace, collapseWhiteSpaceChildren, collapseWhiteSpaceElement, collapseWhiteSpaceNode, collapseWhiteSpaceText, copyBlockMarksToSpanChild, createHotkey, createSlateEditor, createSlatePlugin, createTSlatePlugin, createZustandStore, defaultsDeepToNodes, deserializeHtml, deserializeHtmlElement, deserializeHtmlNode, deserializeHtmlNodeChildren, endInlineFormattingContext, findHtmlElement, getContainerTypes, getCorePlugins, getDataNodeProps, getEdgeNodes, getEditorPlugin, getHtmlComments, getInjectMatch, getInjectedPlugins, getMarkBoundaryAffinity, getNodeDataAttributeKeys, getPluginByType, getPluginKey, getPluginKeys, getPluginNodeProps, getPluginType, getPluginTypes, getSlateClass, getSlateElements, getSlatePlugin, htmlBodyToFragment, htmlBrToNewLine, htmlElementToElement, htmlElementToLeaf, htmlStringToDOMNode, htmlTextNodeToString, inferWhiteSpaceRule, init, inlineTagNames, insertExitBreak, isHotkey, isHtmlBlockElement, isHtmlComment, isHtmlElement, isHtmlFragmentHref, isHtmlInlineElement, isHtmlTable, isHtmlText, isLastNonEmptyTextOfInlineFormattingContext, isNodeAffinity, isNodesAffinity, isOlSymbol, isSlateEditor, isSlateElement, isSlateLeaf, isSlateNode, isSlatePluginElement, isSlatePluginNode, isSlateString, isSlateText, isSlateVoid, isType, keyToDataAttribute, mergeDeepToNodes, nanoid, normalizeDescendantsToDocumentFragment, normalizeNodeId, omitPluginContext, overridePluginsByKey, parseHtmlDocument, parseHtmlElement, pipeDeserializeHtmlElement, pipeDeserializeHtmlLeaf, pipeInsertDataQuery, pipeOnNodeChange, pipeOnTextChange, pluginDeserializeHtml, postCleanHtml, preCleanHtml, removeHtmlNodesBetweenComments, removeHtmlSurroundings, replaceTagName, resetBlock, setAffinitySelection, setValue, someHtmlElement, traverseHtmlComments, traverseHtmlElements, traverseHtmlNode, traverseHtmlTexts, unwrapHtmlElement, upsertInlineFormattingContext, withBreakRules, withChunking, withDeleteRules, withMergeRules, withNodeId, withNormalizeRules, withOverrides, withPlateHistory, withScrolling, withSlate };
387
- //# sourceMappingURL=index.js.map
518
+ export { AUTO_SCROLL, AffinityPlugin, AstPlugin, BaseParagraphPlugin, CARRIAGE_RETURN, ChunkingPlugin, DOMPlugin, DebugPlugin, HistoryPlugin, Hotkeys, HtmlPlugin, LINE_FEED, LengthPlugin, NAVIGATION_FEEDBACK_KEY, NO_BREAK_SPACE, NavigationFeedbackPlugin, NavigationFeedbackPluginKey, NodeIdPlugin, OverridePlugin, ParserPlugin, PlateError, SPACE, STATIC_VALUE_CREATED_AT, SlateExtensionPlugin, TAB, ZERO_WIDTH_SPACE, applyDeepToNodes, cleanHtmlBrElements, cleanHtmlCrLf, cleanHtmlEmptyElements, cleanHtmlFontElements, cleanHtmlLinkElements, cleanHtmlTextNodes, clearNavigationFeedbackTarget, collapseString, collapseWhiteSpace, collapseWhiteSpaceChildren, collapseWhiteSpaceElement, collapseWhiteSpaceNode, collapseWhiteSpaceText, copyBlockMarksToSpanChild, createBlockFenceInputRule, createBlockStartInputRule, createHotkey, createMarkInputRule, createRuleFactory, createSlateEditor, createSlatePlugin, createTSlatePlugin, createTextSubstitutionInputRule, createZustandStore, defaultsDeepToNodes, defineInputRule, deserializeHtml, deserializeHtmlElement, deserializeHtmlNode, deserializeHtmlNodeChildren, endInlineFormattingContext, findHtmlElement, flashTarget, getContainerTypes, getCorePlugins, getDataNodeProps, getEdgeNodes, getEditorPlugin, getHtmlComments, getInjectMatch, getInjectedPlugins, getMarkBoundaryAffinity, getNodeDataAttributeKeys, getPluginByType, getPluginKey, getPluginKeys, getPluginNodeProps, getPluginType, getPluginTypes, getSlateClass, getSlateElements, getSlatePlugin, htmlBodyToFragment, htmlBrToNewLine, htmlElementToElement, htmlElementToLeaf, htmlStringToDOMNode, htmlTextNodeToString, inferWhiteSpaceRule, init, inlineTagNames, insertExitBreak, isHotkey, isHtmlBlockElement, isHtmlComment, isHtmlElement, isHtmlFragmentHref, isHtmlInlineElement, isHtmlTable, isHtmlText, isLastNonEmptyTextOfInlineFormattingContext, isNodeAffinity, isNodesAffinity, isOlSymbol, isSlateEditor, isSlateElement, isSlateLeaf, isSlateNode, isSlatePluginElement, isSlatePluginNode, isSlateString, isSlateText, isSlateVoid, isType, keyToDataAttribute, liftBlock, matchBlockFence, matchBlockStart, matchDelimitedInline, mergeDeepToNodes, nanoid, navigate, normalizeDescendantsToDocumentFragment, normalizeNodeId, normalizeStaticValue, omitPluginContext, overridePluginsByKey, parseHtmlDocument, parseHtmlElement, pipeDeserializeHtmlElement, pipeDeserializeHtmlLeaf, pipeInsertDataQuery, pipeOnNodeChange, pipeOnTextChange, pluginDeserializeHtml, postCleanHtml, preCleanHtml, removeHtmlNodesBetweenComments, removeHtmlSurroundings, replaceTagName, resetBlock, resolveNavigationFeedbackTarget, setAffinitySelection, setValue, someHtmlElement, traverseHtmlComments, traverseHtmlElements, traverseHtmlNode, traverseHtmlTexts, unwrapHtmlElement, upsertInlineFormattingContext, withBreakRules, withChunking, withDeleteRules, withMergeRules, withNodeId, withNormalizeRules, withOverrides, withPlateHistory, withScrolling, withSlate };