Britta Weiland
77095c4d52
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 <weiland@bryter.io >
2022-01-05 09:15:47 +01:00
..
2022-01-04 10:15:07 +01:00
2021-12-02 15:12:39 +01:00
2021-12-02 15:12:39 +01:00
2022-01-04 10:15:07 +01:00
2021-12-22 12:43:00 +01:00
2021-12-22 12:43:00 +01:00
2021-12-02 15:12:39 +01:00
2021-12-22 12:43:00 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2021-11-22 10:17:43 +01:00
2021-11-09 16:51:34 +01:00
2021-11-17 19:25:46 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2021-11-09 16:51:34 +01:00
2022-01-05 09:15:47 +01:00
2021-12-02 15:12:39 +01:00
2021-11-09 16:51:34 +01:00
2021-11-09 16:51:34 +01:00
2021-11-09 16:51:34 +01:00
2021-12-02 15:12:39 +01:00
2022-01-04 10:15:07 +01:00
2021-12-02 15:12:39 +01:00
2022-01-04 10:15:07 +01:00
2021-12-22 12:43:00 +01:00
2021-12-02 15:12:39 +01:00
2022-01-04 10:15:07 +01:00
2021-12-02 15:12:39 +01:00
2021-12-02 15:12:39 +01:00
2021-12-02 15:12:39 +01:00
2022-01-04 10:15:07 +01:00
2021-11-09 16:51:34 +01:00
2021-11-09 16:51:34 +01:00
2021-11-09 16:51:34 +01:00
2021-12-02 15:12:39 +01:00
2021-12-22 12:43:00 +01:00
2021-11-09 16:51:34 +01:00
2021-12-02 15:12:39 +01:00
2021-12-02 15:12:39 +01:00
2021-11-09 16:51:34 +01:00
2021-12-02 15:12:39 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00
2022-01-04 10:15:07 +01:00