Changeset 5855


Ignore:
Timestamp:
09/01/2010 03:27:08 PM (4 years ago)
Author:
tobiasz.cudnik
Message:

#6034 Horizontal Alignment applied to Table cell is not updated correctly in the Toolbar

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r5854 r5855  
    6262                <li><a href="http://dev.ckeditor.com/ticket/6177">#6177</a> : IE we can't start Numbered/Bulleted list on a Empty page.</li> 
    6363                <li><a href="http://dev.ckeditor.com/ticket/5413">#5413</a> : Browser error after pasting html table in ckeditor.</li> 
     64                <li><a href="http://dev.ckeditor.com/ticket/6034">#6034</a> : Horizontal Alignment applied to Table cell is not updated correctly in the Toolbar.</li> 
    6465        </ul> 
    6566        <h3> 
  • CKEditor/trunk/_source/plugins/tabletools/dialogs/tableCell.js

    r5845 r5855  
    522522 
    523523                                selection.selectBookmarks( bookmarks ); 
     524 
     525                                // Force selectionChange event because of alignment style. 
     526                                var firstElement = selection.getStartElement(); 
     527                                var currentPath = new CKEDITOR.dom.elementPath( firstElement ); 
     528 
     529                                this._.editor._.selectionPreviousPath = currentPath; 
     530                                this._.editor.fire( 'selectionChange', { selection : selection, path : currentPath, element : firstElement } ); 
    524531                        } 
    525532                }; 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy