mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
extended pasting is now the default
This commit is contained in:
parent
ba9ece83f1
commit
987256ff26
1 changed files with 1 additions and 1 deletions
|
@ -856,7 +856,7 @@ class EditorWebView(AnkiWebView):
|
|||
self.triggerPageAction(QWebEnginePage.Copy)
|
||||
|
||||
def _onPaste(self, mode):
|
||||
extended = self.editor.mw.app.queryKeyboardModifiers() & Qt.ShiftModifier
|
||||
extended = not (self.editor.mw.app.queryKeyboardModifiers() & Qt.ShiftModifier)
|
||||
mime = self.editor.mw.app.clipboard().mimeData(mode=mode)
|
||||
html, internal = self._processMime(mime)
|
||||
if not html:
|
||||
|
|
Loading…
Reference in a new issue