Ticket #957 (closed Bug: fixed)

Opened 10 months ago

Last modified 2 months ago

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

Reported by: fredck Assigned to: martinkou
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version: SVN
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 on 02/27/08 10:20:19.
957_2.patch (2.0 kB) - added by martinkou on 02/29/08 11:00:05.

Change History

02/27/08 09:32:55 changed by martinkou

  • owner set to martinkou.
  • status changed from new to assigned.

02/27/08 10:20:19 changed by martinkou

  • attachment 957.patch added.

02/27/08 10:21:00 changed by martinkou

  • keywords changed from Confirmed to Confirmed Review?.

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

02/29/08 10:55:35 changed by fredck

  • keywords changed from Confirmed Review? to Confirmed Review-.

The proposed fix doesn't work with FF2.

02/29/08 11:00:05 changed by martinkou

  • attachment 957_2.patch added.

02/29/08 11:00:32 changed by martinkou

  • keywords changed from Confirmed Review- to Confirmed Review?.

Updated the patch for FF2 support.

02/29/08 11:03:46 changed by fredck

  • keywords changed from Confirmed Review? to Confirmed Review+.

02/29/08 11:14:11 changed by martinkou

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed with [1663].

Click here for more info about our SVN system.