From: 白雾三语 <32354856+baiwusanyu-c@users.noreply.github.com> Date: Fri, 20 Oct 2023 09:35:53 +0000 (+0800) Subject: fix(types): support contenteditable="plaintext-only" (#8796) X-Git-Tag: v3.3.6~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ca89e5cf734fbef81e182050d2a215ec8a437b;p=thirdparty%2Fvuejs%2Fcore.git fix(types): support contenteditable="plaintext-only" (#8796) --- diff --git a/packages/runtime-dom/src/jsx.ts b/packages/runtime-dom/src/jsx.ts index d3c0332c7c..03b84f9e02 100644 --- a/packages/runtime-dom/src/jsx.ts +++ b/packages/runtime-dom/src/jsx.ts @@ -244,7 +244,7 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers { // Standard HTML Attributes accesskey?: string - contenteditable?: Booleanish | 'inherit' + contenteditable?: Booleanish | 'inherit' | 'plaintext-only' contextmenu?: string dir?: string draggable?: Booleanish