1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-05-31 22:29:43 +02:00

Android: Enable spellcheck by default on beta editor (#6778)

This commit is contained in:
Henry Heino 2022-08-24 15:52:34 -07:00 committed by GitHub
parent c705ec682c
commit fd82758e74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,7 +302,10 @@ export function initCodeMirror(
decoratorExtension,
EditorView.lineWrapping,
EditorView.contentAttributes.of({ autocapitalize: 'sentence' }),
EditorView.contentAttributes.of({
autocapitalize: 'sentence',
spellcheck: 'true',
}),
EditorView.updateListener.of((viewUpdate: ViewUpdate) => {
notifyDocChanged(viewUpdate);
notifySelectionChange(viewUpdate);