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
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!