'ContentEditable' cannot be used as a JSX component #7120
Replies: 1 comment
-
Through various edits this problem went away on its own -- though I never discovered the actual issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm sure I'm missing something obvious, but I'm being tripped up trying to build an editor from the ground up: all of the examples I see use the
contentEditable
property of theRichTextPlugin
in the same way, and I've done the same:But I get the aforementioned error at compile time from TypeScript for that
<ContentEditable/>
param: "'ContentEditable' cannot be used as a JSX component."Excerpts from my
package.json
:As for
tsconfig
, it's a mono repo with a bunch of dependencies, but essentially this (in case it's relevant):Beta Was this translation helpful? Give feedback.
All reactions