custom-pages
custom-pages copied to clipboard
Template type snippet - Cannot edit elements
What works:
In a template type page you can click in the top left menu and edit elements:
So far so good.
What doesn't work:
In a template type snippet you cannot edit elements (at least as far as I see)
In most cases it's not an issue because you can modify elements directly in the snippet.
But let's suppose your element is a text type element that you use as url in an anchor or in an image like this:
<a href="{{ my_text_element }}"> link text </a>
or <img src="{{ my_text_element }}"/>
In this case you are cooked. You can only edit the default value of the element
Workaround Instead of a "simple" template you can put your data in a container. This will allow to edit elements, but It's tricky.
Suggestion Add somewhere an "edit snippet elements" button