mirror of
https://github.com/facebook/lexical.git
synced 2025-05-20 16:48:04 +08:00

committed by
acywatson

parent
d6ce7469b2
commit
3ebcd7c461
@ -3,36 +3,36 @@
|
||||
"1": "clearEditor expected plain text root first child to be a ParagraphNode",
|
||||
"2": "Expected rich text root first child to be a ParagraphNode",
|
||||
"3": "insertAfter: list node is not parent of list item node",
|
||||
"4": "createOffsetModel: could not find node by key",
|
||||
"5": "insertText: first node is not a text node",
|
||||
"4": "insertText: first node is not a text node",
|
||||
"5": "createOffsetModel: could not find node by key",
|
||||
"6": "Editor.getLatestTextContent() can be asynchronous and cannot be used within Editor.update()",
|
||||
"7": "setViewModel: the view model is empty. Ensure the view model's root node never becomes empty.",
|
||||
"8": "decorate: base method not extended",
|
||||
"9": "updateDOM: prevInnerDOM is null or undefined",
|
||||
"10": "updateDOM: innerDOM is null or undefined",
|
||||
"11": "setFormat: can only be used on non-immutable nodes",
|
||||
"12": "setStyle: can only be used on non-immutable nodes",
|
||||
"13": "setTextContent: can only be used on non-immutable text nodes",
|
||||
"14": "spliceText: can only be used on non-immutable text nodes",
|
||||
"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": "Expected node with key %s to exist but it's not in the nodeMap.",
|
||||
"27": "createNodeFromParse: type \"%s\" + not found",
|
||||
"28": "select: cannot be called on root nodes",
|
||||
"29": "remove: cannot be called on root nodes",
|
||||
"30": "replace: cannot be called on root nodes",
|
||||
"31": "insertBefore: cannot be called on root nodes",
|
||||
"32": "insertAfter: cannot be called on root nodes",
|
||||
"33": "rootNode.append: Only block nodes can be appended to the root node",
|
||||
"8": "select: cannot be called on root nodes",
|
||||
"9": "remove: cannot be called on root nodes",
|
||||
"10": "replace: cannot be called on root nodes",
|
||||
"11": "insertBefore: cannot be called on root nodes",
|
||||
"12": "insertAfter: cannot be called on root nodes",
|
||||
"13": "rootNode.append: Only block nodes can be appended to the root node",
|
||||
"14": "updateDOM: prevInnerDOM is null or undefined",
|
||||
"15": "updateDOM: innerDOM is null or undefined",
|
||||
"16": "setFormat: can only be used on non-immutable nodes",
|
||||
"17": "setStyle: can only be used on non-immutable nodes",
|
||||
"18": "setTextContent: can only be used on non-immutable text nodes",
|
||||
"19": "spliceText: can only be used on non-immutable text nodes",
|
||||
"20": "spliceText: selection not found",
|
||||
"21": "splitText: can only be used on non-immutable text nodes",
|
||||
"22": "decorate: base method not extended",
|
||||
"23": "OutlineNode: Node type %s does not implement .clone().",
|
||||
"24": "Expected node %s to have a parent.",
|
||||
"25": "Expected node %s to have a parent block.",
|
||||
"26": "Expected node %s to have a top parent block.",
|
||||
"27": "getNodesBetween: ancestor is null",
|
||||
"28": "getLatest: node not found",
|
||||
"29": "createDOM: base method not extended",
|
||||
"30": "updateDOM: base method not extended",
|
||||
"31": "setFlags: can only be used on non-immutable nodes",
|
||||
"32": "Expected node with key %s to exist but it's not in the nodeMap.",
|
||||
"33": "createNodeFromParse: type \"%s\" + not found",
|
||||
"34": "Editor.update() cannot be used within a text node transform.",
|
||||
"35": "Cannot use method in read-only mode.",
|
||||
"36": "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().",
|
||||
@ -43,5 +43,6 @@
|
||||
"41": "createNode: node does not exist in nodeMap",
|
||||
"42": "reconcileNode: prevNode or nextNode does not exist in nodeMap",
|
||||
"43": "reconcileNode: parentDOM is null",
|
||||
"44": "Reconciliation: could not find DOM element for node key \"${key}\""
|
||||
"44": "Reconciliation: could not find DOM element for node key \"${key}\"",
|
||||
"45": "insertNodes: cloned parent clone is not a block"
|
||||
}
|
||||
|
Reference in New Issue
Block a user