feat: autofocus editor
This commit is contained in:
parent
8dfc06e6d2
commit
910e025fd0
@ -18,6 +18,7 @@ import SimpleImage from "./BlockTools/SimpleImage";
|
|||||||
// UI.addSaveButtonListener(savePost);
|
// UI.addSaveButtonListener(savePost);
|
||||||
|
|
||||||
const editor = new EditorJS({
|
const editor = new EditorJS({
|
||||||
|
autofocus: true,
|
||||||
tools: {
|
tools: {
|
||||||
header: {
|
header: {
|
||||||
class: Header,
|
class: Header,
|
||||||
|
Loading…
Reference in New Issue
Block a user