mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 16:39:33 +08:00
44 lines
2.5 KiB
JSON
44 lines
2.5 KiB
JSON
{
|
|
"0": "getNodesInRange: firstNode is not a text node",
|
|
"1": "getNodesInRange: node is not a block node",
|
|
"2": "getNodesInRange: child is not inside parent",
|
|
"3": "formatText: firstNode/lastNode not a text node",
|
|
"4": "formatText: currentBlock not be found",
|
|
"5": "insertNodes: lastChild not a text node",
|
|
"6": "insertText: firstNode not a a text node",
|
|
"7": "getDOMTextNodeFromElement: text node not found",
|
|
"8": "updateDOM: prevInnerDOM is null or undefined",
|
|
"9": "updateDOM: innerDOM is null or undefined",
|
|
"10": "setURL: can only be used on non-immutable text nodes",
|
|
"11": "setTextContent: can only be used on non-immutable text nodes",
|
|
"12": "select: TODO? validate nodes have keys in a more generic way",
|
|
"13": "spliceText: can only be used on non-immutable text nodes",
|
|
"14": "spliceText: TODO? validate nodes have keys in a more generic way",
|
|
"15": "spliceText: selection not found",
|
|
"16": "splitText: can only be used on non-immutable text nodes",
|
|
"17": "OutlineNode: Node type %s does not implement .clone().",
|
|
"18": "Expected node %s to have a parent.",
|
|
"19": "Expected node %s to have a parent block.",
|
|
"20": "Expected node %s to have a top parent block.",
|
|
"21": "getNodesBetween: ancestor is null",
|
|
"22": "getLatest: node not found",
|
|
"23": "createDOM: base method not extended",
|
|
"24": "updateDOM: base method not extended",
|
|
"25": "setFlags: can only be used on non-immutable nodes",
|
|
"26": "selectNext: found invalid sibling",
|
|
"27": "Expected node with key %s to exist but it's not in the nodeMap.",
|
|
"28": "createNodeFromParse: type \"%s\" + not found",
|
|
"29": "getAnchorNode: anchorNode not a text node",
|
|
"30": "getFocusNode: focusNode not a text node",
|
|
"31": "resolveNonLineBreakOrInertNode: resolved node not a text node",
|
|
"32": "Editor.update() cannot be used within a text node transform.",
|
|
"33": "Cannot use method in read-only mode.",
|
|
"34": "Unable to find an active view model. View methods or node methods can only be used synchronously during the callback of editor.update() or viewModel.read().",
|
|
"35": "Unable to find an active editor. View methods or node methods can only be used synchronously during the callback of editor.update() or viewModel.read().",
|
|
"36": "reconcileNode: parentDOM is null",
|
|
"37": "findIndexInPrevChildren: index in prevChildren not found",
|
|
"38": "reconcileNodeChildren: keyToMove to was not nextStartKey",
|
|
"39": "storeDOMWithNodeKey: key was null",
|
|
"40": "Reconciliation: could not find DOM element for node key \"${key}\""
|
|
}
|