Intuitive, expansive and flexible creation with no distractions.
Robust, user-friendly data protection for your visitors and you.
Modern, effective solutions for site growth and functionality.
Professionally designed and coded themes and plugins.
Free and premium, beautifully-designed templates.
Expand your site with your favorite tools and apps.
Get help building your site from our web development services.
Learn how Publii works, from installation to creation.
Documentation, guides, and tutorials for developers.
Explore and interact with others and learn new things.
Dedicated customer support for paid products.
Read up on the latest news about Publii and its products.
Forum › Bug Report
Hello,
I installed the new Publii v.0.36.1 (build 13320) beta. After editing my document, that had ld+json and javascript tags, it is not rendered anymore.
I had to remove the tags and edit the html file on my server to add the tags again.
Best, Claas
Hi,
TinyMCE is removing script tags by default. You can consider changing TinyMCE settings. I suppose that it is a similar problem: https://github.com/GetPublii/Publii/issues/674
thanks for your answer.
I added to tinymce.override.json
{ "extended_valid_elements": "*[*]" }
But thats does not solve the problem for me.
I also noticed that the CDATA part was added by Publii. It would be correct without the CDATA part.
Disabeling script at all worked for me by adding:
{ valid_elements : "script" }