diff --git a/packages/app-mobile/components/NoteEditor/CodeMirror.ts b/packages/app-mobile/components/NoteEditor/CodeMirror.ts index 0c2e6ba32ae..c3c8a239ced 100644 --- a/packages/app-mobile/components/NoteEditor/CodeMirror.ts +++ b/packages/app-mobile/components/NoteEditor/CodeMirror.ts @@ -145,6 +145,7 @@ export function initCodeMirror(parentElement: any, initialText: string, theme: a drawSelection(), highlightSpecialChars(), EditorView.lineWrapping, + EditorView.contentAttributes.of({ autocapitalize: 'sentence' }), defaultHighlightStyle.fallback, EditorView.updateListener.of((viewUpdate: ViewUpdate) => { if (viewUpdate.docChanged) {