I am working on a custom page in Sitecore during the holidays, and I noticed a problem when Sitecore removes JavaScript lines from the editor.
Here is an overview of my current scenario:
- I am adding Javascript to the page.
- I save, register and publish.
- The changes are there, and everything works.
- I am working on this later and these changes no longer exist.
I am the only one who edited this page and publishes the current / correct version. It doesn't matter if I add the script through the "Editor" or "Edit HTML" functions of the content editor. However, it removes JavaScript; all my other changes are intact.
Is there something I am missing in the implementation of Sitecore for JavaScript? I'm not sure what else needs to be done to diagnose it, so I was hoping someone would have an explanation here.
source share