Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Docs: Improved Model#deleteContent() docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Mar 3, 2020
1 parent 5fce314 commit 509dcda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,8 @@ export default class Model {
* `[<image src="foo.jpg"></image>]` -> `<paragraph>[]</paragraph>`.
*
* @param {'forward'|'backward'} [options.direction='backward'] The direction in which the content is being consumed.
* Deleting backward corresponds to using the <kbd>Delete</kbd> key, while deleting content forward corresponds to
* the <kbd>Shift</kbd>+<kbd>Delete</kbd> keystroke.
* Deleting backward corresponds to using the <kbd>Backspace</kbd> key, while deleting content forward corresponds to
* the <kbd>Shift</kbd>+<kbd>Backspace</kbd> keystroke.
*/
deleteContent( selection, options ) {
deleteContent( this, selection, options );
Expand Down

0 comments on commit 509dcda

Please sign in to comment.