No description
- TypeScript 74.4%
- JavaScript 24.5%
- Shell 0.9%
- CSS 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .husky | ||
| css | ||
| demo | ||
| locale | ||
| scripts | ||
| src | ||
| test | ||
| .gitignore | ||
| AGENTS.md | ||
| eslint.config.mjs | ||
| jest.config.js | ||
| LICENSE | ||
| logo.svg | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tsconfig.json | ||
@fiduswriter/image-manager
Image and media manager for Fidus Writer
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-manager
Usage
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 Prettier
License
AGPL-3.0 — see LICENSE for details.