Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9103 closed defect (fixed)

IE: hidden content still displays

Reported by: Douglas Hays Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.4
Component: Editor Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

Using IE, display:none does not work with Editor content.

<div dojoType="dijit.Editor" id="editor0" height="100" plugins="[]">
        <span style="display:none;">this is hidden</span>
</div>

shows this is hidden as the content.
This can be worked around by adding:

<script type="dojo/connect" event="onLoad">
this.execCommand('RespectVisibilityInDesign', true, null);
</script>

This execCommand should be automatically done by the Editor.

Change History (7)

comment:1 Changed 10 years ago by bill

Milestone: tbdfuture
Owner: liucougar deleted

comment:2 Changed 10 years ago by Jared Jurkiewicz

Milestone: future1.4
Owner: set to Jared Jurkiewicz

comment:3 Changed 10 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

(In [20450]) Fixing minor display issue in IE. \!strict fixes #9103

comment:4 Changed 10 years ago by Jared Jurkiewicz

Resolution: fixed
Status: closedreopened

comment:5 Changed 10 years ago by Jared Jurkiewicz

Okay, calling the editor execCommand causes insanity on page load, it causes massive bouncing around, seen when loading test_Editor.html. Oof. Need to just call it on the doc directly.

comment:6 Changed 10 years ago by Jared Jurkiewicz

Resolution: fixed
Status: reopenedclosed

(In [20454]) Second pass at fixing visibility issue. \!strict fixes #9103

comment:7 Changed 10 years ago by Jared Jurkiewicz

(In [20455]) Don't leave a console.log. Yeesh. \!strict refs #9103

Note: See TracTickets for help on using tickets.