Modify ↓
Ticket #1206 (closed bug: invalid)
Turning on designMode from within $(document).ready() broken
| Reported by: | sebwin | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1.4 |
| Component: | event | Version: | 1.1.3 |
| Keywords: | designMode | Cc: | |
| Blocking: | Blocked by: |
Description
Applies to Gecko browsers. (at least Safari works fine)
Usage:
$(document).ready(function(){
document.designMode = 'on';
});
When applied to the _top document this causes a mozilla browser to display a blank page.
When applied to an iFrame it has no effect whatsoever.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

That's correct - you can't turn on the designMode of the document that you're in. There's really nothing that we can do in this case.