I use CKEditor and I want to add a script tag snippet:
<script>alert();></script>
The problem is that ckeditor is commenting this code so it doesn't appear in the editor. What I want is let ckeditor consider this code as text not as code so it appear like normal text, also not execute it in the editor.
currently I encode this code snippet and save it as encoded, but when the editor reload the saved data, even when its characters was encoded, the editor transform it to HTML and commenting it as mentioned above.
Thank you.