mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-03 22:37:35 +02:00
Android: Enable spellcheck by default on beta editor (#6778)
This commit is contained in:
parent
c705ec682c
commit
fd82758e74
@ -302,7 +302,10 @@ export function initCodeMirror(
|
|||||||
decoratorExtension,
|
decoratorExtension,
|
||||||
|
|
||||||
EditorView.lineWrapping,
|
EditorView.lineWrapping,
|
||||||
EditorView.contentAttributes.of({ autocapitalize: 'sentence' }),
|
EditorView.contentAttributes.of({
|
||||||
|
autocapitalize: 'sentence',
|
||||||
|
spellcheck: 'true',
|
||||||
|
}),
|
||||||
EditorView.updateListener.of((viewUpdate: ViewUpdate) => {
|
EditorView.updateListener.of((viewUpdate: ViewUpdate) => {
|
||||||
notifyDocChanged(viewUpdate);
|
notifyDocChanged(viewUpdate);
|
||||||
notifySelectionChange(viewUpdate);
|
notifySelectionChange(viewUpdate);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user