vsc_quill_delta_to_html
1.0.5, released 2 years ago by vscorp.com
Converts Quill's Delta format to HTML.
What it does
Converts Quill Delta formatted data into HTML with support for nested lists, inline styles, and various custom attributes. It operates as a complete port of the quill-delta-to-html TypeScript package.
AI-written summary of version 1.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to convert rich text from a Quill editor (such as Flutter Quill) into HTML format.
- You are generating HTML-based emails using Quill content on the server-side or in Flutter.
Skip it when
- You need to parse HTML back into Quill Delta format.
Strengths
- Full support for Quill operations including images, videos, formulas, tables, and mentions.
- Configurable options for output tags, sanitization, and inline styles.
Weaknesses
- Supports insert operations only.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
import 'package:vsc_quill_delta_to_html/vsc_quill_delta_to_html.dart';
void main() {
final deltaOps = [
{'insert': 'Hello\n'},
{
'insert': 'This is colorful',
'attributes': {'color': '#f00'}
}
];
final converter = QuillDeltaToHtmlConverter(
ops,
ConverterOptions.forEmail(),
);
final html = converter.convert();
print(html);
}Alternatives
Packages that do the same job and could replace vsc_quill_delta_to_html.
- flutter_quill_delta_from_html
Converts HTML strings to Quill Delta format for use with Quill editor.
55Compare - zxcvbn
Dart port of Dropbox's zxcvbn password strength estimator library.
50Compare - delta_to_html
Convert Delta format to HTML strings.
49Compare - markdown_quill
Convert between quill delta format and markdown.
48Compare
Works with
Packages commonly used together with vsc_quill_delta_to_html: ones it builds on, ones built on it, and its own family.