Trevixal API
    Preparing search index...

    Function useEditor

    • Create an editor for the component's lifetime. Creation is headless and DOM-free (SSR-safe); the DOM view attaches via <EditorContent>.

      Parameters

      • options: EditorOptions

      Returns ShallowRef<Editor | null>