This commit is contained in:
Philipp Kühn 2020-11-11 21:39:45 +01:00
parent d28855515a
commit 8e45437362

View File

@ -13,7 +13,7 @@ import { Editor } from '@tiptap/core'
import { defaultExtensions } from '@tiptap/starter-kit'
new Editor({
element: document.getElementsByClassName('element'),
element: document.querySelector('.element'),
extensions: defaultExtensions(),
content: '<p>Hey there!</p>',
autoFocus: true,