feat : allow developer to change toolbar color as well as option to show default toolbar items and html to document converter added (#58)

* change toolbar and added export so developer can modify according to its need

* revert some chages from examples

* html to document convertion added

* test added

* code formated

* node to html added image parameter

* toolbar color and elevation added in editor stylee

* code formated

* remove duplicated exports

* fix test improts and formating
This commit is contained in:
Ali Hassan 2023-04-14 07:10:03 +05:00 • committed by GitHub
commit 865195f8c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,14 @@ void main() {
expect(html.isNotEmpty, true);
});
});
group('HTMLConverterDocument tests', () {
test('HTMLToNodesConverter', () {
final converter = HTMLToNodesConverter(rawHTML);
final document = converter.toDocument();
expect(document.root.children.isNotEmpty, true);
});
});
}
const rawHTML = """<h1>AppFlowyEditor</h1>