0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Updated README, aligned return value with other API functions.

This commit is contained in:
Gert Sønderby 2015-06-16 15:27:31 +02:00 committed by Neil Jenkins
parent 6aba099388
commit 90660e8e4f
3 changed files with 10 additions and 0 deletions

View file

@ -403,3 +403,9 @@ Returns self (the Squire instance).
Decreases by 1 the nesting level of any at-least-partially selected blocks which are part of a list.
Returns self (the Squire instance).
### removeAllFormatting
Removes all formatting from the selection. Block elements (list items, table cells, etc.) are kept as separate blocks.
Returns self (the Squire instance).

View file

@ -3700,6 +3700,8 @@ proto.removeAllFormatting = function ( range ) {
} );
this.setSelection( this._getRangeAndRemoveBookmark() );
return this;
};
proto.increaseQuoteLevel = command( 'modifyBlocks', increaseBlockQuoteLevel );

View file

@ -2242,6 +2242,8 @@ proto.removeAllFormatting = function ( range ) {
} );
this.setSelection( this._getRangeAndRemoveBookmark() );
return this;
};
proto.increaseQuoteLevel = command( 'modifyBlocks', increaseBlockQuoteLevel );