feat: paste image directly

This commit is contained in:
Vincent Chan 2022-08-15 15:46:40 +08:00
parent e826006fa7
commit 3f9e16922f

View File

@ -127,6 +127,8 @@ class HTMLToNodesConverter {
return _handleListElement(element);
} else if (element.localName == HTMLTag.paragraph) {
return [_handleParagraph(element, attributes)];
} else if (element.localName == HTMLTag.image) {
return [_handleImage(element)];
} else {
final delta = Delta();
delta.insert(element.text);