Skip to content

Commit a2c134a

Browse files
committed
Fix comment about trix event
1 parent 89b037c commit a2c134a

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)