@llui/devmode-annotate-editor
Current package version: 0.1.3
The optional Lexical-powered note surface for @llui/devmode-annotate. Core always provides a plain Markdown textarea; importing this package before the HUD mounts registers the existing rich editor with its floating selection toolbar and slash commands.
pnpm add -D @llui/devmode-annotate @llui/devmode-annotate-editor @llui/dom @llui/interactions
The three companion packages are peers of the editor. Keep the DOM and interactions instances shared with the application so its overlay layers participate in the same render, focus, and dismissal registries.
The LLui Vite plugin detects the package automatically in development. For a manual mount, import the registration entry first:
import '@llui/devmode-annotate-editor'
import { mountAnnotateHud } from '@llui/devmode-annotate'
mountAnnotateHud()
For production, dynamically import this package immediately before activating the core HUD so the Lexical graph stays deferred.
Functions
registerMarkdownAnnotateEditor()
Register the rich editor explicitly and receive a scoped disposer.
function registerMarkdownAnnotateEditor(): () => void
Constants
markdownAnnotateEditor
The rich Markdown surface installed into future annotation-HUD mounts.
const markdownAnnotateEditor: AnnotateEditorRegistration