feat: autofocus editor

This commit is contained in:
Oliver Booth 2024-03-02 03:25:15 +00:00
parent 8dfc06e6d2
commit 910e025fd0
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ import SimpleImage from "./BlockTools/SimpleImage";
// UI.addSaveButtonListener(savePost);
const editor = new EditorJS({
autofocus: true,
tools: {
header: {
class: Header,