Opened 7 years ago

Closed 7 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: WebSpellChecker.net

Description

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

The webspellchecker.net 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: http://andywalldesign.com/files/andy/temp.html 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 7 years ago by Jakub Ś

Cc: WebSpellChecker.net 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
URI: http://svc.webspellchecker.net/scayt26/_base.xd.js
Line: 3061

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

comment:2 Changed 7 years ago by Frederico Caldeira Knabben

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

comment:3 Changed 7 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 7 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 7 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy