Help

Anonymous
Not applicable

After updating a draft of an email, I receive an error, "NESTED EDITABLE ELEMENT: #block_uiodfzvr" Can someone explain what this means? Thanks

13 REPLIES 13
Anonymous
Not applicable

Hi,

I just came across similar issue and wanted to share how I solved it. I was working with code supplied and when went to save template got the error -  "NESTED EDITABLE ELEMENT #Footer"

I am not a coder but I solved it by making both elements LHS aligned so the second element was not nested under the first.

See screenshots -

SCREENSHOT 1 -

Nested1.png

SCREENSHOT 2 -

Nested2.png

Cheers!

Dan_Stevens_
Level 10 - Champion Alumni

Alignment of HTML code has nothing to do with the actual functionality of the code - it's simply to make it easier to work with the code (as is the color-coding).  So I'm surprised that just left-aligning it fixed it.

Jim_Thao7
Level 9

You may want to restrategize your need as you can't have an editable section within an editable section.  Perhaps make the parent container editable so that everything can be editable.  

Jim_Thao7
Level 9

Either/or won't matter as they will both accomplish the same thing.  For the sake of learning, try both and you will obtain a better understanding.  You can have:

<div class="" id="block_uiodfzvr">

or

<div id="block_uiodfzvr">

Anonymous
Not applicable

HI Jim,

I wrote too soon. I eliminated just the "mktEditable" part and that locks down my text. The text has to be editable. so any thoughts about this?

Thanks,
Debi

Anonymous
Not applicable

Hi Jim!

Looks like the problem has been fixed. Cross your fingers. All I did is remove "mktEditable". Once that was done, I was able to approve my draft.

Many thanks for your help - have a wonderful day!

Best,

Debi

Jim_Thao7
Level 9

Hello Debi,

You got it.  If you have nested editable elements, Marketo won't let you approve your email template.   You'll want to update your code to ensure that you do not have nested editable elements.

Anonymous
Not applicable

Thanks Jim - so if I search the code and find "#block_uiodfzvr", do I delete it or chnge it to something else. And if I change it to something else, what would that be? Sorry, I am not a coder, so this is all new to me. many thanks!

Jim_Thao7
Level 9

you probably won't be able to find #block_uiodfzvr as it's probably called id="block_uiodfzv".

you'll have something that looks like this:

<div class="mktEditable" id="block_uiodfzvr">

you will need to remove the class="mktEditable"

Anonymous
Not applicable

awesome, so the revised code would look like this, "<div id="block_uiodfzvr"> or do I just remove the "mktEditable"

Jim_Thao7
Level 9

This is what a nested mktEditable looks like, which you can't have

<div class="mktEditable">

     <div class="mktEditable"></div>

</div>

Anonymous
Not applicable

Hi Jim,

Thank you for your response. What do you mean, "You can't have". Do you mean, based on the message I received, I can't do what want with the design?

Dan_Stevens_
Level 10 - Champion Alumni

You might also want to change the title of this thread (from "Help") so that other users can benefit from it in the future, should they have the same issue.