Hi,
I am using quickedit and I have in the template the following
<div id="right_content"><quickedit:link_img_1 /><quickedit:img_1 /><a href="[*link_img_1*]">[*img_1*]</a>
Because of that the page cannot be validated
# Line 79, column 54: element "quickedit:link_img_1" undefined
…ight_content"><quickedit:link_img_1 /><quickedit:img_1 /><a href="http://www.
I need to somehow to remove the quickedit tags in the frontend when nobody is logged in as a content editor
Maybe there I can create some kind of snippet. Something like this:
if modx->ContentEditorSessionExists() {
display <quickedit:link_img_1 /><quickedit:img_1 />
} else {
display nothing
}
Thank you