diff --git a/elements/index.d.ts b/elements/index.d.ts index 72a077a7d5..4ad2f2880f 100644 --- a/elements/index.d.ts +++ b/elements/index.d.ts @@ -534,13 +534,17 @@ export interface HTMLAttributes extends AriaAttributes, D is?: string | undefined | null; /** - * Elements with the contenteditable attribute support innerHTML and textContent bindings. + * Elements with the contenteditable attribute support `innerHTML`, `textContent` and `innerText` bindings. */ 'bind:innerHTML'?: string | undefined | null; /** - * Elements with the contenteditable attribute support innerHTML and textContent bindings. + * Elements with the contenteditable attribute support `innerHTML`, `textContent` and `innerText` bindings. */ 'bind:textContent'?: string | undefined | null; + /** + * Elements with the contenteditable attribute support `innerHTML`, `textContent` and `innerText` bindings. + */ + 'bind:innerText'?: string | undefined | null; // SvelteKit 'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null; diff --git a/site/content/docs/03-template-syntax.md b/site/content/docs/03-template-syntax.md index 95d76db5b7..170c303b85 100644 --- a/site/content/docs/03-template-syntax.md +++ b/site/content/docs/03-template-syntax.md @@ -691,7 +691,12 @@ When the value of an `