1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +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

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);