Provide Method to Prevent Copy to Text on Editable Email Areas

Provide Method to Prevent Copy to Text on Editable Email Areas

Today, editable areas inside an email are copied into the text version of an email when building inside the Marketo UI. However, this is not always desired behavior. For example, if you have an editable area inside Marketo, you may have something like:

 

<div class="mktoText" id="example" mktoName="Example Text Area">
I'm getting copied to the text version of this email!
</div>

 

However, there may be configuration reasons as to why you may both want to have an editable area and an ability to explicitly not copy that content into the text version of the email:

<div class="mktoText" id="example" mktoName="Example Text Area" aria-hidden="${trueOrFalse}">
I may or may not need to be copied to the text version of this email!
</div>

If there was some way to explicitly mark that the content should not be copied—whether that's using an ARIA role (if hidden, then "hide" text by failing to copy), some custom attribute like mktoCopyToText, or something else—this would empower template developers to consolidate types of modules used, decreasing the level of effort to maintain complex templates.