-
-
Notifications
You must be signed in to change notification settings - Fork 2k
TS errors for contentEditable attribute #4241
Copy link
Copy link
Closed
Description
- Check if updating to the latest Preact version resolves the issue
Describe the bug
When using the contentEditable, @types/react considers "inherit" a valid value while preact doesn't
The mdn docs state that
If this attribute is missing or its value is invalid, its value is inherited from its parent element: so the element is editable if its parent is editable.
it still produces typescript errors in various react libraries.
To Reproduce
See the links
Expected behavior
No typescript errors in various react libs that use contentEditable
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels