Closed Bug 209836 Opened 21 years ago Closed 20 years ago

[midas] designMode still active after clicking Back

Categories

(Core :: DOM: Editor, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 198155

People

(Reporter: MatsPalmgren_bugz, Assigned: mozeditor)

References

()

Details

[midas] designMode still active after clicking Back.

REPEAT BY
1. go to URL
2. click the link "First example - View Example"
3. edit some text - it works
4. click Back
5. now you can edit the original page too!

ACTUAL RESULTS
The document (URL) is editable.

EXPECTED RESULT
Going from an editable document to an non-editable document should
turn off designMode.

PLATFORM & VERSIONS TESTED
Bug occurs in Mozilla nightly trunk build 2003-06-12-22 on Linux

ADDITIONAL INFORMATION
Shift-reload on the original page did not help either - I had to close the tab
and then revisit the page in a new tab to get out of edit mode.
Also, visiting other pages when in "edit-mode" made them all editable.
happens on win2k as well and on 1.4 branch.
OS: Linux → All
From the above URL:
 Problem

    Once document.designMode has been set for the document object in a window,
all documents in that window for that domain will remain editable.
Solution

    Edit the document in a separate window or contained in an IFRAME.

Not a good solution! Any way it still happens in build 2004021808. But it is not
just pressing back that does it, the browser appears to be stuck in edit mode.

*** This bug has been marked as a duplicate of 198155 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.