Closed
Bug 164060
Opened 23 years ago
Closed 23 years ago
Drop link into list item makes cursor jump to next item
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
FIXED
M1
People
(Reporter: akkzilla, Assigned: mozeditor)
Details
(Whiteboard: EDITORBASE+; fixinhand; need r=,sr=)
Attachments
(1 file)
|
1.81 KB,
patch
|
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
This is a regression from moz 1.0 in writing my status reports:
Start a list item, then drag a link from a browser window to the end of the list
item line in composer. After the drop, type a few words.
In 1.0, after the link drop, the caret is positioned after the link, but outside
it: the new words typed are not in the link. This makes it very easy to drag a
bug link then type some text about what the bug is about or what I've done on it
this week, or even a period to end the sentence.
In the trunk, starting immediately after the 1.0 branch, when the link is
dropped, the caret jumps to the next line (the next list item if there is one,
otherwise completely outside the list); if I do backarrow or click at the end of
the list to place the caret where it ought to be, the caret is now inside the
link, so I have to do (the undiscoverable) Discontinue Link in order to type any
comments about the bug.
So this is two issues:
(1) After a drop the caret should be positioned after the drop but outside it.
(2) Setting the caret to the end of a line that ends with a link should put the
caret outside the link, not inside it. (There may already be another bug
tracking this; I know there was once, but it may have been fixed and then
regressed.)
| Reporter | ||
Comment 1•23 years ago
|
||
EDITORBASE+ per discussion at editor meeting.
Whiteboard: EDITORBASE+
| Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Summary: Drop line into list item makes cursor jump to next item → Drop link into list item makes cursor jump to next item
Target Milestone: --- → M1
| Assignee | ||
Comment 2•23 years ago
|
||
more forgiving selection tweaking. Allow selection to be "next to" a text node
as well as inside one.
| Assignee | ||
Updated•23 years ago
|
Whiteboard: EDITORBASE+ → EDITORBASE+; fixinhand; need r=,sr=
| Assignee | ||
Comment 3•23 years ago
|
||
note to self: fix ws alignment in the diff
Comment on attachment 102471 [details] [diff] [review]
patch to nsHTMLEditRules.cpp
sr=kin@netscape.com
Just fix the indentation problems you mentioned above.
I'm assuming there is a reason why we don't have to adjust the selection in the
case when we find a prior/next text node?
Attachment #102471 -
Flags: superreview+
| Assignee | ||
Comment 6•23 years ago
|
||
fixed on trunk
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•22 years ago
|
QA Contact: sujay → sairuh
Comment 7•22 years ago
|
||
for the most part, this bug is fixed (tested with 3/3 bits on win2k and linux,
2/28 bits on mac).
found an issue with d'n'd of links, but i'll verify this. the new issue is bug
195811.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•