Closed
Bug 339071
Opened 18 years ago
Closed 4 years ago
Text typed after a link becomes part of the link
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
DUPLICATE
of bug 1357365
People
(Reporter: skull.lick, Unassigned)
References
()
Details
Attachments
(1 file)
(deleted),
application/zip
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 Enter a link, try to toggle to source mode and back(done using the innerHTML prop). You will see the link underlined. Now, type something - it magically becomes part of the link! This definitely was working on 105,107 etc. It started to break from 1.5+. Reproducible: Always Steps to Reproduce: 1.Create a link using the toolbar(or optionally enter the html in the source mode) 2.Toggle to view mode. 3.Enter some text. Actual Results: The new text becomes part of the link. Expected Results: The new text should not be part of the link tag.
Reporter | ||
Comment 1•18 years ago
|
||
Updated•18 years ago
|
Component: Build Config → General
QA Contact: build.config → general
Reporter | ||
Updated•18 years ago
|
Severity: normal → major
Version: unspecified → 1.5.0.x Branch
Updated•18 years ago
|
Assignee: nobody → mozeditor
Severity: major → normal
Component: General → Editor
Product: Firefox → Core
QA Contact: general
Version: 1.5.0.x Branch → Trunk
Reporter | ||
Comment 2•18 years ago
|
||
This occurs in many other editors as well: even in http://www.mozilla.org/editor/midasdemo/ To reproduce, create a link in view mode. Toggle to HTML source view mode. Toggle back to design/view mode. Try to type some text right after the link.
Reporter | ||
Updated•18 years ago
|
Severity: normal → major
Reporter | ||
Updated•18 years ago
|
Severity: major → critical
Comment 3•18 years ago
|
||
We reserve the critical severity for crash bugs, usually. And yes, since this is a problem in Midas code, I would expect to see it everywhere someone is using Midas.
Severity: critical → major
Updated•18 years ago
|
QA Contact: editor
Updated•18 years ago
|
Assignee: mozeditor → nobody
Still doesn't work in editor from comment #0 which is closed source. WFM in Composer/Message Composer. WFM in Midas (comment #2). (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Comment 5•4 years ago
|
||
This is still reproducible for links at the end of the text, and pretty annoying for consumers like Thunderbird (see TB bug 554264).
Technically, after creating a link from selected text (e.g. at the end of message body), we'd want the cursor to automatically forward to the position just outside the anchor (which is possible as seen with pressing Ctrl+End after link creation in Thunderbird):
<a href="foo.bar">Linktext</a>|</br>
Severity: major → S3
Status: RESOLVED → REOPENED
Ever confirmed: true
Hardware: x86 → All
Resolution: WORKSFORME → ---
Updated•4 years ago
|
Status: REOPENED → RESOLVED
Closed: 13 years ago → 4 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•