Enhancement: email builder drag and drop button

You have the great ability with mautic to create themes that helps you to create great emails that matches to your company guidelines.
Nevertheless, when you create your theme and then add a new CTA button on the email drag and drop builder, the button style is not following the theme directives but the mautic core button style that are inline style.

Inline style is stronger than general style, especially in emails

Consequently, it is simply impossible to restyle an button which was not previously planned in the template ā€”> the drag and drop feature becomes useless.

<h3>Suggestion</h3>
With a config file in the theme structure, we could allow theme developers to redefine the standardization of slots (zones) to drag and drop.
That way, instead of a standard mautic button, you could drag and drop a theme styled button and take benefit of the power of drag and drop email UI !

+1 Iā€™d like to see this as well.

To do so the complete editor needs to get a big update. Currently the slots are pretty much hardcoded. The past few weeks a worked already on some improvements which makes it possible to define the css in a seperate css-file which will be converted to inline css. This makes the creation of custom theme a lot easier. If you want to play with it as wel just let me know.

2 Likes