Ticket #6432: 6432_2.patch

File 6432_2.patch, 978 bytes (added by Garry Yao, 13 years ago)
  • _source/plugins/wysiwygarea/plugin.js

     
    4747                                var selIsLocked = selection.isLocked;
    4848
    4949                                if ( selIsLocked )
    50                                         selection.unlock();
     50                                        selection.unlock( true );
    5151
    5252                                var $sel = selection.getNative();
    5353
  • _source/plugins/table/dialogs/table.js

     
    247247
    248248                                // Insert the table element if we're creating one.
    249249                                if ( !this._.selectedElement )
    250                                         editor.insertElement( table );
     250                                        editor.insertHtml( table.getOuterHtml() );
    251251                                // Properly restore the selection inside table. (#4822)
    252252                                else
    253253                                        selection.selectBookmarks( bms );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy