1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

How about I don't delete the mobile note editor

This commit is contained in:
Laurent Cozic 2020-11-16 17:20:39 +00:00
parent 284dbdb362
commit f81579371b

View File

@ -1126,6 +1126,23 @@ class NoteScreenComponent extends BaseScreenComponent {
// placeholderTextColor={theme.colorFaded}
// />
// );
bodyComponent = (
<TextInput
autoCapitalize="sentences"
style={this.styles().bodyTextInput}
ref="noteBodyTextField"
multiline={true}
value={note.body}
onChangeText={(text: string) => this.body_changeText(text)}
onSelectionChange={this.body_selectionChange}
blurOnSubmit={false}
selectionColor={theme.textSelectionColor}
keyboardAppearance={theme.keyboardAppearance}
placeholder={_('Add body')}
placeholderTextColor={theme.colorFaded}
/>
);
}
const renderActionButton = () => {