Opened 7 years ago

Closed 7 years ago

#5905 closed Bug (fixed)

SCAYT Spellchecker & Dojo Toolkit

Reported by: Max van der Stam Owned by:
Priority: Normal Milestone: CKEditor 3.4.2
Component: UI : Spell Checker Version: 3.3.1
Keywords: Cc: WebSpellChecker.net

Description

When using Dojo Toolkit (tested with 1.4) and an initialized CKEditor instance, Dojo won't work anymore.

In Firebug, the following error is displayed:

"Bundle not found: validate in dijit.form , locale=en"

When setting the property "scayt_autoStartup" to "false" in the CKEditor constructor, the problem is "solved". In other words, completely disabling the scayt spellchecker is (for now) the only way to be able to integrate CKEditor in an application that also contains Dojo elements.

I believe this is due to the fact that SCAYT spellchecker is being used by both Dojo Toolkit and CKEditor at the same time which causes conflicts.

Attachments (1)

5905_dojo.html (8.8 KB) - added by Garry Yao 7 years ago.
dojo sample page as test case

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by Tobiasz Cudnik

Cc: WebSpellChecker.net added
Component: GeneralUI : Spell Checker
Keywords: dojo spellchecker scayt removed

comment:2 Changed 7 years ago by Frederico Caldeira Knabben

CKEditor itself is not using Dojo, but SCAYT uses it. We expect SpellChecker.net to remove Dojo from SCAYT soon, which should some the problem.

For now, you should really disable SCAYT on CKEditor.

comment:3 Changed 7 years ago by Frederico Caldeira Knabben

For now, we're disabling SCAYT by default ([5646]).

comment:4 Changed 7 years ago by WebSpellChecker.net

Keywords: Confirmed added

comment:5 Changed 7 years ago by Frederico Caldeira Knabben

Keywords: Confirmed removed
Status: newconfirmed

comment:6 Changed 7 years ago by WebSpellChecker.net

Keywords: Review? added

We have changed scope name for Dojo when using SCAYT. Version 2.5.2 contains this fix. We have already uploaded it to out hosting. Please, review.

Changed 7 years ago by Garry Yao

Attachment: 5905_dojo.html added

dojo sample page as test case

comment:7 Changed 7 years ago by Garry Yao

Keywords: Review? removed
Milestone: CKEditor 3.4.2
Resolution: fixed
Status: confirmedclosed

Confirm to be fixed.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy