favour images over urls when pasting
fixes dragging of images from safari+google images, and pasting of 'copy image' from chrome
This commit is contained in:
parent
47370af7c3
commit
5bf3349e05
@ -834,7 +834,7 @@ class EditorWebView(AnkiWebView):
|
||||
html, internal = self._processHtml(mime)
|
||||
if html:
|
||||
return html, internal
|
||||
for fn in (self._processUrls, self._processImage, self._processText):
|
||||
for fn in (self._processImage, self._processUrls, self._processText):
|
||||
html = fn(mime)
|
||||
if html:
|
||||
return html, False
|
||||
|
Loading…
Reference in New Issue
Block a user