mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: paste image directly
This commit is contained in:
parent
e826006fa7
commit
3f9e16922f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user