Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: export type
Level
for external use (#2354)
Export type `Level` to externally work with levels that are passed to the `setHeading` and `toggleHeading` commands, instead of only being able to pass literal numbers. Example: ``` // where `selectedHeadingLevel` changes as part of other logic this.editor.commands.toggleHeading({ level: this.selectedHeadingLevel }) ``` Co-authored-by: Britta Weiland <[email protected]>
- Loading branch information