quill_json_to_html 1.0.1 copy "quill_json_to_html: ^1.0.1" to clipboard
quill_json_to_html: ^1.0.1 copied to clipboard

This library helps you to convert quill json to HTML.

Delta_To_HTML #

This library helps you to convert Delta to HTML.

Usage #

import 'package:delta_to_html/delta_to_html.dart';

void main() {

  List  rawDelta = [{"insert":"Hello "},{"insert":"HTML","attributes":{"bold":true}}];
  print(QuillJsonToHTML.encodeJson(rawDelta));

  List deltaJson = quillController.document.toDelta().toJson();
  print(QuillJsonToHTML.encodeJson(deltaJson));
  
}

Supported #

Currently, these elements are supported:

  • Bold
  • Italic
  • Underline
  • Background Color
  • Color
  • Font
  • Size
  • Strike
  • Image
  • Video
  • Link
  • Inline Code
  • Blockquote
  • Text Alignment
  • Header
  • List
  • Code Block
  • Indent
  • Text Direction

Not Supported #

Does not support the following elements, because flutter_quill does not support them:

  • Horizontal Rule
  • Superscript/Subscript

Does not support the following elements, because a few problems occur with delta output:

  • Formula
3
likes
150
points
66
downloads

Publisher

unverified uploader

Weekly Downloads

This library helps you to convert quill json to HTML.

Homepage

Documentation

API reference

License

MIT (license)

More

Packages that depend on quill_json_to_html