#3238: Dialogs open out of the window
---------------------------+------------------------------------------------
  Reporter:  fredck        |       Owner:  martinkou               
      Type:  Bug           |      Status:  new                     
  Priority:  High          |   Milestone:  CKEditor 3.0            
 Component:  UI : Dialogs  |     Version:                          
Resolution:                |    Keywords:  Confirmed Oracle Review?
---------------------------+------------------------------------------------
Changes (by martinkou):

  * keywords:  Confirmed Oracle => Confirmed Oracle Review?


Comment:

 Using offsetHeight and offsetWidth in CKEDITOR.dialog::getSize() doesn't
 work, because the browser often needs some time to layout the dialog
 correctly (especially to load the CSS file). That's the reason why
 previously getSize() would only return a size stored into resize().

 Now we've changed the meaning of CKEDITOR.dialog::resize() to mean only
 the size of the content area, we can no longer simply output the size
 stored by resize() - there'll be some difference between the content area
 size and the whole dialog's size. The only place in the code that knows
 clearly the size of decorations put around the dialog content area is the
 skin. So I've added a 'getSize' event to CKEDITOR.dialog which must be
 handled by skin.js of any skin.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3238#comment:5>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to