mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Mobile: Capitalise first word of sentence in beta editor
This commit is contained in:
parent
8de9032321
commit
4128be9d6c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user