Opened 7 years ago

Closed 4 years ago

#9427 closed Bug (wontfix)

[IE6-9] Error when pasting with SCAYT enabled

Reported by: Olek Nowodziński Owned by:
Priority: Normal Milestone:
Component: UI : Spell Checker Version: 3.2.1
Keywords: IE Cc: WebSpellChecker.net

Description (last modified by Jakub Ś)

  1. Go to http://ckeditor.t/ckeditor/_samples/replacebycode.html
  2. Enable SCAYT.
  3. Copy the entire sample description "This sample shows... element to be replaced."
  4. Paste when the caret is somewhere inside of: <strong>sample^ text</strong> or <a href="http://ckeditor.com/">CKEd^itor</a>
  5. Error: invalid argument

NOTES:

  • SCAYT must be enabled.
  • No error is produced when pasting directly into paragraph's first-child text node.
  • The error also depends on what has been copied - Two lines of text are needed E.g. two paragraphs.
  • There's no such problem in v4.

Change History (5)

comment:1 Changed 7 years ago by Jakub Ś

Description: modified (diff)
Keywords: IE added
Status: newconfirmed
Summary: [IE7] Error when pasting with SCAYT enabled[IE6-9] Error when pasting with SCAYT enabled
Version: 3.6.43.2.1

Reproducible in IE6-9 from CKEditor 3.2.1.

JS error is:
Message: Invalid argument
Line: 3280 URI: http://svc.webspellchecker.net/scayt26/_base.xd.js

comment:2 Changed 7 years ago by Jakub Ś

Cc: WebSpellChecker.net added

comment:3 Changed 7 years ago by WebSpellChecker.net

WebSpellChecker.net team can confirm problem in SCAYT core for the steps described. At the same time digging in to the problem uncovered other problem in IE. It can be observed in IE 8-9:

  1. Open nightly build (http://nightly.ckeditor.com/7655/_samples/replacebycode.html)
  2. Copy multiline markup from description (at least 1st and 2nd sentences)
  3. Set caret inside <strong> tag: <strong>sample^ text</strong>
  4. Paste data

Review last two lines.

Expected result:

text. You are using CKEditor.

which is represented by markup <p><strong>text</strong>. You are using CKEditor.</p>

Actual result:

text
. You are using CKEditor.

which is represented by markup <p>text</strong>. You are using CKEditor.</p>

Problems with markup exists in IE 6-9, but visually observed in IE 8-9.

Switching editor to source mode fix markup.

comment:4 Changed 5 years ago by Wiktor Walc

Component: Core : PastingUI : Spell Checker

comment:5 Changed 4 years ago by Wiktor Walc

Resolution: wontfix
Status: confirmedclosed

Considering that 3.x is no longer maintained and the bug does not exist in 4.x, closing the ticket.

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