Replies: 1 comment
-
No, theming does not apply to custom nodes. You need to style them separately. |
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 got the impression from reading https://lexical.dev/docs/getting-started/theming that I could simply attach css classes by doing
nodeType: className
.However, on second reading, it seems that this only works for built in nodes. I'm having trouble finding confirmation.
Is this the case?
If not, how can I theme custom nodes (without explicitly attaching css classes in
createDOM
?Beta Was this translation helpful? Give feedback.
All reactions