Re: How can I make A tags editable in the email 2.0 templates

James_Allan
Level 1

How can I make A tags editable in the email 2.0 templates

I'm getting no effect from adding the class "mktoEditable" to either the A tag or an encasing div element.  Conveniently, Marketo skips right over links in the documentation.  They don't even mention this.  If I add a an "mktoImg" element, a link option is made available in the interface for the image.  nothing for text

 

By the way Marketo, you totally suck!

 

Did I tell you that you suck?  You suck!

Tags (1)
2 REPLIES 2
Oz_Platero
Level 6

Re: How can I make A tags editable in the email 2.0 templates

Hello @James_Allan ,

 

You cannot specifically target an anchor tag only.  You have to go up the parent nodes.

Syntax here

https://docs.marketo.com/display/public/DOCS/Email+Template+Syntax#EmailTemplateSyntax-Images

 

Are you looking to use a div section as an Image then wrap that image with a standard Anchor tag?

 

 

SanfordWhiteman
Level 10 - Community Moderator

Re: How can I make A tags editable in the email 2.0 templates

If you're only concerned about the href, this can be a module-level ${variable}, rather than using an entire editable element.