You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Desktp: Put back Edit in External Editor button
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user