Opened 13 years ago

Closed 11 years ago

#6863 closed Bug (fixed)

Full page mode: Spell check dialog causes a JS error

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: UI : Spell Checker Version: 3.3
Keywords: HasPatch, Review? Cc: WebSpellChecker.net

Description

When SCAYT is enabled and the spell check dialog is used to check the document, a JavaScript error occurs (empty style tags are covered by #6859).

  1. Open _samples/fullpage.html
  2. Start with:
    <html>
    	<head>
    	</head>
    	<body>
    		<p>
    			Write your email message here schol.</p>
    		<p>
    			You can also...</p>
    	</body>
    </html>
    
  3. Enable SCAYT
  4. Open the Check Spell dialog
  5. Click on Finish Checking
  6. Open the Check Spell dialog again
  7. Click on Finish Checking
  8. Result: a javascript error occurred:

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.

(js error moved from #6859)

Attachments (1)

6863.patch (1.1 KB) - added by WebSpellChecker.net 13 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 years ago by Wiktor Walc

Milestone: CKEditor 3.5
Status: newconfirmed
Version: 3.5 (SVN - 3.5.x)3.3

Not a regression, I've managed to confirm it in 3.3.

Changed 13 years ago by WebSpellChecker.net

Attachment: 6863.patch added

comment:2 Changed 13 years ago by WebSpellChecker.net

Keywords: HasPatch Review? added

WSC should behave the same way the "Source" button works: save SCAYT state and disable it before launching WSC and restore SCAYT state after WSC is closed.

comment:3 Changed 11 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

I was not able to reproduce it in latest CKEditor 3.6.5.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy