-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(extensions)!: Overwrite built-in List/Ordered toggle functions w…
…ith a `smartToggle` option (#620) BREAKING CHANGE: The `smartToggleBulletList` and `smartToggleOrderedList` commands were renamed to have the same name as the built-in toggle functions so that they can easily be used by the default keyboard shortcuts without having to change the `addKeyboardShortcuts` function. The `BulletList` and `OrderedList` extensions now take an additional option, `smartToggle` (default: `false`), that indicates whether hard breaks should be replaced by paragraphs before toggling the selection into a bullet/ordered list, or not.
- Loading branch information
Showing
4 changed files
with
110 additions
and
98 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