Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@editora/preview) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@editora/preview
[!IMPORTANT] Live Website: https://editora-ecosystem.netlify.app/
Storybook: https://editora-ecosystem-storybook.netlify.app/
Preview plugin for Editora rich text editor.
What It Does
- Opens read-only preview mode for current editor HTML.
- Renders content in a dedicated preview dialog/editor container.
- Useful for document review before export/print.
Installation
npm install @editora/previewOr bundled plugins:
npm install @editora/pluginsUsage
import { PreviewPlugin } from "@editora/preview";
// or: import { PreviewPlugin } from "@editora/plugins";
const plugins = [PreviewPlugin()];Command
togglePreview
Notes
- Pairs well with print/export plugins in content review workflows.