salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.55k stars 2.1k forks source link

Feature: Dynamic selection of Email Template Editor #9218

Open eradin opened 3 years ago

eradin commented 3 years ago

Issue

When building campaign email templates, It's useful to use the Mozaik editor to get a quick start and then hand optimize the template code using DirectHtml. To do this, you have to leave the editor, go to your profile, change the editor and then return to the template. It would be nice to be able to dynamically switch editors inside the template editor. This applies to both the template editor in the Wizard as well as the Template Editor Module. Whether the switch would actually persist in the user profile is up for discussion. I have no preference.

Possible Fix

Add a drop down button to the template editors. When the editor is changed, update the view.

pgorod commented 3 years ago

For the same purpose, it would probably be a better design to just use the editor's features properly. Mozaik is just TinyMCE underneath. And TinyMCE has a "code" option which let's you edit the "raw" version of the email, similar to the "Direct HTML" option.

SuiteCRM needs easier ways to set these options to make everything more customizable, and make better use of TinyMCE features and customizability.

IMHO