mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
cleanup note open custom
This commit is contained in:
@@ -29,7 +29,7 @@ const TPL = `
|
||||
<a data-trigger-command="findInText" class="dropdown-item find-in-text-button">Search in note <kbd data-command="findInText"></a>
|
||||
<a data-trigger-command="showNoteSource" class="dropdown-item show-source-button"><kbd data-command="showNoteSource"></kbd> Note source</a>
|
||||
<a data-trigger-command="openNoteExternally" class="dropdown-item open-note-externally-button"><kbd data-command="openNoteExternally"></kbd> Open note externally</a>
|
||||
<a data-trigger-command="openNoteCustom" class="dropdown-item open-note-custom-button"><kbd data-command="openNoteCustom"></kbd> Open note custom (beta)</a>
|
||||
<a data-trigger-command="openNoteCustom" class="dropdown-item open-note-custom-button"><kbd data-command="openNoteCustom"></kbd> Open note custom</a>
|
||||
<a class="dropdown-item import-files-button">Import files</a>
|
||||
<a class="dropdown-item export-note-button">Export note</a>
|
||||
<a class="dropdown-item delete-note-button">Delete note</a>
|
||||
@@ -90,7 +90,7 @@ export default class NoteActionsWidget extends NoteContextAwareWidget {
|
||||
this.$renderNoteButton.toggle(note.type === 'render');
|
||||
|
||||
this.$openNoteExternallyButton.toggle(utils.isElectron());
|
||||
this.$openNoteCustomButton.toggle(utils.isElectron());
|
||||
this.$openNoteCustomButton.toggle(utils.isElectron() && !utils.isMac()); // no implementation for Mac yet
|
||||
}
|
||||
|
||||
toggleDisabled($el, enable) {
|
||||
|
||||
Reference in New Issue
Block a user