JSPM

@editora/preview

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q40047F
  • License MIT

Preview plugin for Rich Text Editor

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

    Version License TypeScript Size

    [!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/preview

    Or bundled plugins:

    npm install @editora/plugins

    Usage

    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.