From 910e025fd0324ade1ccbaa0cb4b391f6acad54aa Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 2 Mar 2024 03:25:15 +0000 Subject: [PATCH] feat: autofocus editor --- src/ts/admin/EditBlogPost.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ts/admin/EditBlogPost.ts b/src/ts/admin/EditBlogPost.ts index 8b9f16f..72cab69 100644 --- a/src/ts/admin/EditBlogPost.ts +++ b/src/ts/admin/EditBlogPost.ts @@ -18,6 +18,7 @@ import SimpleImage from "./BlockTools/SimpleImage"; // UI.addSaveButtonListener(savePost); const editor = new EditorJS({ + autofocus: true, tools: { header: { class: Header,