import 'package:appflowy_editor/src/infra/html_converter.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { group('HTMLConverter tests', () { test('HTMLToNodesConverter', () { final converter = HTMLToNodesConverter(rawHTML); final nodes = converter.toNodes(); expect(nodes.isNotEmpty, true); }); }); } const rawHTML = """
AppFlowy Editor is a highly customizable rich-text editor
Here is an example you can give a try
Span element Span element twoThis is a quote!
Code block
Bold tag
You can also use AppFlowy Editor as a component to build your own app.
If you have questions or feedback, please submit an issue on Github or join the community along with 1000+ builders!