Ticket #3437: 3437.patch
File 3437.patch, 582 bytes (added by , 15 years ago) |
---|
-
_source/plugins/showblocks/plugin.js
128 128 if ( this._.showBlocks ) 129 129 command.exec(); 130 130 } ); 131 132 // Preserve show block state when switching cross modes. 133 editor.on( 'mode', function(){ 134 if( editor.mode === 'wysiwyg' ) 135 command.setState( this._.showBlocks ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF ); 136 } ); 131 137 } 132 138 }); 133 139 } )();