A module for the Quill text editor (v2) that allows blots (images, iframe videos) to be resized, aligned, and deleted via an interactive overlay. Built-in formatters: resize, realign, delete. Built-in blot support: images and iframe videos. Extensible via custom BlotSpec and Action classes. This is version 2.0.1 (latest), requires Quill ^2.0.0 as a peer dependency, and ships TypeScript types. Differentiators: fully typed, actively maintained fork of the older quill-image-resize-module, supports iframe videos out of the box, and allows custom actions.
npm install quill-blot-formatter-2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Registers the BlotFormatter module with Quill v2 and initializes it. The module adds resize, align, and delete handles to images and iframe videos.
Upgrade Quill to v2 or use the older quill-image-resize-module for Quill 1.x.
Replace import of quill-image-resize-module with quill-blot-formatter.
Use Quill.register('modules/blotFormatter', QuillBlotFormatter.default);const BlotFormatter = require('quill-blot-formatter').default;Change import to 'quill-blot-formatter/dist/BlotFormatter'.
Run: npm install quill@^2.0.0
Use: const BlotFormatter = require('quill-blot-formatter').default;Use: import BlotFormatter from 'quill-blot-formatter';
Use: Quill.register('modules/blotFormatter', QuillBlotFormatter.default);Upgrade Quill to v2: npm install quill@^2.0.0