Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
This commit is contained in:
@@ -53,7 +53,7 @@ const Heading = createNode({
|
||||
addCommands() {
|
||||
return {
|
||||
/**
|
||||
* heading command
|
||||
* Toggle a heading node
|
||||
*/
|
||||
heading: (options: { level: Level }): Command => ({ commands }) => {
|
||||
if (!this.options.levels.includes(options.level)) {
|
||||
|
||||
Reference in New Issue
Block a user