MCPcopy
hub / github.com/udecode/plate / normalizeNode

Function normalizeNode

packages/core/src/react/plugins/SlateReactExtensionPlugin.ts:66–74  ·  view source on GitHub ↗
(entry, options)

Source from the content-addressed store, hash-verified

64 .overrideEditor(({ editor, tf: { normalizeNode } }) => ({
65 transforms: {
66 normalizeNode(entry, options) {
67 if (isDefined(entry[0]._memo)) {
68 editor.tf.unsetNodes('_memo', { at: entry[1] });
69
70 return;
71 }
72
73 normalizeNode(entry, options);
74 },
75 },
76 }));

Callers

nothing calls this directly

Calls 1

isDefinedFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…