Ticket #6034: 6034.patch

File 6034.patch, 747 bytes (added by Tobiasz Cudnik, 14 years ago)
  • _source/plugins/tabletools/dialogs/tableCell.js

     
    519519                                        this.commitContent( cells[ i ] );
    520520
    521521                                selection.selectBookmarks( bookmarks );
     522
     523                                // Force selectionChange event because of alignment style.
     524                                var firstElement = selection.getStartElement();
     525                                var currentPath = new CKEDITOR.dom.elementPath( firstElement );
     526
     527                                this._.editor._.selectionPreviousPath = currentPath;
     528                                this._.editor.fire( 'selectionChange', { selection : selection, path : currentPath, element : firstElement } );
    522529                        }
    523530                };
    524531        } );
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy