Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
moved API docs button to the bottom of a code note
zadam9d38e9342db8
diff --git a/src/public/app/widgets/type_widgets/editable_code.js b/src/public/app/widgets/type_widgets/editable_code.jsindex 3bdc734f0c..f536b60243 100644--- a/src/public/app/widgets/type_widgets/editable_code.js+++ b/src/public/app/widgets/type_widgets/editable_code.js@@ -14,20 +14,10 @@ const TPL = `position: relative;}- .trilium-api-docs-button {- /*display: none;*/- position: absolute;- top: 10px;- right: 10px;- }-.note-detail-code-editor {min-height: 50px;}</style>-- <button class="btn bx bx-help-circle trilium-api-docs-button icon-button floating-button"- title="Open Trilium API docs"></button><div class="note-detail-code-editor"></div>@@ -37,6 +27,13 @@ const TPL = `Execute <kbd data-command="runActiveNote"></kbd></button>+ <button class="no-print trilium-api-docs-button btn btn-sm"+ title="Open Trilium API docs">+ <span class="bx bx-help-circle"></span>++ API docs+ </button>+<button class="no-print save-to-note-button btn btn-sm"><span class="bx bx-save"></span>