Closed Bug 170405 Opened 24 years ago Closed 24 years ago

Deleting all characters after first loading a page deletes body node

Categories

(Core :: DOM: Editor, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 167585

People

(Reporter: cmanske, Assigned: mozeditor)

Details

(Whiteboard: EDITORBASE)

1. Create a new page in Composer 2. Type just a few characters. 3. Save the page. 4. Click on "New" page toolbar button. 5. Close the 1st window. 6. Use File | Recent Pages and select the filename of the first page you created. 7. Immediately press Delete key until all characters are deleted. Pressing Delete after the last character is gone will result in no caret and you can no longer type in the page. If you click on "HTML Source" mode tab you will get the message "SetEditMode: We don't have a body node!" in the debug output window. Seems we deleted the body node!
Keywords: nsbeta1
Whiteboard: EDITORBASE
dup of 167585: patch attached to that bug. *** This bug has been marked as a duplicate of 167585 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.