Opened 13 years ago
Last modified 13 years ago
#6859 closed Bug
Full page mode: Spell check dialog adds extra empty style tags — at Initial Version
Reported by: | Wiktor Walc | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.5 |
Component: | UI : Spell Checker | Version: | 3.5 |
Keywords: | Cc: | WebSpellChecker.net |
Description
When SCAYT is enabled and the spell check dialog is used to check the document, empty extra style tags are added to the document and a JavaScript error occurs.
- Open _samples/fullpage.html
- Start with:
<html> <head> </head> <body> <p> Write your email message here schol.</p> <p> You can also...</p> </body> </html>
- Enable SCAYT
- Open the Check Spell dialog
- Click on Finish Checking
- Open the Check Spell dialog again
- Click on Finish Checking
- Result: a javascript error occurred and empty style tags are now in the document:
<html> <head> <title></title> <style cke_temp="2" type="text/css"> </style> <style cke_temp="2" type="text/css"> </style> <style cke_temp="2" type="text/css"> </style> <style cke_temp="2" type="text/css"> </style> </head> <body class="scayt-enabled"> <p> Write your email message here schol.</p> <p> You can also...</p> </body> </html>
JavaScript error:
Tried to register widget with id==scayt_2 but that id is already registered http://svc.spellchecker.net/scayt26/_base.xd.js Line 880
Confirmed in Safari 5.0.3 and Firefox 3.6.13. Looks like a regression introduced in 3.5