#4214: Maximize bugs
---------------------+------------------------------------------------------
 Reporter:  JMJimmy  |       Owner:                 
     Type:  Bug      |      Status:  new            
 Priority:  Normal   |   Milestone:                 
Component:  General  |     Version:  FCKeditor 2.4.2
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by JMJimmy):

 Figured it out.  Specific details of bug:

 FCKeditor assumes position of body is at top: 0px; left: 0px;

 Reason it occurred:

 Using the height trick I mentioned involves setting the body to
 visibility:hidden; position:absolute; bottom: 0px; and at load using
 JavaScript to reset the height on specific elements before making it
 visible again.  This allows for the behaviour of <div style="width: 100%">
 to be applied to height: 100% as well.

 The fix:

 When setting height/width/z-index etc also set top/left to 0px.

 Note additional (minor bug): z-index is being set on unpositioned elements

 As to the second part of this bug, style elements being "overwritten".
 This is problematic.  While it does re-set these properties properly, it
 does not allow for more advanced techniques to be used with FCK.
 Specifically:  One desired model is to have FCK maximized over the actual
 content.  FCK can then be used like a sidebar and "tucked away" to preview
 the changes in real time/in an existing template.  If the editor is
 modifying properties outside of it's main container then this is
 impossible.  A model similar to openWYSIWYG's maximize would cause fewer
 issues and be computationally less expensive.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/4214#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to