Paste plain/unformatted text [Official thread]

If you have a problem with the add-on paste plain/unformatted text post in this thread. This way I get notified. If you make a new thread I will likely miss it.

1 Like

wrong link.https://ankiweb.net/shared/info/104518886

thanks for the info. link is fixed.

I’ve tried to test it, but it gives the error:

“”"

Erro
Ocorreu um erro. Por favor, inicie o Anki enquanto segura a tecla shift, isto vai desabilitar temporariamente as extensões que você instalou.
Se o problema ocorrer somente quando as extensões são habilitadas, use o Ferramentas > Extensões para desabilitar algumas extensões e reinicie o Anki, repetindo até descobrir a extensão que está causando o problema.
Quando você descobrir a extensão que está causando o problema, por favor reporte o problema em site de suporte de extensão.
Informações de Depuração:
Anki 23.10 (ef6f533c) Python 3.9.15 Qt 6.5.3 PyQt 6.5.3
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-03 14:43:36
Extensões possivelmente envolvidas: <U+2068>paste plainunformatted text<U+2069>

Caught exception:
Traceback (most recent call last):
  File "aqt.webview", line 46, in cmd
  File "aqt.webview", line 153, in _onCmd
  File "aqt.webview", line 666, in _onBridgeCmd
  File "aqt.toolbar", line 411, in _linkHandler
  File "aqt.toolbar", line 426, in _addLinkHandler
  File "aqt.main", line 1230, in onAddCard
  File "aqt", line 130, in open
  File "aqt.addcards", line 50, in __init__
  File "aqt.addcards", line 77, in setupEditor
  File "aqt.editor", line 143, in __init__
  File "aqt.editor", line 196, in setupWeb
  File "anki.hooks", line 45, in runFilter
  File "C:\Users\gusta\AppData\Roaming\Anki2\addons21\107041104\__init__.py", line 77, in setupEditorButtonsFilterFD
    b = editor.addButton(
  File "aqt.editor", line 267, in addButton
  File "aqt.editor", line 294, in _addButton
  File "aqt.editor", line 219, in resourceToData
FileNotFoundError
"""

thanks for the report, I don’t use the option to add a button so I never ran into this bug.I uploaded a new version that should fix this problem.