代码拉取完成,页面将自动刷新
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.
- Easy to use
- Support Flutter Quill package
dependencies:
quill_html_converter: ^<latest-version-here>
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));
This will be updated soon.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。