diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bddbfb..02938df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.1.6 + +* Fix: README bad code references + ## 1.1.5 * Feat: added support for subscript and superscript diff --git a/README.md b/README.md index d59e7ab..c139f9e 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ This is a Dart package that converts HTML input into Quill Delta format, which i
: Block quotations Code Blocks - : Code blocks +
, : Code blocks
 
     Text Alignment
         

: Paragraph alignment @@ -80,7 +80,7 @@ void main() { } ``` -## Creating your own CustomHtmlPart (alternative to create `CustomBlockEmbeds` from custom html) +## Creating your own `CustomHtmlPart` (alternative to create `CustomBlockEmbeds` from custom html) First you need to define your own `CustomHtmlPart` @@ -89,7 +89,7 @@ import 'package:flutter_quill_delta_from_html/flutter_quill_delta_from_html.dart import 'package:html/dom.dart' as dom; /// Custom block handler for elements. -class PullquoteBlock extends CustomBlock { +class PullquoteBlock extends CustomHtmlPart { @override bool matches(dom.Element element) { return element.localName == 'pullquote'; diff --git a/pubspec.yaml b/pubspec.yaml index 0f164ba..f0d6794 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_quill_delta_from_html description: "Convert easily HTML inputs content to Quill Delta format" -version: 1.1.5 +version: 1.1.6 homepage: repository: https://github.com/CatHood0/flutter_quill_delta_from_html/ issue_tracker: https://github.com/CatHood0/flutter_quill_delta_from_html/issues