delta_to_html 0.1.7 copy "delta_to_html: ^0.1.7" to clipboard
delta_to_html: ^0.1.7 copied to clipboard

This library helps you to convert Delta to HTML. Based on Flutter_Quill Delta

Delta_To_HTML #

This library helps you to convert Delta to HTML. Based on Flutter_Quill Delta

[ currently in under development ]

Usage #

import 'package:delta_to_html/delta_to_html.dart';

void main() {

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

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

Supported #

Currently, these elements are supported:

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

Problematics Elements #

Currently, these elements are have few multiple style property problem due to flutter_quill delta output we will fixed this as soon as posible:

  • 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 few problem occurs with delta output:

  • Formula
17
likes
0
pub points
89%
popularity

Publisher

verified publishermailbyproton.tech

This library helps you to convert Delta to HTML. Based on Flutter_Quill Delta

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on delta_to_html