Ticket #8386: Workaround.patch

File Workaround.patch, 740 bytes (added by Yaswanth, 12 years ago)

Workaround 2.

  • _source/plugins/wysiwygarea/plugin.js

     
    287287                        body = editor.document.getBody(),
    288288                        enterMode = editor.config.enterMode;
    289289
    290290                CKEDITOR.env.gecko && activateEditing( editor );
    291291
    292292                // When enterMode set to block, we'll establing new paragraph only if we're
    293293                // selecting inline contents right under body. (#3657)
    294                 if ( enterMode != CKEDITOR.ENTER_BR
     294                if ( enterMode == CKEDITOR.ENTER_DIV
    295295                     && range.collapsed
    296296                         && blockLimit.getName() == 'body'
    297297                         && !path.block )
    298298                {
    299299                        editor.fire( 'updateSnapshot' );
    300300                        restoreDirty( editor );
    301301                        CKEDITOR.env.ie && restoreSelection( selection );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy