@udecode/slate
Advanced tools
Comparing version 19.7.0 to 19.8.0
@@ -741,3 +741,7 @@ import { createEditor, Editor, Element, Range, Text, Transforms, Path, Point, Node } from 'slate'; | ||
*/ | ||
const getNodeEntry = (editor, at, options) => Editor.node(editor, at, options); | ||
const getNodeEntry = (editor, at, options) => { | ||
try { | ||
return Editor.node(editor, at, options); | ||
} catch (err) {} | ||
}; | ||
@@ -744,0 +748,0 @@ /** |
@@ -745,3 +745,7 @@ 'use strict'; | ||
*/ | ||
const getNodeEntry = (editor, at, options) => slate.Editor.node(editor, at, options); | ||
const getNodeEntry = (editor, at, options) => { | ||
try { | ||
return slate.Editor.node(editor, at, options); | ||
} catch (err) {} | ||
}; | ||
@@ -748,0 +752,0 @@ /** |
@@ -8,3 +8,3 @@ import { EditorNodeOptions, Location } from 'slate'; | ||
*/ | ||
export declare const getNodeEntry: <N extends ENode<V>, V extends Value = Value>(editor: TEditor<V>, at: Location, options?: EditorNodeOptions | undefined) => TNodeEntry<N>; | ||
export declare const getNodeEntry: <N extends ENode<V>, V extends Value = Value>(editor: TEditor<V>, at: Location, options?: EditorNodeOptions | undefined) => TNodeEntry<N> | undefined; | ||
//# sourceMappingURL=getNodeEntry.d.ts.map |
{ | ||
"name": "@udecode/slate", | ||
"version": "19.7.0", | ||
"version": "19.8.0", | ||
"description": "Slate extension", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
406625
3668