#3651: Setting height of editor is broken in IE8 Standards Mode
---------------------+------------------------------------------------------
 Reporter:  aconex   |       Owner:     
     Type:  Bug      |      Status:  new
 Priority:  Normal   |   Milestone:     
Component:  General  |     Version:     
 Keywords:           |  
---------------------+------------------------------------------------------
 '''Environment:'''
 MS Vista (also XP vm), Internet Explorer 8 Standards Mode

 '''Issue:'''
 Setting the height of the editor from JavaScript does not work in Internet
 Explorer 8 Standards Mode. Standards mode computes 100% height a little
 differently to other other browsers, and therefore doesn't make full use
 of the available space.

 '''Sample:'''
 {{{
 <html>
 <head>
 <script type="text/javascript"
 src="/html/includes/fckeditor/fckeditor.js"></script>
 <script type="text/javascript">
    function init(){
       var fckEditorObj = new FCKeditor('details');
       fckEditorObj.BasePath = "/html/includes/fckeditor/";
       fckEditorObj.Height = "600px";
       fckEditorObj.ReplaceTextarea();
    }
 </script>
 <style type="text/css">
    div.fckHolder {
       height:600px;
       width:800px;
       background-color:gray;
       border:2px solid red;
    }
 </style>
 </head>
 <body onload="init()">
    <div class="fckHolder">
       <textarea id="details"></textarea>
    </div>
 </body>
 </html>
 }}}

 The above code should set the editor height to 600px, however you'll
 notice that the iframe ("detailsFrame" in this case) sets itself to 600px
 (you cant see the gray background of the div) while the editable text area
 stays on the default 200px.

 The fix i would think is the body within the "detailsFrame" iframe needs
 to be given a specified height other than the 100%.

 Please advise of the solution


 Thanks in advance,

 Michael

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3651>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to