A simple package that converts output from the Quill editor (the Delta format) to HTML.
See it in action: https://lucascorpion.github.io/quill-delta-to-html
Install the package using:
npm i @luca_scorpion/quill-delta-to-html
The package exports a single function, deltaToHtml
:
import { deltaToHtml } from '@luca_scorpion/quill-delta-to-html';
const quill = new Quill('#editor', {});
// Use `getContents` to get the delta from the Quill editor.
const html = deltaToHtml(quill.getContents());