-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
toRange
and toPosition
methods to Position, Section, Post
* Allow `Editor#selectRange`, `postEditor#setRange`, * `postEditor#toggleSection`, and `postEditor#toggleMarkup` to receive * Range *or* Position * Add `Position#toRange`, `Section#toRange` and `Post#toRange` methods * Add `toRange` util to convert range|position into range * Remove unused `Position#clone`, `Range.fromSection` * Add `section#toPosition(offset)` * Expose `Position` on global MobiledocKit export * docs: label `postEditor#setRange` public fixes #258
- Loading branch information
Showing
27 changed files
with
290 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.