Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#213 closed defect (wontfix)

Editor widget doesn't like starting off hidden...

Reported by: [email protected] Owned by: psowden
Priority: high Milestone:
Component: Widgets Version: 0.1
Keywords: Editor Cc:
Blocked By: Blocking:


Hi. I'm trying to use the editor widget. I have it inside of a div which has the style display: none, but which becomes visible via wipeIn(); When I do this, the editor widget doesn't display with the rest of the div. If I set the container div to "display: block" the Editor works great.

The editor is being created as follows:

<div id="hideme" style="display: none">
  <div style="border: 1px solid #908f8f; background: #fff;" id="testEditor">
    <div dojoType="Editor"
        <br />
        ...It could scarcely be easier.
        <br />
        <br />


Most of which I cut-n-pasted from the example article.

Change History (6)

comment:1 Changed 17 years ago by alex

Version: 0.20.1

What browser(s)?

comment:2 Changed 17 years ago by anonymous

Firefox 1.0.7 and IE 6.0

comment:3 Changed 17 years ago by alex

Milestone: 0.2release

The root issue here is that the editor doesn't really have a height until it's rendered and visible. It's possible to "brute force" it through a callback which calls editorObj._richText._updateHeight() manually, but that's not recommended. I'm going to move this off of 0.2 since it's not an Editor bug per-sae, but I won't close since a workaround is clearly needed.

comment:4 Changed 16 years ago by alex

Milestone: 0.3release
Owner: changed from anonymous to psowden

comment:5 Changed 16 years ago by alex

Resolution: wontfix
Status: newclosed

comment:6 Changed 15 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.