Ticket #3864: 3864.patch

File 3864.patch, 1.8 KB (added by Garry Yao, 15 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    338338                                                domWindow       = editor.window         = new CKEDITOR.dom.window( domWindow );
    339339                                                domDocument     = editor.document       = new CKEDITOR.dom.document( domDocument );
    340340
     341                                                // Gecko need a key event to 'wake up' the document editing ability.(#3864)
     342                                                if ( CKEDITOR.env.gecko )
     343                                                {
     344                                                        var keyEventSimulate = domDocument.$.createEvent( "KeyEvents" );
     345                                                        keyEventSimulate.initKeyEvent( 'keypress', true, true, domWindow.$, false,
     346                                                                false, false, false, 0, 32 );
     347                                                        domDocument.$.dispatchEvent( keyEventSimulate );
     348                                                        domDocument.getBody().getFirst().remove();
     349                                                }
     350
    341351                                                // Gecko/Webkit need some help when selecting control type elements. (#3448)
    342352                                                if ( !( CKEDITOR.env.ie || CKEDITOR.env.opera) )
    343353                                                {
  • CHANGES.html

     
    8686                <li><a href="http://dev.fckeditor.net/ticket/3812">#3812</a> : Fixed an issue in which the editor
    8787                        may show up empty or uneditable in IE7, 8 and Firefox 3.</li>
    8888                <li><a href="http://dev.fckeditor.net/ticket/3825">#3825</a> : Fixed JS error when opening spellingcheck.</li>
     89                <li><a href="http://dev.fckeditor.net/ticket/3825">#3862</a> : Fixed html parser infinite loop on certain malformed
     90                        source code.</li>
     91                <li><a href="http://dev.fckeditor.net/ticket/3864">#3864</a> : [FF]Document is not editable after inserting element on a fresh page.</li>
    8992        </ul>
    9093        <h3>
    9194                CKEditor 3.0 RC</h3>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy