mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix 'strip formatting' option being inverted
This commit is contained in:
parent
76127126a6
commit
73430d966f
1 changed files with 1 additions and 1 deletions
|
@ -1154,7 +1154,7 @@ class EditorWebView(AnkiWebView):
|
||||||
)
|
)
|
||||||
if KeyboardModifiersPressed().shift:
|
if KeyboardModifiersPressed().shift:
|
||||||
strip_html = not strip_html
|
strip_html = not strip_html
|
||||||
return strip_html
|
return not strip_html
|
||||||
|
|
||||||
def _onPaste(self, mode: QClipboard.Mode) -> None:
|
def _onPaste(self, mode: QClipboard.Mode) -> None:
|
||||||
extended = self._wantsExtendedPaste()
|
extended = self._wantsExtendedPaste()
|
||||||
|
|
Loading…
Reference in a new issue