You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to change the text color based on Light and dark mode. How can I pass the information to EditorJsParagraph component so that I can change the text color?
You can achieve what you want by the following this, but if you want to render a specific Component you have to duplicate the corresponding tool and accept the text={text}, textClass arguments
I am using a Paragraph component to render the text with styles. i.e
I need to change the text color based on Light and dark mode. How can I pass the information to EditorJsParagraph component so that I can change the text color?
Desired Behaviour:
Setup
The text was updated successfully, but these errors were encountered: