Opened 12 years ago

Closed 12 years ago

#9563 closed Bug (fixed)

SCAYT does not work in 4.0 inline editor

Reported by: Andy Wall Owned by:
Priority: Normal Milestone:
Component: UI : Spell Checker Version: 4.0
Keywords: Cc:


When attempting to create an inline editor, SCAYT fails to load/init.

The script _base.xd.js fails at line 3061 (appears to be because it does not have a proper reference to the editor.)

Can be seen on a bare-bones test here: There are two editors on this page. The top one transforms a textarea into CKeditor, iframe-style. SCAYT loads okay. Below this is a contenteditable DIV which is configured for CKEditor inline editing. SCAYT does not load properly and is greyed out in the toolbar.

Should this be brought to the WSC people? They bill the CKEditor WSC plugin as '3.0+' compatible.

Change History (5)

comment:1 Changed 12 years ago by Jakub Ś

Cc: added
Component: GeneralUI : Spell Checker
Keywords: scayt removed
Status: newconfirmed
Version: 4.0 Beta4.0 (GitHub - master)

First of all WSC is button to the left and it works, SCAYT is to the right and it is disabled by default. It does not work with inline sample.

The problem happens when you set config.scayt_autoStartup = true; in config.js and use inline sample.

JS error is thrown:
TypeError: this.srcNodeRef is null
Line: 3061

The error occurs in scayt script and there is nothing we can do here.
I'm adding to CC so that they could tell us if it is possible to fix this or not.

comment:2 Changed 12 years ago by Frederico Caldeira Knabben

This one definitely depends on making their products compatible with CKEditor 4 and inline editing.

comment:3 Changed 12 years ago by Jakub Ś

Leaving this one open. If scayt team will be able to fix it we will have to enable scayt in inline sample.

comment:4 Changed 12 years ago by Jakub Ś

Note: this is only v4 issue (inline editing is available in V4 only and SCAYT works in V3).

comment:5 Changed 12 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

WSC team has already added support for inline editing. You can check it on editor built by CKEditor 4 Presets Builder.

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