Merge branch 'TriliumNext:main' into main

This commit is contained in:
Lorinc936
2026-04-09 11:23:49 +00:00
committed by GitHub
406 changed files with 23419 additions and 12240 deletions

View File

@@ -1,6 +1,6 @@
{
"formatVersion": 2,
"appVersion": "0.102.1",
"appVersion": "0.102.2",
"files": [
{
"isClone": false,
@@ -9351,6 +9351,41 @@
}
]
},
{
"isClone": false,
"noteId": "oBo3iHIZnbG2",
"notePath": [
"pOsGYCXsbNQG",
"KSZ04uQ2D1St",
"iPIMuisry3hd",
"oBo3iHIZnbG2"
],
"title": "Spell Check",
"notePosition": 200,
"prefix": null,
"isExpanded": false,
"type": "text",
"mime": "text/html",
"attributes": [
{
"type": "label",
"name": "iconClass",
"value": "bx bx-check-double",
"isInheritable": false,
"position": 30
},
{
"type": "label",
"name": "shareAlias",
"value": "spellcheck",
"isInheritable": false,
"position": 40
}
],
"format": "markdown",
"dataFileName": "Spell Check.md",
"attachments": []
},
{
"isClone": false,
"noteId": "BFvAtE74rbP6",
@@ -9361,7 +9396,7 @@
"BFvAtE74rbP6"
],
"title": "Table of contents",
"notePosition": 200,
"notePosition": 210,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -9433,7 +9468,7 @@
"NdowYOC1GFKS"
],
"title": "Tables",
"notePosition": 210,
"notePosition": 220,
"prefix": null,
"isExpanded": false,
"type": "text",

View File

@@ -15,7 +15,7 @@ Trilium is an open-source solution for note-taking and organizing a personal kno
* <a class="reference-link" href="User%20Guide/Installation%20%26%20Setup/Desktop%20Installation.md">Desktop Installation</a>
* <a class="reference-link" href="User%20Guide/Installation%20%26%20Setup/Server%20Installation.md">Server Installation</a>
* <a class="reference-link" href="User%20Guide/Scripting/Script%20API/Frontend%20API">Frontend API</a> or <a class="reference-link" href="User%20Guide/Scripting/Script%20API/Backend%20API.dat">[missing note]</a>
* <a class="reference-link" href="User%20Guide/Scripting/Script%20API/Frontend%20API">Frontend API</a> or <a class="reference-link" href="User%20Guide/Scripting/Script%20API/Backend%20API.dat">Backend API</a>
* [ETAPI reference](User%20Guide/Advanced%20Usage/ETAPI%20\(REST%20API\)/API%20Reference.dat)
## External links

View File

@@ -12,10 +12,10 @@ Trilium Web Clipper officially supports the following web browsers:
## Obtaining the extension
> [!WARNING]
> The extension is currently under development. A preview with unsigned extensions is available on [GitHub Actions](https://github.com/TriliumNext/Trilium/actions/runs/21318809414).
>
> We have already submitted the extension to both Chrome and Firefox web stores, but they are pending validation.
The extension is available from the official browser web stores:
* **Firefox**: [Trilium Web Clipper on Firefox Add-ons](https://addons.mozilla.org/firefox/addon/trilium-notes-web-clipper/)
* **Chrome**: [Trilium Web Clipper on Chrome Web Store](https://chromewebstore.google.com/detail/trilium-web-clipper/ofoiklieachadcaeffficgjaajojpkpi)
## Functionality

View File

@@ -0,0 +1,69 @@
# Spell Check
Trilium supports spell checking for your notes. How it works depends on whether you're using the **desktop application** (Electron) or accessing Trilium through a **web browser**.
## Desktop
The desktop app uses Chromium's built-in spellchecker. You can configure it from _Options__Spell Check_.
### Enabling spell check
Toggle _Check spelling_ to enable or disable the spellchecker. A restart is required for changes to take effect — use the restart button at the bottom of the section.
### Choosing languages
When spell check is enabled, a _Spell Check Languages_ section appears listing all languages available on your system. Select one or more languages by checking the boxes. The spellchecker will accept words that are valid in _any_ of the selected languages.
The available languages depend on your operating system's installed language packs. For example, on Windows you can add languages through _Options__Time & Language__Language & Region__Add a language_.
> [!NOTE]
> The changes take effect only after restarting the application.
### Custom dictionary
> [!TIP]
> This function is available starting with Trilium v0.103.0.
Words you add to the dictionary (e.g. via the right-click context menu → "Add to dictionary") are stored in a **synced note** inside Trilium. This means your custom dictionary automatically syncs across all your devices.
You can view and edit the dictionary directly from _Settings__Spell Check__Custom Dictionary__Edit dictionary_. This opens the underlying note, which contains one word per line. You can add, remove, or modify entries as you like.
> [!NOTE]
> Changes to the custom dictionary (whether from the editor or the context menu) take effect after restarting the application.
#### How the custom dictionary works
* When you right-click a misspelled word and choose "Add to dictionary", the word is saved both to Electron's local spellchecker and to the synced dictionary note.
* On startup, Trilium loads all words from the dictionary note into the spellchecker session.
* If Trilium detects words in Electron's local dictionary but the dictionary note is empty (e.g. on first use), it performs a **one-time import** of those words into the note.
* Words that are in Electron's local dictionary but _not_ in the note (e.g. you removed them manually) are cleaned up from the local dictionary on startup.
#### Known limitations
On Windows and macOS, Electron delegates "Add to dictionary" to the operating system's user dictionary. This means:
* Words added via the context menu are also written to the OS-level dictionary (e.g. `%APPDATA%\Microsoft\Spelling\<language>\default.dic` on Windows).
* **Removing a word** from the Trilium dictionary note prevents it from being loaded into the spellchecker on next startup, but does _not_ remove it from the OS dictionary. The word may still be accepted by the OS spellchecker until you remove it from the OS dictionary manually.
## Web browser
When accessing Trilium through a web browser, spell checking is handled entirely by the browser itself. Trilium does not control the browser's spellchecker — language selection, dictionaries, and all other settings are managed through your browser's preferences.
The Spell Check settings page in Trilium will indicate that these options apply only to desktop builds.
## Frequently asked questions
### Do I need to restart after every change?
Yes. Spell check language selection and the custom dictionary are loaded once at startup. Any changes require a restart to take effect.
### Can I use multiple spell check languages at the same time?
Yes. Select as many languages as you need from the checklist. The spellchecker will accept words from any of the selected languages.
### My custom words disappeared after syncing to a new device — what happened?
On the first launch of a new device, Trilium may import existing local dictionary words into the note. If the note already has words from another device (via sync), those are preserved. Make sure sync completes before restarting the application on a new device.
### I removed a word from the dictionary note but it's still accepted
This is likely due to the OS-level dictionary retaining the word (see [Known limitations](#known-limitations) above). You can manually remove it from your operating system's user dictionary.