Skip to content

Commit

Permalink
chore(text-editor): improve wording of error message slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschmidt committed Dec 4, 2024
1 parent b69c475 commit 4ffb12a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const getCustomNode = (name: string, schema: Schema): NodeType => {

if (!customNode) {
throw new Error(
`A custom element hasn't been registered for node ${name}`,
`No custom element has been registered for node ${name}`,
);
}

Expand Down

0 comments on commit 4ffb12a

Please sign in to comment.