mirror of https://github.com/laurent22/joplin.git
Mobile: Make the new text editor the default one
parent
ff355b9f4d
commit
f5ef318f70
|
@ -1242,7 +1242,7 @@ const NoteScreen = connect((state: any) => {
|
||||||
showSideMenu: state.showSideMenu,
|
showSideMenu: state.showSideMenu,
|
||||||
provisionalNoteIds: state.provisionalNoteIds,
|
provisionalNoteIds: state.provisionalNoteIds,
|
||||||
highlightedWords: state.highlightedWords,
|
highlightedWords: state.highlightedWords,
|
||||||
useEditorBeta: state.settings['editor.beta'],
|
useEditorBeta: !state.settings['editor.usePlainText'],
|
||||||
};
|
};
|
||||||
})(NoteScreenComponent);
|
})(NoteScreenComponent);
|
||||||
|
|
||||||
|
|
|
@ -1018,7 +1018,7 @@ class Setting extends BaseModel {
|
||||||
value: false,
|
value: false,
|
||||||
type: SettingItemType.Bool,
|
type: SettingItemType.Bool,
|
||||||
section: 'note',
|
section: 'note',
|
||||||
public: true,
|
public: false,
|
||||||
appTypes: [AppType.Mobile],
|
appTypes: [AppType.Mobile],
|
||||||
label: () => 'Opt-in to the editor beta',
|
label: () => 'Opt-in to the editor beta',
|
||||||
description: () => 'This beta adds list continuation and syntax highlighting. If you find bugs, please report them in the Discourse forum.',
|
description: () => 'This beta adds list continuation and syntax highlighting. If you find bugs, please report them in the Discourse forum.',
|
||||||
|
@ -1026,6 +1026,18 @@ class Setting extends BaseModel {
|
||||||
isGlobal: true,
|
isGlobal: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'editor.usePlainText': {
|
||||||
|
value: false,
|
||||||
|
type: SettingItemType.Bool,
|
||||||
|
section: 'note',
|
||||||
|
public: true,
|
||||||
|
appTypes: [AppType.Mobile],
|
||||||
|
label: () => 'Use the plain text editor',
|
||||||
|
description: () => 'The plain text editor has various issues and is no longer supported. If you are having issues with the new editor however you can revert to the old one using this setting.',
|
||||||
|
storage: SettingStorage.File,
|
||||||
|
isGlobal: true,
|
||||||
|
},
|
||||||
|
|
||||||
// Enables/disables spellcheck in the mobile markdown beta editor.
|
// Enables/disables spellcheck in the mobile markdown beta editor.
|
||||||
'editor.mobile.spellcheckEnabled': {
|
'editor.mobile.spellcheckEnabled': {
|
||||||
value: true,
|
value: true,
|
||||||
|
|
Loading…
Reference in New Issue