Support contenteditable="plaintext-only"
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
Make component where you have
<div contenteditable="plaintext-only">Some text</div>
What is expected?
contenteditable="plaintext-only"
is working
https://caniuse.com/mdn-html_global_attributes_contenteditable_plaintext-only
What is actually happening?
error TS2322: Type '"plaintext-only"' is not assignable to type '"inherit" | Booleanish | undefined'.
74 contenteditable="plaintext-only"
~~~~~~~~~~~~~~~
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts:323:5
323 contenteditable?: Booleanish | 'inherit';
~~~~~~~~~~~~~~~
The expected type comes from property 'contenteditable' which is declared here on type 'HTMLAttributes & ReservedProps & Record<string, unknown>'
System Info
No response
Any additional comments?
No response