quill_html_converter 9.5.15
quill_html_converter: ^9.5.15 copied to clipboard
A extension for flutter_quill package to add support for dealing with conversion to/from html
Flutter Quill HTML #
A extension for flutter_quill package to add support for dealing with conversion to/from html
It uses vsc_quill_delta_to_html package to convert the the delta to HTML
This library is experimental and the support might be dropped at anytime.
Features #
- Easy to use
- Support Flutter Quill package
copied to clipboard
Getting started #
dependencies:
quill_html_converter: ^<latest-version-here>
copied to clipboard
Usage #
First, you need to setup the flutter_quill
first
Then you can simply convert to/from HTML
import 'package:quill_html_converter/quill_html_converter.dart';
// Convert Delta to HTML
final html = _controller.document.toDelta().toHtml();
// Load Delta document using HTML
_controller.document =
Document.fromDelta(Document.fromHtml(html));
copied to clipboard
Additional information #
This will be updated soon.