Trilium Frontend API
    Preparing search index...

    Interface CKEditorApi

    interface CKEditorApi {
        focus(): void;
        setText(text: string): void;
    }
    Index

    Methods

    Methods

    • Returns void

    • Imperatively sets the text in the editor.

      Prefer setting currentValue prop where possible.

      Parameters

      • text: string

        text to set in the editor

      Returns void