mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-20 18:48:28 +02:00
Desktp: Put back Edit in External Editor button
This commit is contained in:
parent
8c338675d2
commit
0f7deeeac1
@ -98,22 +98,22 @@ function useToolbarItems(props:NoteToolbarProps) {
|
||||
});
|
||||
|
||||
if (watchedNoteFiles.indexOf(note.id) >= 0) {
|
||||
// toolbarItems.push({
|
||||
// tooltip: _('Click to stop external editing'),
|
||||
// title: _('Watching...'),
|
||||
// iconName: 'fa-share-square',
|
||||
// onClick: () => {
|
||||
// onButtonClick({ name: 'stopExternalEditing' });
|
||||
// },
|
||||
// });
|
||||
toolbarItems.push({
|
||||
tooltip: _('Click to stop external editing'),
|
||||
title: _('Watching...'),
|
||||
iconName: 'fa-share-square',
|
||||
onClick: () => {
|
||||
onButtonClick({ name: 'stopExternalEditing' });
|
||||
},
|
||||
});
|
||||
} else {
|
||||
// toolbarItems.push({
|
||||
// tooltip: _('Edit in external editor'),
|
||||
// iconName: 'fa-share-square',
|
||||
// onClick: () => {
|
||||
// onButtonClick({ name: 'startExternalEditing' });
|
||||
// },
|
||||
// });
|
||||
toolbarItems.push({
|
||||
tooltip: _('Edit in external editor'),
|
||||
iconName: 'fa-share-square',
|
||||
onClick: () => {
|
||||
onButtonClick({ name: 'startExternalEditing' });
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (note.is_todo) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user