mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
update error message
This commit is contained in:
parent
5808e64635
commit
36670d0d41
@ -10,7 +10,7 @@ function findDOMNode(node) {
|
||||
const el = window.document.querySelector(`[data-key="${node.key}"]`)
|
||||
|
||||
if (!el) {
|
||||
throw new Error(`Unable to find a dom node for "${node.key}". This is
|
||||
throw new Error(`Unable to find a DOM node for "${node.key}". This is
|
||||
often because of forgetting to add \`props.attributes\` to a component
|
||||
returned from \`renderNode\`.`)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user