Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
parisk committed Jul 17, 2024
1 parent eec6001 commit c83ab24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prose/static/prose/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ function patchTrixEditorWithNameSetter() {
},
set(value) {
this.inputElement.name = value;
}
},
});
}

// When the DOM is initially loaded
document.addEventListener("DOMContentLoaded", () => {
initializeEditors()
patchTrixEditorWithNameSetter()
initializeEditors();
patchTrixEditorWithNameSetter();
});

// Export the initializeEditors function so it can be called from other scripts
Expand Down

0 comments on commit c83ab24

Please sign in to comment.