mirror of
https://github.com/facebook/lexical.git
synced 2025-05-21 00:57:23 +08:00
Update codes.json
This commit is contained in:

committed by
acywatson

parent
97ad9a3b81
commit
76ba850726
@ -1,63 +1,48 @@
|
||||
{
|
||||
"0": "OutlineController.useController: cannot find matching OutlineController",
|
||||
"1": "OutlineEditorContext.useEditorContext: cannot find matching OutlineEditorContext",
|
||||
"2": "insertAfter: list node is not parent of list item node",
|
||||
"0": "OutlineComposerContext.useOutlineComposerContext: cannot find a OutlineComposerContext",
|
||||
"1": "insertAfter: list node is not parent of list item node",
|
||||
"2": "A ListItemNode must have a ListNode for a parent.",
|
||||
"3": "createOffsetModel: could not find node by key",
|
||||
"4": "A ListItemNode must have a ListNode for a parent.",
|
||||
"5": "insertNodes: cannot insert a non-block into a root node",
|
||||
"6": "insertNodes: cloned parent clone is not a block",
|
||||
"7": "insertText: first node is not a text node",
|
||||
"8": "Register node type: Type %s in node %s was already registered by another node %s",
|
||||
"9": "Node %s has not been registered. Run editor.registerNode to register your own nodes.",
|
||||
"10": "setEditorState: the editor state is empty. Ensure the editor state's root node never becomes empty.",
|
||||
"11": "updateDOM: prevInnerDOM is null or undefined",
|
||||
"12": "updateDOM: innerDOM is null or undefined",
|
||||
"13": "setFormat: can only be used on non-immutable nodes",
|
||||
"14": "setStyle: can only be used on non-immutable nodes",
|
||||
"15": "setTextContent: can only be used on non-immutable text nodes",
|
||||
"16": "spliceText: can only be used on non-immutable text nodes",
|
||||
"17": "spliceText: selection not found",
|
||||
"18": "splitText: can only be used on non-immutable text nodes",
|
||||
"19": "select: cannot be called on root nodes",
|
||||
"20": "remove: cannot be called on root nodes",
|
||||
"21": "replace: cannot be called on root nodes",
|
||||
"22": "insertBefore: cannot be called on root nodes",
|
||||
"23": "insertAfter: cannot be called on root nodes",
|
||||
"24": "rootNode.append: Only block nodes can be appended to the root node",
|
||||
"25": "registeredNode: Type %s not found",
|
||||
"26": "Point.getNode: node not found",
|
||||
"27": "decorate: base method not extended",
|
||||
"28": "createNodeFromParse: type \"%s\" + not found",
|
||||
"29": "OutlineNode: Node %s does not implement .getType().",
|
||||
"30": "OutlineNode: Node %s does not implement .clone().",
|
||||
"31": "Expected node %s to have a parent.",
|
||||
"32": "Expected node %s to have a parent block.",
|
||||
"33": "Expected node %s to have a top parent block.",
|
||||
"34": "getNodesBetween: ancestor is null",
|
||||
"35": "getLatest: node not found",
|
||||
"36": "createDOM: base method not extended",
|
||||
"37": "updateDOM: base method not extended",
|
||||
"38": "setFlags: can only be used on non-immutable nodes",
|
||||
"4": "decorate: base method not extended",
|
||||
"5": "Point.getNode: node not found",
|
||||
"6": "insertText: first node is not a text node",
|
||||
"7": "insertNodes: cannot insert a non-element into a root node",
|
||||
"8": "insertNodes: cloned parent clone is not an element",
|
||||
"9": "select: cannot be called on root nodes",
|
||||
"10": "remove: cannot be called on root nodes",
|
||||
"11": "replace: cannot be called on root nodes",
|
||||
"12": "insertBefore: cannot be called on root nodes",
|
||||
"13": "insertAfter: cannot be called on root nodes",
|
||||
"14": "rootNode.append: Only element nodes can be appended to the root node",
|
||||
"15": "Expected node %s to have a first child.",
|
||||
"16": "Node is not a child of its parent",
|
||||
"17": "Register node type: Type %s in node %s was already registered by another node %s",
|
||||
"18": "Node %s has not been registered. Run editor.registerNode to register your own nodes.",
|
||||
"19": "setEditorState: the editor state is empty. Ensure the editor state's root node never becomes empty.",
|
||||
"20": "updateDOM: prevInnerDOM is null or undefined",
|
||||
"21": "updateDOM: innerDOM is null or undefined",
|
||||
"22": "mergeWithSibling: sibling must be a previous or next sibling",
|
||||
"23": "registeredNode: Type %s not found",
|
||||
"24": "createNodeFromParse: type \"%s\" + not found",
|
||||
"25": "Cannot use method in read-only mode.",
|
||||
"26": "One or more transforms are endlessly triggering additional transforms. May have encountered infinite recursion caused by transforms that have their preconditions too lose and/or conflict with each other.",
|
||||
"27": "Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update() or editorState.read().",
|
||||
"28": "Unable to find an active editor. This method can only be used synchronously during the callback of editor.update().",
|
||||
"29": "updateEditor: the pending editor state is empty. Ensure the root not never becomes empty from an update.",
|
||||
"30": "updateEditor: selection has been lost because the previously selected nodes have been removed and selection wasn't moved to another node. Ensure selection changes after removing/replacing a selected node.",
|
||||
"31": "OutlineNode: Node %s does not implement .getType().",
|
||||
"32": "OutlineNode: Node %s does not implement .clone().",
|
||||
"33": "Expected node %s to have a parent.",
|
||||
"34": "Expected node %s to have a top parent element.",
|
||||
"35": "getNodesBetween: ancestor is null",
|
||||
"36": "getLatest: node not found",
|
||||
"37": "createDOM: base method not extended",
|
||||
"38": "updateDOM: base method not extended",
|
||||
"39": "Expected node with key %s to exist but it's not in the nodeMap.",
|
||||
"40": "Create node: Attempted to create node %s that was not previously registered on the editor. You can use editor.registerNode to register your custom nodes.",
|
||||
"41": "Create node: Type %s in node %s does not match registered node %s with the same type",
|
||||
"42": "Cannot use method in read-only mode.",
|
||||
"43": "Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update() or editorState.read().",
|
||||
"44": "Unable to find an active editor. This method can only be used synchronously during the callback of editor.update().",
|
||||
"45": "One or more transforms are endlessly triggering additional transforms. May have encountered infinite recursion caused by transforms that have their preconditions too lose and/or conflict with each other.",
|
||||
"46": "updateEditor: the pending editor state is empty. Ensure the root not never becomes empty from an update.",
|
||||
"47": "updateEditor: selection has been lost because the previously selected nodes have been removed and selection wasn't moved to another node. Ensure selection changes after removing/replacing a selected node.",
|
||||
"48": "createNode: node does not exist in nodeMap",
|
||||
"49": "reconcileNode: prevNode or nextNode does not exist in nodeMap",
|
||||
"50": "reconcileNode: parentDOM is null",
|
||||
"51": "Reconciliation: could not find DOM element for node key \"${key}\"",
|
||||
"52": "insertNodes: cannot insert a non-element into a root node",
|
||||
"53": "insertNodes: cloned parent clone is not an element",
|
||||
"54": "rootNode.append: Only element nodes can be appended to the root node",
|
||||
"55": "Expected node %s to have a parent element.",
|
||||
"56": "Expected node %s to have a top parent element.",
|
||||
"57": "OutlineComposerContext.useOutlineComposerContext: cannot find a OutlineComposerContext",
|
||||
"58": "mergeWithSibling: sibling must be a previous or next sibling",
|
||||
"59": "Expected node %s to have a first child.",
|
||||
"60": "Node is not a child of its parent"
|
||||
"42": "createNode: node does not exist in nodeMap",
|
||||
"43": "reconcileNode: prevNode or nextNode does not exist in nodeMap",
|
||||
"44": "reconcileNode: parentDOM is null",
|
||||
"45": "Reconciliation: could not find DOM element for node key \"${key}\""
|
||||
}
|
||||
|
Reference in New Issue
Block a user