Closed JDPDO closed 2 years ago
Wouldn't it be better if the fields html_body
and text_body
are merged. Maybe just body
? The type of body would be clearly identifiable thanks to campaign.settings.type
(Keila.Mailings.Campaign.Settings
).
It isn’t so much that the field is obsolete, it’s more that it’s not used yet. The original idea behind having both fields would be that there could be campaign types that allow users to change the HTML body and text body independently. E.g. if we introduce a HTML block editor, users still might want to modify the plain text version of their emails.
If I see correctly the field
html_body
of campaign is never used.