no longer needed in Anki 2.1.61, a similar feature has been included in 2023-03 in https://github.com/ankitects/anki/commit/b55161cd39f66c0e2fbdbc0f21b3e946ea0d0168
You can save the current content of the text (code) input field with “Ctrl+s”. With “Ctrl+i” you can view, edit and insert saved entries into the text (code) input field.
Use this at your own risk.
Sourcecode is here.
Versions
- 2021-12-11 fix for 2.150/qt6
- 2020-06-27 initial release