mirror of
https://github.com/zadam/trilium.git
synced 2024-12-25 16:51:16 +08:00
added some basic book examples to demo document
This commit is contained in:
parent
2ee94a3a69
commit
1923bf7dda
2 changed files with 5 additions and 0 deletions
BIN
db/demo.tar
BIN
db/demo.tar
Binary file not shown.
|
@ -17,6 +17,11 @@ export async function initSpellCheck() {
|
|||
|
||||
spellCheckHandler.currentSpellcheckerChanged.subscribe(() => {
|
||||
console.debug(`Detected language is ${spellCheckHandler.currentSpellcheckerLanguage}`);
|
||||
|
||||
spellCheckHandler.currentSpellchecker.add("trilium");
|
||||
spellCheckHandler.currentSpellchecker.add("https");
|
||||
spellCheckHandler.currentSpellchecker.add("github");
|
||||
spellCheckHandler.currentSpellchecker.add("unordered");
|
||||
});
|
||||
|
||||
const contextMenuBuilder = new ContextMenuBuilder(spellCheckHandler, null, true, (menu, menuInfo) => {
|
||||
|
|
Loading…
Reference in a new issue