Skip to content

Build your personal knowledge base with Trilium Notes

docs(user): improve content tab documentation slightly

Elian Doran71dbddd9293a
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Content tabs.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Content tabs.html
index d045827dc7..3045fbebd2 100644
--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Content tabs.html
+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Text/Content tabs.html
@@ -21,17 +21,21 @@
<ul>
<li>To show a tab, click its title or move the cursor into it.</li>
<li>To move from a title into its panel, press <kbd>Enter</kbd>.</li>
+ <li>The label of a tab can be formatted just like normal text, including support
+ for&nbsp;<a class="reference-link" href="#root/_help_hD8GawVuazff">Icons</a>.</li>
</ul>
<p>While the cursor is inside a tabs block, a toolbar appears above it with
the following buttons:</p>
<ul>
- <li><em>Add tab</em> inserts a tab after the current one and selects its title.</li>
- <li><em>Remove tab</em> removes the current tab. Removing the last tab removes
- the whole block.</li>
- <li><em>Move tab left</em> and <em>Move tab right</em> change the order of the
- tabs.</li>
- <li><em>Copy link to tab</em> copies a link to the current tab, as described
- below.</li>
+ <li><span class="tn-icon cke cke-plus"></span><em>&nbsp;(Add tab)</em> inserts
+ a tab after the current one and selects its title.</li>
+ <li><span class="tn-icon cke cke-remove"></span><em>&nbsp;(Remove tab)</em> removes
+ the current tab. Removing the last tab removes the whole block.</li>
+ <li><span class="tn-icon cke cke-chevron-right bx-flip-horizontal"></span><em>&nbsp;(Move tab left)</em> and&nbsp;<span
+ class="tn-icon cke cke-chevron-right"></span> (<em>Move tab right)</em> change
+ the order of the tabs.</li>
+ <li><span class="tn-icon cke cke-link"></span><em>&nbsp;(Copy link to tab)</em> copies
+ a link to the current tab, as described below.</li>
</ul>
<p>The tab that is showing is not saved with the note: every tabs block opens
on its first tab.</p>
diff --git a/docs/User Guide/User Guide/Note Types/Text/Content tabs.md b/docs/User Guide/User Guide/Note Types/Text/Content tabs.md
index ea974f3484..b401eb133e 100644
--- a/docs/User Guide/User Guide/Note Types/Text/Content tabs.md
+++ b/docs/User Guide/User Guide/Note Types/Text/Content tabs.md
@@ -17,13 +17,14 @@ A new block contains two tabs, named “Tab 1” and “Tab 2”. The title of t
* To show a tab, click its title or move the cursor into it.
* To move from a title into its panel, press <kbd>Enter</kbd>.
+* The label of a tab can be formatted just like normal text, including support for <a class="reference-link" href="Insert%20buttons/Icons.md">Icons</a>.
While the cursor is inside a tabs block, a toolbar appears above it with the following buttons:
-* _Add tab_ inserts a tab after the current one and selects its title.
-* _Remove tab_ removes the current tab. Removing the last tab removes the whole block.
-* _Move tab left_ and _Move tab right_ change the order of the tabs.
-* _Copy link to tab_ copies a link to the current tab, as described below.
+* <span class="tn-icon cke cke-plus"></span> _(Add tab)_ inserts a tab after the current one and selects its title.
+* <span class="tn-icon cke cke-remove"></span> _(Remove tab)_ removes the current tab. Removing the last tab removes the whole block.
+* <span class="tn-icon cke cke-chevron-right bx-flip-horizontal"></span> _(Move tab left)_ and <span class="tn-icon cke cke-chevron-right"></span> (_Move tab right)_ change the order of the tabs.
+* <span class="tn-icon cke cke-link"></span> _(Copy link to tab)_ copies a link to the current tab, as described below.
The tab that is showing is not saved with the note: every tabs block opens on its first tab.