Opened 15 years ago

Last modified 15 years ago

#4763 closed Bug

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

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

Description (last modified by Wiktor Walc)

I managed to confirm this on FF 3.5.5. I cannot reproduce it on IE8. It happens only when <br /> is at the end of line (regardless of enterMode).

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 (2)

comment:1 Changed 15 years ago by Wiktor Walc

Description: modified (diff)

comment:2 Changed 15 years ago by Wiktor Walc

Description: modified (diff)
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