Mautic Community Forums

Config for Froala WYSIWIG

Hello,

Just building my first landing page with Mautic and I’m pretty impressed so far!



However, I noticed the Froala WYSIWIG editor strips out inline SVG tags. Bummer, 'cause they’re awesome.

Did some googling and saw alot of issues folks were having with the editor, mainly for email builds though.

I think I can resolve this issue in the Froala config by setting htmlAllowedTags and htmlAllowedEmptyTags (src: https://github.com/froala/wysiwyg-editor/issues/1469).



Sounds like a reasonable place to start.

Only issue, where is the Froala config file in Mautic?

Any advice on doing custom config settings like this to Froala would be much appreciated.



Thanks in advance!

Huck

Hello,
Just building my first landing page with Mautic and I’m pretty impressed so far!

However, I noticed the Froala WYSIWIG editor strips out inline SVG tags. Bummer, 'cause they’re awesome.
Did some googling and saw alot of issues folks were having with the editor, mainly for email builds though.
I think I can resolve this issue in the Froala config by setting htmlAllowedTags and htmlAllowedEmptyTags (src: https://github.com/froala/wysiwyg-editor/issues/1469).

Sounds like a reasonable place to start.
Only issue, where is the Froala config file in Mautic?
Any advice on doing custom config settings like this to Froala would be much appreciated.

Thanks in advance!
Huck