Fix codes

This commit is contained in:
Dominic Gannaway
2021-08-06 03:33:53 +01:00
committed by acywatson
parent 019ab6c434
commit 631ffe000d

View File

@ -3,17 +3,17 @@
"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",
"4": "insertNodes: lastChild not a text node",
"5": "insertText: firstNode not a a text node",
"6": "decorate: base method not extended",
"7": "updateDOM: prevInnerDOM is null or undefined",
"8": "updateDOM: innerDOM is null or undefined",
"9": "setTextContent: can only be used on non-immutable text nodes",
"10": "spliceText: can only be used on non-immutable text nodes",
"11": "spliceText: TODO? validate nodes have keys in a more generic way",
"12": "spliceText: selection not found",
"13": "splitText: can only be used on non-immutable text nodes",
"14": "decorate: base method not extended",
"9": "setFormat: can only be used on non-immutable nodes",
"10": "setTextContent: can only be used on non-immutable text nodes",
"11": "spliceText: can only be used on non-immutable text nodes",
"12": "spliceText: TODO? validate nodes have keys in a more generic way",
"13": "spliceText: selection not found",
"14": "splitText: can only be used on non-immutable text nodes",
"15": "OutlineNode: Node type %s does not implement deserialize().",
"16": "OutlineNode: Node type %s does not implement .clone().",
"17": "Expected node %s to have a parent.",
@ -27,17 +27,16 @@
"25": "selectNext: found invalid sibling",
"26": "Expected node with key %s to exist but it's not in the nodeMap.",
"27": "createNodeFromParse: type \"%s\" + not found",
"28": "Point.getNode: node not found",
"29": "resolveNonLineBreakOrInertNode: resolved node not a text node",
"30": "Editor.update() cannot be used within a text node transform.",
"31": "Cannot use method in read-only mode.",
"32": "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().",
"33": "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().",
"34": "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.",
"28": "Editor.update() cannot be used within a text node transform.",
"29": "Cannot use method in read-only mode.",
"30": "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().",
"31": "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().",
"32": "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.",
"33": "Point.getNode: node not found",
"34": "resolveNonLineBreakOrInertNode: resolved node not a text node",
"35": "createNode: node does not exist in nodeMap",
"36": "reconcileNode: prevNode or nextNode does not exist in nodeMap",
"37": "reconcileNode: parentDOM is null",
"38": "storeDOMWithNodeKey: key was null",
"39": "Reconciliation: could not find DOM element for node key \"${key}\"",
"40": "setFormat: can only be used on non-immutable nodes"
"39": "Reconciliation: could not find DOM element for node key \"${key}\""
}