Ticket #2978: 2978.patch
File 2978.patch, 532 bytes (added by , 15 years ago) |
---|
-
_source/plugins/showblocks/plugin.js
93 93 var isOn = ( this.state == CKEDITOR.TRISTATE_ON ); 94 94 var funcName = isOn ? 'removeClass' : 'addClass'; 95 95 editor.document.getBody()[funcName]( 'cke_show_blocks' ); 96 96 97 this.toggleState(); 97 editor._.showBlocks = isOn;98 editor._.showBlocks = !isOn; 98 99 } 99 100 }; 100 101