Hey guys,
it's me again. We're having another issue with making our Email Code compatible within the Marketo Editor.
After fixing the most issues, there's still one weird behaviour by the editor we do not understand and would like to fix.
So we have created a module for our newsletter template where we want to give users an overview about our latest blog posts. This module consists of 2 parts:
- The 1st part is the heading and article description, where we used the Rich Text Editor ("mktoText") to make the text editable. We decided to use RTE instead of Variables as it would be a pain to edit the longer article descriptions within the single line textfield we get from using variables.
- The 2nd part are the variables, mainly used for CTA and UTM. So we have variables to define the CTA text, the CTA URL and our UTM (which is global for all CTAs used in this mail). It looks kinda like this inside Marketo's editor:
The issue we have is that every time we want to edit the Button URL, we have some visual glitches inside the email editor. The Text Module for article description gets somehow "erased" and the content is pasted right beneath the erased module - just without styling:
When we are making further edits inside the text part (therefore we have to double-click this erased module), the "new" content will be shown - but also still the old content right beneath the module:
As far as we're concerned, this is only viewable in the editor - so when sending a sample, the unstyled part which doesn't belong there won't be shown in the mail.
Note that this also only happens if we change the CTA Link first and the Article Description after that. If we do it the other way around, it seems that everything is working fine and there are no glitches within the visual editor.
Do u know what could be the reason for this? We've attached a small sample of the code which maybe gives a little more insight:
https://privatebin.auxaws.de/?c0fc0b449c96bcc2#8AffmkqKup1TiMB4AbHRR4oqT3RCWqXur93z4vyHbc2C
Honestly we cannot explain why this is happening - the only thesis we have is that using Variables AND Rich Text Editor inside one Module is just too much to handle for Marketo. Another theory might be that it could have sth to do with our Fallback Buttons for Outlook or Windows Mail? (which are by the way, a pain to optimise... still haven't found the "perfect" settings for height and line-height yet and sometimes text still gets cut off very badly... but that's another story :D)
Maybe there is even a better way to design a module like this? Looking forward to your insights 🙂
Thanks in advance and best regards
Artur