Ticket #957 (closed Bug: fixed)

Opened 3 years ago

Last modified 2 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)
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 Download (2.0 KB) - added by martinkou 2 years ago.
957_2.patch Download (2.0 KB) - added by martinkou 2 years ago.

Change History

Changed 2 years ago by martinkou

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

Changed 2 years ago by martinkou

Changed 2 years ago by martinkou

  • keywords Review? added

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

Changed 2 years ago by fredck

  • keywords Review- added; Review? removed

The proposed fix doesn't work with FF2.

Changed 2 years ago by martinkou

Changed 2 years ago by martinkou

  • keywords Review? added; Review- removed

Updated the patch for FF2 support.

Changed 2 years ago by fredck

  • keywords Review+ added; Review? removed

Changed 2 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.