diff --git a/src/compiler/compile/nodes/Element.ts b/src/compiler/compile/nodes/Element.ts index 3fcc453926..a3030f52a5 100644 --- a/src/compiler/compile/nodes/Element.ts +++ b/src/compiler/compile/nodes/Element.ts @@ -618,7 +618,7 @@ export default class Element extends Node { if (!contenteditable) { component.error(binding, { code: `missing-contenteditable-attribute`, - message: `'contenteditable' attribute is required for texContent and innerHTML two-way bindings` + message: `'contenteditable' attribute is required for textContent and innerHTML two-way bindings` }); } else if (contenteditable && !contenteditable.is_static) { component.error(contenteditable, {