Opened 14 years ago
Closed 12 years ago
#7533 closed Bug (fixed)
SCAYT plugin becomes enabled after set data
Reported by: | Michael Camden | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Spell Checker | Version: | 3.2.2 |
Keywords: | Cc: | mcamden@… |
Description
We have a two step validation/cleaning process for HTML. When the user presses our save button, we call 'updateElement' on the editor, send the data to our server, clean and return it, then call 'setData' on the editor. If the user disables SCAYT before saving it becomes enabled after the 'setData' call.
Steps to reproduce:
- Write some data in the editor
- Disable the SCAYT plugin via the toolbar button
- Call 'updateElement' on the editor
- Call 'setData' on the editor (doesn't matter what data you use)
- SCAYT plugin is enabled
Expected result:
- Write some data in the editor
- Disable the SCAYT plugin via the toolbar button
- Call 'updateElement' on the editor
- Call 'setData' on the editor (doesn't matter what data you use)
- SCAYT plugin is disabled
Change History (2)
comment:1 Changed 14 years ago by
Keywords: | scayt enabled setData removed |
---|---|
Status: | new → confirmed |
Version: | 3.5.2 → 3.2.2 |
Simplified test case:
Has happened in all browser from CKEditor version 3.3.2. From version 3.3.2 till 3.3.1 SCAYT is enabled by default but if you turn it off, the behavior is the same.
Before version 3.3.2 js error occurs:
sc_dojo is not defined
caption.xd.js()caption.xd.js (Line 1)
sc_dojo._xdResourceLoaded(function(dojo, dijit, dojox){