Skip to content

Commit

Permalink
Fix doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Dec 20, 2012
1 parent c6e9def commit 3933bf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/removeformat/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ CKEDITOR.plugins.removeformat = {
*
* **Note:** Only available with the existence of `removeformat` plugin.
*
* // Don't remove empty span
* editor.addRemoveFormatFilter.push( function( element ) {
* // Don't remove empty span.
* editor.addRemoveFormatFilter( function( element ) {
* return !( element.is( 'span' ) && CKEDITOR.tools.isEmpty( element.getAttributes() ) );
* } );
*
Expand Down

0 comments on commit 3933bf4

Please sign in to comment.