@udecode/plate-core
Advanced tools
Comparing version 42.1.2 to 42.2.2
@@ -1,3 +0,3 @@ | ||
import { S as SlateEditor, a as SlatePlugin, P as PluginConfig, A as AnyPluginConfig, b as SlatePluginMethods, W as WithRequiredKey, c as SlatePluginContext, I as InferConfig, R as RenderElementProps, d as AnyEditorPlugin, N as NodeComponents, e as RenderLeafProps, E as EditableProps, f as AnySlatePlugin, B as BoxStaticProps, g as SlateRenderElementProps, h as SlateRenderLeafProps, T as TextStaticProps, i as SlateRenderNodeProps, j as ExtendEditor, O as OverrideEditor, H as HtmlDeserializer, L as LengthConfig, k as EditorPlugin, l as ParserOptions, m as SlatePlugins } from './withSlate-BWXCDa51.js'; | ||
export { x as BaseDeserializer, n as BaseEditor, y as BaseHtmlDeserializer, z as BaseInjectProps, t as BasePlugin, V as BasePluginContext, u as BasePluginNode, v as BaseSerializer, F as BaseTransformOptions, q as BaseWithSlateOptions, ac as CorePlugin, C as CreateSlateEditorOptions, af as DebugConfig, ag as DebugErrorType, aj as DebugPlugin, a5 as Decorate, a2 as Deserializer, J as ExtendConfig, _ as ExtendEditorApi, $ as ExtendEditorTransforms, ad as GetCorePluginsOptions, G as GetInjectNodePropsOptions, D as GetInjectNodePropsReturnType, Y as HandlerReturnType, a4 as HtmlSerializer, Q as InferApi, M as InferOptions, p as InferPlugins, U as InferTransforms, a7 as InjectNodeProps, ai as LogLevel, X as NodeComponent, a8 as NodeStaticProps, a9 as NodeStaticWrapperComponent, ab as NodeStaticWrapperComponentProps, aa as NodeStaticWrapperComponentReturnType, a6 as NormalizeInitialValue, a0 as Parser, ah as PlateError, ak as RenderElementFn, al as RenderLeafFn, a3 as Serializer, Z as SlatePluginConfig, o as TSlateEditor, a1 as TransformOptions, K as WithAnyKey, r as WithSlateOptions, s as createSlateEditor, ae as getCorePlugins, w as withSlate } from './withSlate-BWXCDa51.js'; | ||
import { S as SlateEditor, a as SlatePlugin, P as PluginConfig, A as AnyPluginConfig, b as SlatePluginMethods, W as WithRequiredKey, c as SlatePluginContext, I as InferConfig, R as RenderElementProps, d as AnyEditorPlugin, N as NodeComponents, e as RenderLeafProps, E as EditableProps, f as AnySlatePlugin, B as BoxStaticProps, g as SlateRenderElementProps, h as SlateRenderLeafProps, T as TextStaticProps, i as SlateRenderNodeProps, j as ExtendEditor, O as OverrideEditor, H as HtmlDeserializer, L as LengthConfig, k as EditorPlugin, l as ParserOptions, m as SlatePlugins } from './withSlate-cVyryvuM.js'; | ||
export { x as BaseDeserializer, n as BaseEditor, y as BaseHtmlDeserializer, z as BaseInjectProps, t as BasePlugin, V as BasePluginContext, u as BasePluginNode, v as BaseSerializer, F as BaseTransformOptions, q as BaseWithSlateOptions, ac as CorePlugin, C as CreateSlateEditorOptions, af as DebugConfig, ag as DebugErrorType, aj as DebugPlugin, a5 as Decorate, a2 as Deserializer, J as ExtendConfig, _ as ExtendEditorApi, $ as ExtendEditorTransforms, ad as GetCorePluginsOptions, G as GetInjectNodePropsOptions, D as GetInjectNodePropsReturnType, Y as HandlerReturnType, a4 as HtmlSerializer, Q as InferApi, M as InferOptions, p as InferPlugins, U as InferTransforms, a7 as InjectNodeProps, ai as LogLevel, X as NodeComponent, a8 as NodeStaticProps, a9 as NodeStaticWrapperComponent, ab as NodeStaticWrapperComponentProps, aa as NodeStaticWrapperComponentReturnType, a6 as NormalizeInitialValue, a0 as Parser, ah as PlateError, ak as RenderElementFn, al as RenderLeafFn, a3 as Serializer, Z as SlatePluginConfig, o as TSlateEditor, a1 as TransformOptions, K as WithAnyKey, r as WithSlateOptions, s as createSlateEditor, ae as getCorePlugins, w as withSlate } from './withSlate-cVyryvuM.js'; | ||
export { nanoid } from 'nanoid'; | ||
@@ -265,2 +265,3 @@ export { TStateApi as ZustandStoreApi, createZustandStore } from 'zustand-x'; | ||
collapseWhiteSpace?: boolean; | ||
defaultElementPlugin?: WithRequiredKey; | ||
}) => _udecode_slate.Descendant[]; | ||
@@ -307,5 +308,6 @@ }>, {}>>; | ||
/** Deserialize HTML element to a valid document fragment. */ | ||
declare const deserializeHtml: (editor: SlateEditor, { collapseWhiteSpace: shouldCollapseWhiteSpace, element, }: { | ||
declare const deserializeHtml: (editor: SlateEditor, { collapseWhiteSpace: shouldCollapseWhiteSpace, defaultElementPlugin, element, }: { | ||
element: HTMLElement | string; | ||
collapseWhiteSpace?: boolean; | ||
defaultElementPlugin?: WithRequiredKey; | ||
}) => Descendant[]; | ||
@@ -618,4 +620,5 @@ | ||
/** Normalize the descendants to a valid document fragment. */ | ||
declare const normalizeDescendantsToDocumentFragment: (editor: SlateEditor, { descendants }: { | ||
declare const normalizeDescendantsToDocumentFragment: (editor: SlateEditor, { defaultElementPlugin, descendants, }: { | ||
descendants: Descendant[]; | ||
defaultElementPlugin?: WithRequiredKey; | ||
}) => Descendant[]; | ||
@@ -622,0 +625,0 @@ |
{ | ||
"name": "@udecode/plate-core", | ||
"version": "42.1.2", | ||
"version": "42.2.2", | ||
"description": "The core of Plate – a plugin system for slate", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1757569
17555