Can I change WYSIWYG editor behaviour to use classes instead of style attributes for text align?
There is no way I would ever allow editors to use "style" tag in their HTML content… (Btw. "align" button in quill is not working at all)
5 Replies
We are using tiptap and quill and not controlling the way they generate html for the text align feature, so you'll probably need a custom vue component to adjust your wysiwyg preferences
ok,thanks. But what about quill broken "align" button? I think it's not a problem with quill itself but will it's config provided by Twill.
Seems like a docs issue, because of the transition to tiptap as the default in twill 3. See how align is defined for quill in the twill 2 docs: https://twillcms.com/docs/2.x/form-fields/wysiwyg.html
Ok, so it's an array in quill… I'll test it. And what was the main reason to switch to tiptap as default?
Tiptap is easier to work with and better maintained. It also has good table support. We also added features like Twill's browser in Tiptap link feature.