@fiduswriter/image-manager
v0.1.6
Published
Fidus Writer image/media manager
Readme
What it does
Manages images and other media for Fidus Writer. Provides a client-side image database, an overview table for browsing images, an edit dialog for cropping and metadata, and a selection dialog for inserting images into documents.
Exports
| Export | Description |
| ---------------------- | ----------------------------------------------------------- |
| ImageDB | Client-side connector to the server's image database |
| ImageOverview | Overview component for browsing all images in the library |
| ImageEditDialog | Dialog for editing image properties, cropping, and metadata |
| ImageSelectionDialog | Dialog for selecting images to insert into documents |
Installation
npm install @fiduswriter/image-managerUsage
import {
ImageDB,
ImageOverview,
ImageEditDialog,
ImageSelectionDialog,
} from "@fiduswriter/image-manager";Development
npm install # Install dependencies
npm run build # Compile TypeScript to dist/
npm run typecheck # Check types without emitting
npm run lint # Lint with ESLint
npm run format:check # Check formatting with PrettierLicense
AGPL-3.0 — see LICENSE for details.
