After updating a draft of an email, I receive an error, "NESTED EDITABLE ELEMENT: #block_uiodfzvr" Can someone explain what this means? Thanks
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 -
SCREENSHOT 2 -
Cheers!
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.
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.
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">
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
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
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.
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!
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"
awesome, so the revised code would look like this, "<div id="block_uiodfzvr"> or do I just remove the "mktEditable"
This is what a nested mktEditable looks like, which you can't have
<div class="mktEditable">
<div class="mktEditable"></div>
</div>
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?
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.