We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.
Thanks Bob
i mean the with block editor js code is not executed
I send you three examples made with different editors
where you see that with the block editor
the js code remains text
Thanks Bob
I confirm that in the Block editor, I use the HTML icon and put the script
between the tags p and p of the html block.
But then if I look at the online code of the generated post
“script” becomes “publii-script” and is not interpreted correctly.
What am I doing wrong? Thanks for your help
One more about {{js “filepath.js”}} in https://getpublii.com/dev/js-helper/
I am trying to use the link to the assets directory (which one? Because there are several) e.g \ input \ themes \ simple \ assets \ js?
This helper is always looking for the script file in the following localization: (Documents ▸ Publii ▸ sites ▸ YOUR_SITE ▸ input ▸ themes ▸ YOUR_THEME ▸ assets ▸ js)
I’m trying to link the w3.js file I put in the foder
“Documents \ Publii \ sites \ mysite \ input \ themes \ simple \ assets \ js \”
with the helper src=”{{js” w3.js “}}”
but it doesn’t work locally
and in the generated html code remains src=”{{js” w3.js “}}”
see http://test.allenati.it/helper.html
can you help me understand the problem
thank you