Opened 6 years ago

Last modified 6 years ago

#11668 confirmed Bug

delete key behavior is WRONG!!

Reported by: masoud Owned by:
Priority: Normal Milestone:
Component: Core : Keystrokes Version: 3.0
Keywords: Firefox Cc:

Description (last modified by Jakub Ś)

EDIT:

  1. Insert below code into editor:
    <p>test <strong>test <em>test </em>test</strong> test test</p>
    
  2. Switch to wysiwyg and put cursor behind italic element. Please note that element path needs to show body p strong. If you are seeing em move curosor with arrows to get out of em element.
    test test test ^test test test
    
  3. Start deleting text with delete key

Result: once whole bold text is deleted, the italic element gets deleted (except for the first letter)


hi all; I newly found key delete works wrong!!! for example, we have an bold element in a paragraph and in the bold element there is an italic word. if we put cursor after italic element exactly, and begin pressing delete key, the characters of bold text node which is after italic element, delete one by one. when the text node deleted and italic element was placed in end of bold element and cursor was placed in bold element and exactly after italic, pressing delete key will caused all of italic characters except one char, be remove!!! that is WRONG!!!

  1. http://upload7.ir/imgs/2014-03/22805295702919488848.png
  2. http://upload7.ir/imgs/2014-03/03656317128125272710.png
  3. http://upload7.ir/imgs/2014-03/11671183618270822326.png
  4. http://upload7.ir/imgs/2014-03/21996411578075141160.png

True : In these circumstances, characters of next text node from next element must be remove. I checked this, from 4.3.3 to 3.0 versions and all of them have this bug. please solve it. Very Thanks.

Attachments (1)

2014-03-19_1539.swf (850.6 KB) - added by Jakub Ś 6 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 years ago by masoud

I checked tinyMCE and it had true treat.

comment:2 Changed 6 years ago by Jakub Ś

Keywords: Firefox added; delete keystrokes selection removed
Status: newconfirmed
Version: 4.3.33.0

Problem can be reproduced from CKEditor 3.0 in Firefox only and is most likely related to whole family of such Firefox bugs mentioned in #3509 (It is about leaving element boundaries in Firefox - http://dev.ckeditor.com/ticket/7796#comment:4).

comment:3 Changed 6 years ago by masoud

will be produced a patch for fix it in firefox?

comment:4 Changed 6 years ago by Jakub Ś

Description: modified (diff)

Changed 6 years ago by Jakub Ś

Attachment: 2014-03-19_1539.swf added

comment:5 Changed 6 years ago by masoud

will be resolved in next release?

comment:6 Changed 6 years ago by Jakub Ś

We are not targeting this issue for next milestone.

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