Closed
Bug 160147
Opened 23 years ago
Closed 20 years ago
copy/paste in definition list (DL/DT/DD) inserts unselected tags
Categories
(Core :: DOM: Editor, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: oschoett, Assigned: mozeditor)
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1b) Gecko/20020721
BuildID: 2002072104 (1.1b full installer)
Cut-and-Paste in a definition list (DL/DT/DD) in "Normal" and "Tags" view
inserts several tags even if just a few characters were selected.
Reproducible: Always
Steps to Reproduce:
1. Using HTML View, create a document with a definition list of the form
<dl>
<dt>some text</dt>
<dd>some more text</dd>
<dt>some text</dt>
<dd>some more text</dd>
</dl>
2. Switch to "Normal" or "Tags" view
3. Select a few characters inside a <dd> tag by dragging the mouse
4. Press Ctrl-C (copy)
5. Klick in the middle of another <dd> tag
5. Press Ctrl-V (paste)
Actual Results: Lots of additional tags are inserted into the document. This
is plainly visible in Tags view - in Normal view, the document appears to be
completely broken (trying to delete the inserted material with editing
operations results in incomprehensible behaviour).
Expected Results: Only the characters originally selected are inserted at the
cursor location.
Works OK in bulleted lists.
May be related to bug 119682 (but that one seems to involve URLs as an essential
element rather than definition lists).
[Trying to make a sensible definition list from Normal or Tags view is an
exercise in frustration anyway, as the editor seems bent on starting new lists
all the time.]
Comment 3•23 years ago
|
||
reporter (Oliver): can you reproduce this bug with a recent build of mozilla
(for example, 1.2)? if so, please comment again with details. if not, please
resolve this bug as WORKSFORME. thanks.
| Reporter | ||
Comment 4•23 years ago
|
||
Sorry, still broken in 1.2 (Win XP German, no SP). Here is the result of
creating the definition list in my original report (using HTML view), and then
(in Normal view) pasting the two middle characters from the first "more" into
the middle of the second "more":
<dl>
<dt>some text</dt>
<dd>some more text</dd>
<dt>some text</dt>
<dd>some mo</dd>
</dl>
or
<dl>
<dd>re text</dd>
</dl>
Comment 5•22 years ago
|
||
still seems to happen using seamonkey trunk 2003072704 on win2k. confirming...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 6•20 years ago
|
||
This seems to be working OK with Seamonkey 1.0. Oliver Schoett, please check and if it's also OK for you, mark this bug: Resolved | WorksForMe
| Reporter | ||
Comment 7•20 years ago
|
||
Yes, it works with SeaMonkey 1.0 on Windows XP
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•