Opened 18 years ago
Closed 18 years ago
#957 closed Bug (fixed)
Enter key after placeholder starts a new colored span in the next line
| Reported by: | Frederico Caldeira Knabben | Owned by: | Martin Kou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6 |
| Component: | General | Version: | SVN (FCKeditor) - Retired |
| Keywords: | Confirmed Review+ | Cc: |
Description
Steps to Reproduce
- Open sample06.html with Firefox;
- Place the cursor at the end of the line;
- Insert a Placeholder there;
- Move the cursor and then move again to the end of the line (right "after" the placeholder) with a mouse click;
- 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 (2)
Change History (8)
comment:1 Changed 18 years ago by
| Owner: | set to Martin Kou |
|---|---|
| Status: | new → assigned |
Changed 18 years ago by
comment:2 Changed 18 years ago by
| Keywords: | Review? added |
|---|
comment:3 Changed 18 years ago by
| Keywords: | Review- added; Review? removed |
|---|
The proposed fix doesn't work with FF2.
Changed 18 years ago by
| Attachment: | 957_2.patch added |
|---|
comment:4 Changed 18 years ago by
| Keywords: | Review? added; Review- removed |
|---|
Updated the patch for FF2 support.
comment:5 Changed 18 years ago by
| Keywords: | Review+ added; Review? removed |
|---|
comment:6 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed with [1663].
Click here for more info about our SVN system.

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