mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
prefer clipboard image over url
This commit is contained in:
parent
a1ef0c2d73
commit
a09cd3f7a0
1 changed files with 3 additions and 3 deletions
|
@ -947,10 +947,10 @@ class EditorWebView(AnkiWebView):
|
|||
# print "html", mime.html()
|
||||
# print "urls", mime.urls()
|
||||
# print "text", mime.text()
|
||||
if mime.hasUrls():
|
||||
return self._processUrls(mime)
|
||||
elif mime.hasImage():
|
||||
if mime.hasImage():
|
||||
return self._processImage(mime)
|
||||
elif mime.hasUrls():
|
||||
return self._processUrls(mime)
|
||||
elif mime.hasText() and (self.strip or not mime.hasHtml()):
|
||||
return self._processText(mime)
|
||||
elif mime.hasHtml():
|
||||
|
|
Loading…
Reference in a new issue