We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ad75d commit 47518e6Copy full SHA for 47518e6
docs/src/pages/examples/extensions/heading/heading-block.example.ts
@@ -101,23 +101,6 @@ export class HeadingBlockExample {
101
key: 'heading_3',
102
...editor.dictionary.slash_menu.heading_3,
103
}),
104
- (
105
- editor: BlockNoteEditor<
106
- typeof schema.blockSchema,
107
- typeof schema.inlineContentSchema,
108
- typeof schema.styleSchema
109
- >
110
- ) => ({
111
- onItemClick: () => {
112
- insertOrUpdateBlock(editor, {
113
- type: 'heading',
114
- props: { level: 3 },
115
- });
116
- },
117
- badge: formatKeyboardShortcut('Mod-Alt-3'),
118
- key: 'heading_3',
119
- ...editor.dictionary.slash_menu.heading_3,
120
- }),
121
(
122
editor: BlockNoteEditor<
123
typeof schema.blockSchema,
0 commit comments