Ticket #957 (closed Bug: fixed)

Opened 7 years ago

Last modified 6 years ago

Enter key after placeholder starts a new colored span in the next line

Reported by: fredck Owned by: martinkou
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Confirmed Review+ Cc:

Description

Steps to Reproduce

  1. Open sample06.html with Firefox;
  2. Place the cursor at the end of the line;
  3. Insert a Placeholder there;
  4. Move the cursor and then move again to the end of the line (right "after" the placeholder) with a mouse click;
  5. Hit Enter and type some text.

The following tag will be created in the new line:

<span style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0); cursor: default;">

Attachments

957.patch (2.0 KB) - added by martinkou 7 years ago.
957_2.patch (2.0 KB) - added by martinkou 6 years ago.

Change History

comment:1 Changed 7 years ago by martinkou

  • Status changed from new to assigned
  • Owner set to martinkou

Changed 7 years ago by martinkou

comment:2 Changed 7 years ago by martinkou

  • Keywords Review? added

The caret position check logic used for <A> tags comes in surprisingly handy here.

comment:3 Changed 6 years ago by fredck

  • Keywords Review- added; Review? removed

The proposed fix doesn't work with FF2.

Changed 6 years ago by martinkou

comment:4 Changed 6 years ago by martinkou

  • Keywords Review? added; Review- removed

Updated the patch for FF2 support.

comment:5 Changed 6 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:6 Changed 6 years ago by martinkou

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed with [1663].

Click here for more info about our SVN system.

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