You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-36
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# enough_html_editor
2
2
3
3
Slim HTML editor for Flutter with full API control and optional Flutter-based widget controls.
4
+

4
5
5
6
## API Documentation
6
7
Check out the full API documentation at https://pub.dev/documentation/enough_html_editor/latest/
@@ -11,6 +12,7 @@ The current `enough_html_editor` package the following widgets:
11
12
*`HtmlEditorControls` optional editor controls.
12
13
*`SliverHeaderHtmlEditorControls` wrapper to use the editor controls within a `CustomScrollView` as a sticky header.
13
14
*`HtmlEditorApi` - not a widget - the API to control the editor, use the API to access the edited HTML text or to set the current text bold, add an unordered list, etc.
15
+
*`PackagedHtmlEditor` a simple to use Widget that contains both the `HtmlEditor` and the `HtmlEditorControls`
14
16
15
17
### Access API
16
18
You choose between two options to access the API:
@@ -47,46 +49,31 @@ You choose between two options to access the API:
47
49
48
50
Either the API or the global key is required for creating the `HtmlEditorControls`.
49
51
50
-
## Quick example
52
+
## Quick Start
53
+
Use the `PackagedHtmlEditor` for a quick start. This contains both the default controls and the editor.
<p style="text-align: center;">Here is <u><i><b>bold and italic and underline</b></i></u> text</p>
68
+
<ul><li>one list element</li><li>another point</li></ul>
69
+
<blockquote>Here is a quote<br/>
70
+
that spans several lines<br/>
71
+
<blockquote>
72
+
Another second level blockqote
73
+
</blockquote>
74
+
</blockquote>
75
+
''',
76
+
);
90
77
}
91
78
```
92
79
@@ -95,7 +82,7 @@ Add this dependency your pubspec.yaml file:
95
82
96
83
```
97
84
dependencies:
98
-
enough_html_editor: ^0.0.2
85
+
enough_html_editor: ^0.0.4
99
86
```
100
87
The latest version or `enough_html_editor` is [](https://pub.dartlang.org/packages/enough_html_editor).
0 commit comments