Files
tiptap/packages/extension-heading
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
..
2021-12-02 15:12:39 +01:00
2021-12-02 15:12:39 +01:00
2021-05-18 18:36:18 +02:00

@tiptap/extension-heading

Version Downloads License Sponsor

Introduction

tiptap is a headless wrapper around ProseMirror a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as New York Times, The Guardian or Atlassian.

Official Documentation

Documentation can be found on the tiptap website.

License

tiptap is open sourced software licensed under the MIT license.