/*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
\r
panel :\r
{\r
- css : [ CKEDITOR.getUrl( editor.skinPath + 'editor.css' ) ].concat( config.contentsCss ),\r
+ css : editor.skin.editor.css.concat( config.contentsCss ),\r
voiceLabel : lang.panelVoiceLabel\r
},\r
\r
\r
styles[ value ].apply( editor.document );\r
\r
- editor.fire( 'saveSnapshot' );\r
+ // Save the undo snapshot after all changes are affected. (#4899)\r
+ setTimeout( function()\r
+ {\r
+ editor.fire( 'saveSnapshot' );\r
+ }, 0 );\r
},\r
\r
onRender : function()\r