Editor AI Usage
Use this page when generating code specifically for the Editora rich text editor stack.
Canonical packages
@editora/core: framework-agnostic editor runtime.@editora/react: React adapter andEditoraEditorcomponent.@editora/plugins: plugin catalog for formatting, workflow, compliance, and content tooling.@editora/themes: editor theme system.
AI retrieval metadata
Use these metadata links in prompts or indexing pipelines:
https://editora-ecosystem.netlify.app/llms.txthttps://editora-ecosystem.netlify.app/llms-full.txt
Starter integration (React)
import { EditoraEditor } from '@editora/react';
import { BoldPlugin, ItalicPlugin, LinkPlugin, HistoryPlugin } from '@editora/plugins';
import '@editora/themes/themes/default.css';
const plugins = [BoldPlugin(), ItalicPlugin(), LinkPlugin(), HistoryPlugin()];
export function EditorQuickStart() {
return (
<EditoraEditor
plugins={plugins}
toolbar={{ items: 'undo redo | bold italic link', sticky: true }}
statusbar={{ enabled: true, position: 'bottom' }}
defaultValue=\"<p>Start writing...</p>\"
/>
);
}
Production prompt rules
- Use real package imports from
@editora/*. - Do not inline fake plugin objects in docs snippets.
- Keep examples runnable in Vite/CRA React projects.
- Include at least one real edge case (readonly mode, autosave, compliance plugin, or localization).
- Prefer plugin factories from
@editora/pluginsover pseudo-APIs.
Editor SaaS workspace example
- Storybook:
https://editora-ecosystem-storybook.netlify.app/?path=/story/editor-ai-saas-workspace--enterprise-editor-ops