Sticky WYSIWYG toolbar + image upload?
Looking to make the WYSIWYG toolbar sticky, also looking to add ability to insert images from media library into the WYSIWYG as a toolbar option?
4 Replies
😴
Hi @Braunson the
limitHeight
boolean on the field is kinda what you're looking for re:sticky. Inserting images in a wysiwyg field is a bad practice which is why it is not supported. You should use a block editor.
A text block followed by an image block followed by a text block would produce the same results with better data integrity and controlYeah I understand that, I guess we're outgrowing Twill in feature.. ie sure it's not a great practice but again the people using it are FE devs so they don't necessarily need guardrails. I'll figure a workaround.
I mean it is technically possible, you could have your own tiptap vue component where you enable the image feature
but by default it stores it as base64 in db which is... pretty bad
at some point we'll work on integrating something like lexical so we can do blocks within the editor itself
Curious to hear more about the use case. why would FE devs not need guardrails from the backend tool they are using?