Skip to content

Commit

Permalink
fix: readme code references
Browse files Browse the repository at this point in the history
  • Loading branch information
CatHood0 committed Jul 7, 2024
1 parent 95b481d commit 9a2bf11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.6

* Fix: README bad code references

## 1.1.5

* Feat: added support for subscript and superscript
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This is a Dart package that converts HTML input into Quill Delta format, which i
<blockquote>: Block quotations

Code Blocks
<code>: Code blocks
<pre>, <code>: Code blocks

Text Alignment
<p style="text-align:left|center|right|justify">: Paragraph alignment
Expand Down Expand Up @@ -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`

Expand All @@ -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 <pullquote> elements.
class PullquoteBlock extends CustomBlock {
class PullquoteBlock extends CustomHtmlPart {
@override
bool matches(dom.Element element) {
return element.localName == 'pullquote';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9a2bf11

Please sign in to comment.