mirror of
https://github.com/laurent22/joplin.git
synced 2026-10-26 19:26:03 +00:00
Mobile: Capitalise first word of sentence in beta editor
This commit is contained in:
1 parent
8de9032321
commit
4128be9d6c
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user