Ver Fonte

fix(types): support contenteditable="plaintext-only" (#8796)

白雾三语 há 2 anos atrás
pai
commit
26ca89e5cf
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/runtime-dom/src/jsx.ts

+ 1 - 1
packages/runtime-dom/src/jsx.ts

@@ -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