Closed Bug 180211 Opened 23 years ago Closed 3 years ago

nsIEditingSession needs an api to make it not editable

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE
mozilla1.3beta

People

(Reporter: Brade, Unassigned)

References

Details

(Whiteboard: midas)

nsIEditingSession needs an api to make it not editable
Whiteboard: midas
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.3beta
Can I assume that the syntax to trigger this will be document.designMode='off'?
Blocks: 198155
(In reply to comment #1) > Can I assume that the syntax to trigger this will be document.designMode='off'? I don't think so. I believe this bug is for editor elements and having a complementary method to makeEditable. One item of note is that it appears that if a document has one iframe that has designMode="on" then var iframes = document.getElementsByTagName("iframe"); iframes[0].contentWindow.document.designMode = "off"; will turn designMode off whereas when the document is not in an iframe it does not turn it off as seen in your test page at: http://www.squarefree.com/contenteditable.html
QA Contact: sujay → editor

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: cmanske → nobody
Status: ASSIGNED → NEW

This is a request of internal API, but nobody works for this over a decade. It means that this is not so important. I'm open to implement it if it's still be useful for somebody. Feel free to reopen this if you needs this with writing how you become happy if this is fixed.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.