diff --git a/src/public/javascripts/desktop.js b/src/public/javascripts/desktop.js index 12df3f593..8eee127b3 100644 --- a/src/public/javascripts/desktop.js +++ b/src/public/javascripts/desktop.js @@ -134,6 +134,10 @@ $("#export-note-button").click(function () { exportDialog.showDialog('single'); }); +$('[data-toggle="tooltip"]').tooltip({ + html: true +}); + macInit.init(); searchNotesService.init(); // should be in front of treeService since that one manipulates address bar hash diff --git a/src/public/stylesheets/desktop.css b/src/public/stylesheets/desktop.css index c51341606..a16e8c9ee 100644 --- a/src/public/stylesheets/desktop.css +++ b/src/public/stylesheets/desktop.css @@ -108,4 +108,8 @@ body { #note-info-table td, #note-info-table th { padding: 15px; +} + +[data-toggle="tooltip"] { + text-decoration: dotted underline; } \ No newline at end of file diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index d6705dd89..580d579f2 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -679,6 +679,7 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th /* height needs to stay small because tooltip has problem when it can't fit to either top or bottom of the cursor */ max-height: 300px; overflow: hidden; + font-size: var(--main-font-size); color: var(--main-text-color); border: 1px solid var(--main-border-color); border-radius: 5px; diff --git a/src/views/dialogs/import.ejs b/src/views/dialogs/import.ejs index ca9e19c93..c8476ab32 100644 --- a/src/views/dialogs/import.ejs +++ b/src/views/dialogs/import.ejs @@ -18,17 +18,35 @@ -

Content of the file will be imported as child note(s) into . Import file must be of supported type and have correct extension - one of .html, .md, .tar, .enex.

+

Content of the file will be imported as child note(s) into .

+ Options: + +
+ +
+ +
+ +
+
+
-
- Trilium .tar export files can contain executable scripts which may contain harmful behavior. Safe import will deactivate automatic execution of all imported scripts. Uncheck "Safe import" only if the imported tar archive is supposed to contain executable scripts and you completely trust the contents of the import file. +
+