Opened 14 years ago

Last modified 14 years ago

#4763 closed Bug

Invalid behavior when pressing enter on selected text — at Initial Version

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone: CKEditor 3.2
Component: General Version: SVN (CKEditor) - OLD
Keywords: Confirmed Firefox Review+ Cc:

Description

I managed to confirm this on FF 3.5.5. I cannot reproduce it on IE8. It happens only when enterMode is set to CKEDITOR.ENTER_BR.

Steps to reproduce

Paste the following text in soruce mode:

TEST1&nbsp;&nbsp;&nbsp; TESTESTTEST T1<br />
TEST2&nbsp;&nbsp;&nbsp; TESTESTTEST T2<br />
TEST3&nbsp;&nbsp;&nbsp; TESTESTTEST T3<br />
  • switch to WYSIWYG mode
  • put the cursor after TEST2
  • press shift-end, to select everything until the end of the line
  • then, press enter
  • the content suddenly looks like this :
TEST1    TESTESTTEST T1
TEST2
    TESTESTTEST T2
TEST3    TESTESTTEST T3

Where you would expect it to be something like :

TEST1    TESTESTTEST T1
TEST2

TEST3    TESTESTTEST T3

Change History (0)

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