mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Merge pull request #850 from AppFlowy-IO/feat/paste-image
Feat: paste image from link
This commit is contained in:
commit
deefd396fc
@ -127,6 +127,8 @@ class HTMLToNodesConverter {
|
|||||||
return _handleListElement(element);
|
return _handleListElement(element);
|
||||||
} else if (element.localName == HTMLTag.paragraph) {
|
} else if (element.localName == HTMLTag.paragraph) {
|
||||||
return [_handleParagraph(element, attributes)];
|
return [_handleParagraph(element, attributes)];
|
||||||
|
} else if (element.localName == HTMLTag.image) {
|
||||||
|
return [_handleImage(element)];
|
||||||
} else {
|
} else {
|
||||||
final delta = Delta();
|
final delta = Delta();
|
||||||
delta.insert(element.text);
|
delta.insert(element.text);
|
||||||
|
Loading…
Reference in New Issue
Block a user