added some basic book examples to demo document

This commit is contained in:
zadam 2019-10-14 11:15:38 +02:00
parent 2ee94a3a69
commit 1923bf7dda
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View file

@ -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) => {