Hello,
as one can see, there is the icon for dynamic content at the JS for pages or any other cornerstone document.
Can that be used to insert dynamic content… e.g. from ACF into a javascript?
In my case I want to be able to change the parsing level for h-tags at this js line:
$('#article').find('h2, h3').each(function(index) {
and replace it with a value set by using ACF when editing posts… eg by using:
{{dc:acf:post_field field="toc_level"}}
- which would then have the values “h2”, “h2, h3” or “h2, h3, h4”
best regards
Mirco