]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types): support contenteditable="plaintext-only" (#8796)
author白雾三语 <32354856+baiwusanyu-c@users.noreply.github.com>
Fri, 20 Oct 2023 09:35:53 +0000 (17:35 +0800)
committerGitHub <noreply@github.com>
Fri, 20 Oct 2023 09:35:53 +0000 (17:35 +0800)
packages/runtime-dom/src/jsx.ts

index d3c0332c7c3e9dab4e6f5c61d431221527868c52..03b84f9e020784af0676a77053465e5577cab9c6 100644 (file)
@@ -244,7 +244,7 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
 
   // Standard HTML Attributes
   accesskey?: string
-  contenteditable?: Booleanish | 'inherit'
+  contenteditable?: Booleanish | 'inherit' | 'plaintext-only'
   contextmenu?: string
   dir?: string
   draggable?: Booleanish