Changeset 442

Show
Ignore:
Timestamp:
2007-07-12 18:05:02 (17 months ago)
Author:
alfonsoml
Message:

Fix for #515. Workaround the Firefox bug by not setting the src of the iframe.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/classes/fckeditingarea.js

    r423 r442  
    5353                // Create the editing area IFRAME. 
    5454                var oIFrame = this.IFrame = oTargetDocument.createElement( 'iframe' ) ; 
    55                 oIFrame.src = 'javascript:void(0)' ; 
     55                 
     56                // Firefox will render the tables inside the body in Quirks mode if the  
     57                // source of the iframe is set to javascript. see #515 
     58                if ( !FCKBrowserInfo.IsGecko ) 
     59                        oIFrame.src = 'javascript:void(0)' ; 
     60                 
    5661                oIFrame.frameBorder = 0 ; 
    5762                oIFrame.width = oIFrame.height = '100%' ; 
  • FCKeditor/trunk/_whatsnew.html

    r434 r442  
    112112                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/272">#272</a>] The toolbar was cutted sometimes in IE to 
    113113                        just one row if there are multiple instances of the editor.</li> 
     114                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/515">#515</a>] Tables in Firefox didn't inherint font 
     115                        styles properly in Standards mode.</li> 
    114116        </ul> 
    115117        <h3>