Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
3.0.2, 3.5.4
-
None
Description
I add something like this to a rich editor paragraph using the Source view:
<script type="text/javascript">
alert("Hello there!");
</script>
When the page reloads, the alert displays correctly. However, when I go to edit that paragraph again, the browser mistakenly interprets the </script> in what I've entered as the end of the script block that configures FCKEditor, resulting in gibberish on the screen and no usable FCKEditor control.
This article details the solution:
http://www.wwco.com/~wls/blog/2007/04/25/using-script-in-a-javascript-literal/
I've implemented this for Magnolia's FCKEditor integration. Patch is included.
Checklists
Acceptance criteria