Trilium Electron API
    Preparing search index...

    Interface ElectronSpellcheckApi

    Renderer-side access to Chromium's built-in spell checker.

    interface ElectronSpellcheckApi {
        addWordToDictionary(word: string): void;
        getAvailableSpellCheckerLanguages(): string[];
    }
    Index

    Methods

    • Adds a word to the user's personal dictionary so it is no longer flagged.

      Parameters

      • word: string

      Returns void

    • Returns the BCP-47 language tags Chromium can spell-check on this platform.

      Returns string[]