X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fsourcearea%2Fplugin.js;h=28eda1e62956b81ff993044afc7f21675b468c0c;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hp=4e9e0da06f0607d01100e4f01876c7d99e0790bd;hpb=4e70ea24db840898be8cc21c950363a52a2a6aba;p=ckeditor.git diff --git a/_source/plugins/sourcearea/plugin.js b/_source/plugins/sourcearea/plugin.js index 4e9e0da..28eda1e 100644 --- a/_source/plugins/sourcearea/plugin.js +++ b/_source/plugins/sourcearea/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -106,7 +106,7 @@ CKEDITOR.plugins.add( 'sourcearea', setTimeout( function() { editor.mode = 'source'; - editor.fire( 'mode' ); + editor.fire( 'mode', { previousMode : editor._.previousMode } ); }, ( CKEDITOR.env.gecko || CKEDITOR.env.webkit ) ? 100 : 0 ); },