mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
converted note source dialog to new pattern
This commit is contained in:
@@ -26,7 +26,7 @@ const TPL = `
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<a data-trigger-command="renderActiveNote" class="dropdown-item render-note-button"><kbd data-command="renderActiveNote"></kbd> Re-render note</a>
|
||||
<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="openNoteSourceDialog" 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 class="dropdown-item import-files-button">Import files</a>
|
||||
<a class="dropdown-item export-note-button">Export note</a>
|
||||
|
||||
@@ -10,7 +10,7 @@ export default class ShowNoteSourceButton extends ButtonWidget {
|
||||
|
||||
this.icon('bx bx-code')
|
||||
.title("Show Note Source")
|
||||
.command("showNoteSource")
|
||||
.command("openNoteSourceDialog")
|
||||
.titlePlacement("bottom");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user