Block do not save the control value
-
I created a simple lazy block:
<p>Open <a href="https://foo.com/{{my_custom_id}}" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here ({{my_custom_id}})</a>.</p>
When I add the block in my post, it correctly tells me that
my_custom_id
is required.When I enter a value, it correctly update the editor view ( I have
Single output code for Frontend and Editor
checked ).When I click on
preview
orpublish
the article, instead of the value I entered, it is using the default value.I did not want a default value but I just put
abc
in the Lazy Block value to test that the interpolation with handlebars was working.And it must, since I am seeing
abc
in the website. But I do not see the value I entered in the editor.PS: I tried with
{{
and with 3 as well. Both yield the same result.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Block do not save the control value’ is closed to new replies.