Ticket #9095 (confirmed Bug)

Opened 2 years ago

Last modified 2 years ago

SCAYT adds bad characters

Reported by: bradbyu Owned by:
Priority: Normal Milestone:
Component: UI : Spell Checker Version: 3.5.3
Keywords: Webkit Cc: SpellChecker.net

Description

This was reproduced on CKEditor's demo.

Reproducing the problem

Enable SCAYT Type "This is my text." Select the final word and give it a style (ie: bold) Place cursor at the end of the paragraph using keyboard or mouse. Press enter to create a new paragraph. Type "This is my text." (NOTE: text will be bold as expected). Repeat step 5 & 6. Note that the word "This" will be underlined with a red squiggle. Control case

Make sure SCAYT is not enabled Type "This is my text." Select the final word and give it a style (ie: bold) Place cursor at the end of the paragraph using keyboard or mouse. Press enter to create a new paragraph. Type "This is my text." (NOTE: text will be bold as expected). Repeat step 5 & 6. Enable SCAYT Note that the word "This" will NOT be underlined with a red squiggle.

Change History

comment:1 Changed 2 years ago by j.swiderski

  • Keywords Webkit added; SCAYT removed
  • Cc SpellChecker.net added
  • Version changed from 3.6.4 (SVN - trunk) to 3.5.3
  • Status changed from new to confirmed

I have managed to reproduce it only in Webkit from CKEditor 3.5.3 rev. [6461].

In rev. [6461] Possibility to attach inline styles to collapsed selection was added so I'm not sure if this revision caused something or if this feature was available earlier the bug would be reproducible earlier as well.

To reproduce:

  1. Clear page and enable scayt
  2. Type "This is my text."
  3. Select word text and make it bold
  4. Put cursor at the end of line and press enter
  5. Type "This is my text." again.

Result: Word This will be underlined by SCAYT while if you do the same TC without SCAYT word will not be highlighted.

comment:2 Changed 2 years ago by SpellChecker.net

WebSpellChecker.net can confirm that the problem is in SCAYT core.

The comment to steps to reproduce: step 3 should be described as:

Select text from the beginning of word "text" to the end of line and make it bold

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