Skip to content

Commit 767e315

Browse files
committed
minor #6964 Fix text editor comment (javiereguiluz)
This PR was merged into the 4.x branch. Discussion ---------- Fix text editor comment Made by 🤖 OpenAI Codex ## Summary - fix comment in text editor to remove duplicated word ## Testing - `git status --short` Commits ------- a2c134a Fix comment about trix event
2 parents 89b037c + a2c134a commit 767e315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/field-text-editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import Trix from 'trix/dist/trix.esm';
77
window.Trix = Trix;
88

99
// Listening to the DOMLoadedContent event is too late because the Trix editor is already initialized.
10-
// To be sure to handle properly the custom configuration, we have to to listen to the trix-before-initialize event.
10+
// To be sure to handle properly the custom configuration, we have to listen to the trix-before-initialize event.
1111
document.addEventListener('trix-before-initialize', () => {
1212
new TextEditorField();
1313
});

0 commit comments

Comments
 (0)