Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): mention updates to embeddable items

Elian Dorane3ea556c46b7
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Dashboard.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Dashboard.html
index d3be30508d..95039ad930 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Dashboard.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Dashboard.html
@@ -41,7 +41,10 @@
<li
>Interactive widgets via&nbsp;<a class="reference-link" href="#root/_help_HcABDtFCkbFN">Render Note</a>.</li>
<li
- >Web pages can be displayed via&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_1vHRoWCEjj0L">Web View</a>.</li>
+ >Web pages can be displayed via&nbsp;<a class="reference-link" href="#root/_help_1vHRoWCEjj0L">Web View</a>&nbsp;and
+ refreshed via the context menu.</li>
+ <li><a class="reference-link" href="#root/pOsGYCXsbNQG/_help_GTwFsgaA0lCt">Collections</a>&nbsp;render
+ interactively inside the dashboard</li>
</ul>
<aside class="admonition tip">
<p>Interactive widgets through the use of&nbsp;<a class="reference-link"
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html
index 5be4d8ca0a..5a8d87944a 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Canvas.html
@@ -10,4 +10,20 @@
<li>The note can be togged <a href="#root/_help_CoFPLs3dRlXc">read-only</a> from the&nbsp;
<a
class="reference-link" href="#root/_help_XpOYSgsLkTJy">Floating buttons</a>&nbsp;section.</li>
-</ul>
\ No newline at end of file
+</ul>
+<h2>Embedding notes</h2>
+<p>Since v0.104.0, Canvas supports embedding notes in a similar fashion to
+ the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_nBAXQFj20hS1">Include Note</a>&nbsp;functionality
+ for&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iPIMuisry3hd">Text</a>&nbsp;notes.</p>
+<p>To embed a note:</p>
+<ul>
+ <li>From the&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_oPVyFC7WL2Lp">Note Tree</a>,
+ drag the item onto the canvas.</li>
+ <li>Manually, by choosing <em>More tools</em> → <em>Web Embed</em> and pasting
+ the link to the note (e.g. <code spellcheck="false">root/MujWAc9fQ1nj</code>).</li>
+</ul>
+<p>Embedding notes in the canvas follows the same rules as&nbsp;<a class="reference-link"
+ href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_nBAXQFj20hS1">Include Note</a>:
+ some notes are rendered as images (e.g.&nbsp;<a class="reference-link"
+ href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_gBbsAeiuUxI5">Mind Map</a>), whereas
+ some render fully interactive such as&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/_help_GTwFsgaA0lCt">Collections</a>.</p>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
index f674e9ea89..48f1d9fb4c 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Include Note.html
@@ -1,6 +1,7 @@
-<p>Text notes can "include" another note as a read-only widget. This can
- be useful for e.g. including a dynamically generated chart (from scripts
- &amp; "render HTML" note) or other more advanced use cases.</p>
+<p>Text notes can "include" another note as a read-only widget or an interactive
+ widget, depending on the type of note.</p>
+<p>This can be useful for e.g. including a dynamically generated chart (from
+ scripts &amp; "render HTML" note) or other more advanced use cases.</p>
<h2>Including a note</h2>
<p>In the&nbsp;<a class="reference-link" href="#root/_help_nRhnJkTT8cPs">Formatting toolbar</a>,
look for the
@@ -12,4 +13,22 @@
part of the note itself.</p>
<p>For this to work, the included notes must also be shared, otherwise they
will not be shown. However, the included notes can still be hidden from
- the note tree via <code spellcheck="false">#shareHiddenFromTree</code>.</p>
\ No newline at end of file
+ the note tree via <code spellcheck="false">#shareHiddenFromTree</code>.</p>
+<h2>Interactive notes</h2>
+<p>Since v0.104.0, included notes might become interactive depending on their
+ note type:</p>
+<ul>
+ <li>
+ <p><a class="reference-link" href="#root/pOsGYCXsbNQG/_help_GTwFsgaA0lCt">Collections</a>&nbsp;(e.g.&nbsp;
+ <a
+ class="reference-link" href="#root/pOsGYCXsbNQG/GTwFsgaA0lCt/_help_81SGnPGMk7Xc">Geo Map</a>) will render fully interactive, including creating new notes.</p>
+ </li>
+ <li>
+ <p><a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_m523cpzocqaD">Saved Search</a>&nbsp;will
+ also display the results.</p>
+ </li>
+ <li>
+ <p><a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_1vHRoWCEjj0L">Web View</a>&nbsp;provides
+ an interactive preview of the website.</p>
+ </li>
+</ul>
\ No newline at end of file
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Web View.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Web View.html
index 61a2975145..7066fcd3da 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Web View.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Web View.html
@@ -23,4 +23,20 @@
side, so if you have any issues other than the unresolvable <code spellcheck="false">X-Frame-Options</code> described
above, feel free to report them.</p>
<p>On the desktop side, a different technology is used which bypasses the
- constraints of an <code spellcheck="false">iframe</code> (<code spellcheck="false">webview</code>).</p>
\ No newline at end of file
+ constraints of an <code spellcheck="false">iframe</code> (<code spellcheck="false">webview</code>).</p>
+<h2>Embedding in other note types</h2>
+<p>Starting with v0.104.0, web views can be embedded into other note types:</p>
+<ul>
+ <li>
+ <p><a class="reference-link" href="#root/pOsGYCXsbNQG/GTwFsgaA0lCt/_help_IF7Q6I9x7zuw">Dashboard</a>
+ </p>
+ </li>
+ <li>
+ <p><a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_grjYqerjn243">Canvas</a>
+ </p>
+ </li>
+ <li>
+ <p><a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_iPIMuisry3hd">Text</a>&nbsp;notes
+ via&nbsp;<a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/iPIMuisry3hd/_help_nBAXQFj20hS1">Include Note</a>.</p>
+ </li>
+</ul>
\ No newline at end of file
diff --git a/docs/Developer Guide/Developer Guide/Documentation.md b/docs/Developer Guide/Developer Guide/Documentation.md
index f933e58ec9..e80a4f58d1 100644
--- a/docs/Developer Guide/Developer Guide/Documentation.md
+++ b/docs/Developer Guide/Developer Guide/Documentation.md
@@ -1,5 +1,5 @@
# Documentation
-There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/zmrKO8pPH6ie/Documentation_image.png" width="205" height="162">
+There are multiple types of documentation for Trilium:<img class="image-style-align-right" src="api/images/yHIs3mh4gQ3F/Documentation_image.png" width="205" height="162">
* The _User Guide_ represents the user-facing documentation. This documentation can be browsed by users directly from within Trilium, by pressing <kbd>F1</kbd>.
* The _Developer's Guide_ represents a set of Markdown documents that present the internals of Trilium, for developers.
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index 83245dedfb..7f209c6f43 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -8580,6 +8580,34 @@
"value": "include-note",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "GTwFsgaA0lCt",
+ "isInheritable": false,
+ "position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "81SGnPGMk7Xc",
+ "isInheritable": false,
+ "position": 50
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "m523cpzocqaD",
+ "isInheritable": false,
+ "position": 60
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "1vHRoWCEjj0L",
+ "isInheritable": false,
+ "position": 70
}
],
"format": "markdown",
@@ -10749,6 +10777,41 @@
"value": "canvas",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "nBAXQFj20hS1",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "iPIMuisry3hd",
+ "isInheritable": false,
+ "position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "oPVyFC7WL2Lp",
+ "isInheritable": false,
+ "position": 50
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "gBbsAeiuUxI5",
+ "isInheritable": false,
+ "position": 60
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "GTwFsgaA0lCt",
+ "isInheritable": false,
+ "position": 70
}
],
"format": "markdown",
@@ -10799,6 +10862,34 @@
"value": "webview",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "IF7Q6I9x7zuw",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "grjYqerjn243",
+ "isInheritable": false,
+ "position": 40
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "iPIMuisry3hd",
+ "isInheritable": false,
+ "position": 50
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "nBAXQFj20hS1",
+ "isInheritable": false,
+ "position": 60
}
],
"format": "markdown",
@@ -12652,24 +12743,31 @@
{
"type": "relation",
"name": "internalLink",
- "value": "GBBMSlVSOIGP",
+ "value": "1vHRoWCEjj0L",
"isInheritable": false,
"position": 90
},
{
"type": "relation",
"name": "internalLink",
- "value": "oPVyFC7WL2Lp",
+ "value": "GBBMSlVSOIGP",
"isInheritable": false,
"position": 100
},
{
"type": "relation",
"name": "internalLink",
- "value": "IakOLONlIfGI",
+ "value": "oPVyFC7WL2Lp",
"isInheritable": false,
"position": 110
},
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "IakOLONlIfGI",
+ "isInheritable": false,
+ "position": 120
+ },
{
"type": "label",
"name": "iconClass",
@@ -12680,9 +12778,9 @@
{
"type": "relation",
"name": "internalLink",
- "value": "1vHRoWCEjj0L",
+ "value": "GTwFsgaA0lCt",
"isInheritable": false,
- "position": 120
+ "position": 130
}
],
"format": "markdown",
diff --git a/docs/User Guide/User Guide/Collections/Dashboard.md b/docs/User Guide/User Guide/Collections/Dashboard.md
index 33d68a01a0..e1a61fed2a 100644
--- a/docs/User Guide/User Guide/Collections/Dashboard.md
+++ b/docs/User Guide/User Guide/Collections/Dashboard.md
@@ -20,7 +20,8 @@ The dashboard uses the same rendering mechanism as the <a class="reference-link
* Static content, via <a class="reference-link" href="../Note%20Types/Text.md">Text</a> or <a class="reference-link" href="../Note%20Types/Code.md">Code</a>.
* Images via <a class="reference-link" href="../Note%20Types/File.md">File</a>, <a class="reference-link" href="../Note%20Types/Mermaid%20Diagrams.md">Mermaid Diagrams</a>, <a class="reference-link" href="../Note%20Types/Mind%20Map.md">Mind Map</a>.
* Interactive widgets via <a class="reference-link" href="../Note%20Types/Render%20Note.md">Render Note</a>.
-* Web pages can be displayed via <a class="reference-link" href="../Note%20Types/Web%20View.md">Web View</a>.
+* Web pages can be displayed via <a class="reference-link" href="../Note%20Types/Web%20View.md">Web View</a> and refreshed via the context menu.
+* <a class="reference-link" href="../Collections.md">Collections</a> render interactively inside the dashboard
> [!TIP]
> Interactive widgets through the use of <a class="reference-link" href="../Note%20Types/Render%20Note.md">Render Note</a> is the highlighted use case of the dashboard. Using the <a class="reference-link" href="../AI.md">AI</a> chat, these widgets can be easily created as the AI is instructed in how to write them.
diff --git a/docs/User Guide/User Guide/Note Types/Canvas.md b/docs/User Guide/User Guide/Note Types/Canvas.md
index febd2bf655..c877a089bc 100644
--- a/docs/User Guide/User Guide/Note Types/Canvas.md
+++ b/docs/User Guide/User Guide/Note Types/Canvas.md
@@ -7,4 +7,15 @@ Canvas notes use the Excalidraw library to allow handwritten notes with mouse, p
## Interaction
-* The note can be togged [read-only](../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md) from the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Floating%20buttons.md">Floating buttons</a> section.
\ No newline at end of file
+* The note can be togged [read-only](../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md) from the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Floating%20buttons.md">Floating buttons</a> section.
+
+## Embedding notes
+
+Since v0.104.0, Canvas supports embedding notes in a similar fashion to the <a class="reference-link" href="Text/Include%20Note.md">Include Note</a> functionality for <a class="reference-link" href="Text.md">Text</a> notes.
+
+To embed a note:
+
+* From the <a class="reference-link" href="../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a>, drag the item onto the canvas.
+* Manually, by choosing _More tools_ → _Web Embed_ and pasting the link to the note (e.g. `root/MujWAc9fQ1nj`).
+
+Embedding notes in the canvas follows the same rules as <a class="reference-link" href="Text/Include%20Note.md">Include Note</a>: some notes are rendered as images (e.g. <a class="reference-link" href="Mind%20Map.md">Mind Map</a>), whereas some render fully interactive such as <a class="reference-link" href="../Collections.md">Collections</a>.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Text/Include Note.md b/docs/User Guide/User Guide/Note Types/Text/Include Note.md
index 8a3584f8b1..2e680dafaf 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Include Note.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Include Note.md
@@ -1,5 +1,7 @@
# Include Note
-Text notes can "include" another note as a read-only widget. This can be useful for e.g. including a dynamically generated chart (from scripts & "render HTML" note) or other more advanced use cases.
+Text notes can "include" another note as a read-only widget or an interactive widget, depending on the type of note.
+
+This can be useful for e.g. including a dynamically generated chart (from scripts & "render HTML" note) or other more advanced use cases.
## Including a note
@@ -9,4 +11,12 @@ In the <a class="reference-link" href="Formatting%20toolbar.md">Formatting tool
If a [shared note](../../Advanced%20Usage/Sharing.md) contains one or more included notes, they will be displayed in the content of the note as if they were part of the note itself.
-For this to work, the included notes must also be shared, otherwise they will not be shown. However, the included notes can still be hidden from the note tree via `#shareHiddenFromTree`.
\ No newline at end of file
+For this to work, the included notes must also be shared, otherwise they will not be shown. However, the included notes can still be hidden from the note tree via `#shareHiddenFromTree`.
+
+## Interactive notes
+
+Since v0.104.0, included notes might become interactive depending on their note type:
+
+* <a class="reference-link" href="../../Collections.md">Collections</a> (e.g. <a class="reference-link" href="../../Collections/Geo%20Map.md">Geo Map</a>) will render fully interactive, including creating new notes.
+* <a class="reference-link" href="../Saved%20Search.md">Saved Search</a> will also display the results.
+* <a class="reference-link" href="../Web%20View.md">Web View</a> provides an interactive preview of the website.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Web View.md b/docs/User Guide/User Guide/Note Types/Web View.md
index e90c50de2e..2bf35526cf 100644
--- a/docs/User Guide/User Guide/Note Types/Web View.md
+++ b/docs/User Guide/User Guide/Note Types/Web View.md
@@ -22,4 +22,12 @@ There are a few websites that do render such as `wikipedia.org`.
Do note that we are also applying some sandboxing constraints on the server side, so if you have any issues other than the unresolvable `X-Frame-Options` described above, feel free to report them.
-On the desktop side, a different technology is used which bypasses the constraints of an `iframe` (`webview`).
\ No newline at end of file
+On the desktop side, a different technology is used which bypasses the constraints of an `iframe` (`webview`).
+
+## Embedding in other note types
+
+Starting with v0.104.0, web views can be embedded into other note types:
+
+* <a class="reference-link" href="../Collections/Dashboard.md">Dashboard</a>
+* <a class="reference-link" href="Canvas.md">Canvas</a>
+* <a class="reference-link" href="Text.md">Text</a> notes via <a class="reference-link" href="Text/Include%20Note.md">Include Note</a>.
\ No newline at end of file