@witchcraft/editor
    Preparing search index...
    • Creates a simple instance of the DocumentApi for testing purposes.

      Parameters

      • editorOptions: Partial<EditorOptions>
      • embeds: Record<string, { content: any; title?: string }>
      • __namedParameters: { loadDelay?: number } = {}

      Returns {
          cache: Ref<Cache>;
          documentApi: DocumentApiInterface;
          embeds: Record<string, { content: any; title?: string }>;
      }