Ticket #2978: 2978.patch

File 2978.patch, 532 bytes (added by Martin Kou, 11 years ago)
  • _source/plugins/showblocks/plugin.js

     
    9393                        var isOn = ( this.state == CKEDITOR.TRISTATE_ON );
    9494                        var funcName = isOn ? 'removeClass' : 'addClass';
    9595                        editor.document.getBody()[funcName]( 'cke_show_blocks' );
     96
    9697                        this.toggleState();
    97                         editor._.showBlocks = isOn;
     98                        editor._.showBlocks = !isOn;
    9899                }
    99100        };
    100101
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy