浏览代码

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

白雾三语 2 年之前
父节点
当前提交
26ca89e5cf
共有 1 个文件被更改,包括 1 次插入1 次删除
  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