Randy_Johnson's avatar

WYSIWYG Editor ReactJS

Hi, I'm looking for a what you see is what you get editor, but the one I managed to get working has fundamental problems, in that the tags are not recognized by react, I need a what you see is what you get editor that allows me to edit the tags so it can be in line with Tailwind.

0 likes
2 replies
ramonrietdijk's avatar
Level 30

Although I'm not aware of specific packages for React, you can make use of the typography plugin of Tailwind. If you make use of the prose class, any "normal tags" will be styled by Tailwind. Your WYSIWYG editor can use regular tags and don't require any customization. You can alter the default styling that Tailwind applies in the configuration.

Personally, I like the Trix editor.

Please or to participate in this conversation.