Opened 17 years ago
Closed 17 years ago
#1054 closed Bug (fixed)
Incorrect line spacing after deleting everything in document in Firefox
Reported by: | Martin Kou | Owned by: | Martin Kou |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Confirmed Firefox | Cc: |
Description
Reproduction procedure:
- Go to sample01.html.
- Press Ctrl-A to select all.
- Press Del to delete everything.
- Type "First line", press Enter.
- Type "Second line", press Enter.
- Type "Third line", press Enter.
- Notice the line spacing between "First line" and "Second line" is much larger than expected.
This bug does not occur in 2.4.3.
Change History (3)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Actually it is not really space there. We have two "bogus BR" inside the first paragraph:
<p> First line<br _moz_dirty=""/><br type="_moz"/> </p>
Probably Firefox added the first <br> when deleting, and we are adding the second one when hitting enter. Maybe something need to be changed at FCKTools.AppendBogusBr.
comment:3 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed with [650].
Click here for more info about our SVN system.
I've traced the error to @308. Before @308 (say, @307), the error does not occur.
[308] is quite a large change however. So I'll need some time to investigate what went wrong with it.