Ticket #3423: 3423.patch
File 3423.patch, 868 bytes (added by , 14 years ago) |
---|
-
_source/plugins/indent/plugin.js
75 75 } 76 76 else 77 77 { 78 var indent = parseInt( firstBlock.get ComputedStyle( this.indentCssProperty ), 10 );78 var indent = parseInt( firstBlock.getStyle( this.indentCssProperty ), 10 ); 79 79 if ( isNaN( indent ) ) 80 80 indent = 0; 81 81 if ( indent <= 0 ) … … 195 195 } 196 196 else 197 197 { 198 var currentOffset = parseInt( block.get ComputedStyle( this.indentCssProperty ), 10 );198 var currentOffset = parseInt( block.getStyle( this.indentCssProperty ), 10 ); 199 199 if ( isNaN( currentOffset ) ) 200 200 currentOffset = 0; 201 201 currentOffset += ( this.name == 'indent' ? 1 : -1 ) * editor.config.indentOffset;