Open alexanderbuergin opened 7 months ago
While we can add the option to edit HTML (like we do with Vizy) the real issue is that it probably won't let you do what you want. We use Tiptap for the rich text editors for Formie, like Vizy does. That in turn uses ProseMirror. It has a very strict schema on what sort of content can be included in the editor.
For example, if you tried to add something like <span class="my-class">Some Text</span>
that element wouldn't be saved, as it's not something that's been added to the schema and is "allowed" by ProseMirror. Even just manipulating existing tags like the anchor tag to include other attributes won't work, because those attributes haven't been allowed in the schema.
This is both a blessing and curse in situations like this, where you might expect the traditional Redactor/CKEditor/etc approach where you freely edit HTML.
I'll see what I can do about this, but that's the background so far.
What are you trying to do?
The option to work directly in HTML with this text editor would be very practical.
Could you add this option?
What's your proposed solution?
Add a HTML button to the RTF Editor
Additional context
No response