Edit Field During Review (Cloze)
0.04MB. Updated 2022-06-27.
The author has shared 9 other
item(s).
Description
Download
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
Supported Anki versions:
- 2.1.0-2.1.40 (Updated 2021-06-21)
- 2.1.41-2.1.53+ (Updated 2022-06-27)
To download this add-on, please copy and paste the following code into Anki 2.1:
385888438
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools->Add-ons menu item, then click on Get Add-ons and paste in the code.
All Anki 2.1.x Add-Ons Contact Author
Reviews

I works also with cloze 2.1

Great

Great app.
After the latest Anki update, there appears to be an issue with using two modifiers with an action. In my case, I use CTRL + META + C for center justify. On version 2.1.58, the above action with those listed hotkeys only works with either "CTRL + C" or "META + C", but not "CTRL + META + C".
After the latest Anki update, there appears to be an issue with using two modifiers with an action. In my case, I use CTRL + META + C for center justify. On version 2.1.58, the above action with those listed hotkeys only works with either "CTRL + C" or "META + C", but not "CTRL + META + C".

Works fine, great for quick editing, like spotting a typo or changing some words. Also works for adding images

very good

This really saves you a lot of time, you should uset it

It's working on the 2.1.56 qt 5 version.
Thank you
------------------------
Tip)
Esc problem => TAB !!!!
Thank you
------------------------
Tip)
Esc problem => TAB !!!!

Used to be able to press the escape key to stop editing. Escape key no longer seems to be working.

I have to edit regularly 5 fields, and since I have 80 fields in my deck (was 150), opening Edit is now slow. It will save me a lot of time!

So useful when you spot a typo when reviwing

It's not working on the 2.1.54 qt 5 version... could it be anki redesign add-on?

allows adding stories right away for my kanjis

nice

Very Useful

Very useful

Very nice app. It works very well with version 2.1.54 on my Mac.

its very useful

The update on 27/June have some problems, it counteracts with my chinese script.
It didn't when I don't apply this add on upon Chinese decks, but it does now. Please fix it :((
It didn't when I don't apply this add on upon Chinese decks, but it does now. Please fix it :((

Was working perfectly but this new update from today doesn't let me add new clozes or copy-paste text during reviews anymore

Amazing add-on

Good! Good! Good!

Very nice :)

GOOD!!!
How can I fix scroll bar when I finish editing.
When I finish editing, scroll bar is always top......
How can I fix scroll bar when I finish editing.
When I finish editing, scroll bar is always top......

I'm updating to say... for all of you saying it doesn't work with Enhanced Cloze (for Anki 2.1).... [for the sake of simplicity I'll post the add on page link here to prophylactically prevent any arbitrary confusion: https://ankiweb.net/shared/info/1990296174].
I have had this add-on for MONTHS and have never once gotten it to work appropriately with the MAIN CONTENT section of my Enhanced Cloze note types. I've been able to get it to work perfectly fine with every other note type, as well as any NON-MAIN (including the Information/Note/Mneumonic/Extra) field.
I FINALLY FOUND A FIX!!! It requires that you edit the field type manually.... do as I say and your Enhanced Cloze (for anki) 2.1 notes will be editable in their main field from the review screen.
Download this add on > Restart Anki > Make sure this add on is NOT disabled.
Next: Browse > Select any card of your choosing of the Enhanced Cloze type THAT HAS A CLOZE ON THE CARD. Select Cards... > Type "Tags" in the search bar of the FRONT TEMPLATE > Press Enter until you have recycled through the ENTIRE prompt and restarted from the beginning, and while you're at it, pay attention to the very last search entry of "tags" that reveals itself BEFORE your cursor jumps to the beginning of the prompt... this should be ~15-20% down the scroll bar. Make sure your Anki is NOT maximized and is in the default window size. Scroll down SLOWLY from here until that very last "tags" entry is at the very TOP of your prompt window (still within view, but the LAST line in view). You should see a block of text 3 lines from the bottom that read:
"<!-- ENHANCED_CLOZE -->
<span id="enhanced-cloze-content" style="display:none">{{edit:Content}}
</span>"
In the second line, add a : between the word edit and Content.
There should be a blank line below the </span> referenced above. Below the blank line should be 4 other lines that read:
"<span style="display:none;" id="edit-clozes">{{edit:cloze:Content}}<
/span>
<!-- this needs to exist so that Anki does not complain -->
<span style="display:none">{{edit:cloze:Content}}</span>"
In this very last line, edit the text so that it says: {{edit::cloze::Content}}
This should edit the Cloze function to allow editing. Restart your anki. Open an enhanced Cloze card, press control and click one of the CLOZE's (red box) one single time. Do not click twice, and do not move your cursor, or the editing function disappears. Use the keys on your keyboard to navigate throughout your card, making the edits you wish to make. As soon as you move your cursor or click, this window will disappear.
Good luck!
I have had this add-on for MONTHS and have never once gotten it to work appropriately with the MAIN CONTENT section of my Enhanced Cloze note types. I've been able to get it to work perfectly fine with every other note type, as well as any NON-MAIN (including the Information/Note/Mneumonic/Extra) field.
I FINALLY FOUND A FIX!!! It requires that you edit the field type manually.... do as I say and your Enhanced Cloze (for anki) 2.1 notes will be editable in their main field from the review screen.
Download this add on > Restart Anki > Make sure this add on is NOT disabled.
Next: Browse > Select any card of your choosing of the Enhanced Cloze type THAT HAS A CLOZE ON THE CARD. Select Cards... > Type "Tags" in the search bar of the FRONT TEMPLATE > Press Enter until you have recycled through the ENTIRE prompt and restarted from the beginning, and while you're at it, pay attention to the very last search entry of "tags" that reveals itself BEFORE your cursor jumps to the beginning of the prompt... this should be ~15-20% down the scroll bar. Make sure your Anki is NOT maximized and is in the default window size. Scroll down SLOWLY from here until that very last "tags" entry is at the very TOP of your prompt window (still within view, but the LAST line in view). You should see a block of text 3 lines from the bottom that read:
"<!-- ENHANCED_CLOZE -->
<span id="enhanced-cloze-content" style="display:none">{{edit:Content}}
</span>"
In the second line, add a : between the word edit and Content.
There should be a blank line below the </span> referenced above. Below the blank line should be 4 other lines that read:
"<span style="display:none;" id="edit-clozes">{{edit:cloze:Content}}<
/span>
<!-- this needs to exist so that Anki does not complain -->
<span style="display:none">{{edit:cloze:Content}}</span>"
In this very last line, edit the text so that it says: {{edit::cloze::Content}}
This should edit the Cloze function to allow editing. Restart your anki. Open an enhanced Cloze card, press control and click one of the CLOZE's (red box) one single time. Do not click twice, and do not move your cursor, or the editing function disappears. Use the keys on your keyboard to navigate throughout your card, making the edits you wish to make. As soon as you move your cursor or click, this window will disappear.
Good luck!

Incredibly useful for adding hints and bullets to cards on the fly!

Good and really useful ad on. Thank you a lot. But could you make it work on preview pages as well?

Thank you so much for the addon, It made my life easier and my review cards more comfortable.
Thank you so much.
Thank you so much.

Please make it work with ENHANCED CLOZE!

so easy to use.. immense boost of efficiency! perfect add-on for me thanks for making it!

One of my favourite add-ons

Edited fields changes are unsaved!
Comment from author
If you are using an older add-on version (Or Anki < 2.1.40), this might be due to your note type script. You may be able to fix it if you remove the script from the note type, or updating the add-on and Anki to the latest version.
Technical notes: The note type script conflicts with the add-on if it manipulates innerHTML. The add-on attaches event listeners to the field element, but changing elem.innerHTML removes all event listeners from the elem and its children.
Technical notes: The note type script conflicts with the add-on if it manipulates innerHTML. The add-on attaches event listeners to the field element, but changing elem.innerHTML removes all event listeners from the elem and its children.

Definitely one of the best add-ons out there. Really speeds up ongoing cycle of ensuring cards are high quality.

GREAT ADD ON...
Any way you can write a code for this that when you resize an image it will resize for the same image found on other notes?
Edit: Arthur was going to add this function to this when he was working on it...
Any way you can write a code for this that when you resize an image it will resize for the same image found on other notes?
Edit: Arthur was going to add this function to this when he was working on it...
Comment from author before post was edited
Sorry, that's out of scope for this add-on. You may want to use other addons like Image Style Editor (https://ankiweb.net/shared/info/1593969147)

Thanks for this add on. Its a huge improvement for me for add on.
I also just wanted to add, that after the last update I also had the problem that my edits were not saved. After deleting and reinstalling the addon (latest version) it is working fine again though.
I also just wanted to add, that after the last update I also had the problem that my edits were not saved. After deleting and reinstalling the addon (latest version) it is working fine again though.

Was this addon recently updated? Im using Anki 2.1.44. It used to work perfectly but all of a sudden it doesn't save any edits I make. I also use this add on https://ankiweb.net/shared/info/1103084694 to resize images. Image resizing also no longer works. I've tested it on multiple note types and none of them work any more. Is there any way to go back to the older version that worked fine?
edit: I downloaded v6.9 from the author's github and it works just like it used to
edit: I downloaded v6.9 from the author's github and it works just like it used to
Comment from author
Thanks for the report! I didn't catch it as for some reason, the add-on works fine on my test deck. I've reverted to previous version for now.

this addon is replaced all my notes, I had to restore from backup

Update ~23/1/2022:
It no longer saves my edits on card types that use the Closet addon. I can click to edit like normal but whatever I type the card won't save. Also, it will not let me resize images on those cards.
Works fine on my other card types. Really hope there's a way to fix this, image resizing is a huge plus to this addon.
It no longer saves my edits on card types that use the Closet addon. I can click to edit like normal but whatever I type the card won't save. Also, it will not let me resize images on those cards.
Works fine on my other card types. Really hope there's a way to fix this, image resizing is a huge plus to this addon.
Comment from author before post was edited
I believe an addon you are using is in conflict with this one. This addon requires a function in anki code to work, and if another addon overrides it, the above error happens.
Following addons are known not to work with this one: Redesign (https://github.com/nickdvlpr/Redesign/issues/11), Anki-TouchScreen.
Following addons are known not to work with this one: Redesign (https://github.com/nickdvlpr/Redesign/issues/11), Anki-TouchScreen.

The edited content during review can not be saved...

great add on can edit and delete stuff but cant highlight and do other things mentioned i need to highlight while reviewing please help
Comment from author
You should be able to. After checking add-on updates, go to add-on config and set a shortcut to highlight.
If you need multiple highlighting color, follow these steps: https://github.com/BlueGreenMagick/Edit-Field-During-Review-Cloze/blob/master/FAQ.md#can-i-have-multiple-formatting-shortcuts
If you need multiple highlighting color, follow these steps: https://github.com/BlueGreenMagick/Edit-Field-During-Review-Cloze/blob/master/FAQ.md#can-i-have-multiple-formatting-shortcuts

Sensasional!!!! Parabéns aos desenvolvedores do Add-on. Esse complemento me ajuda demais a economizar tempo na edição de alguns cartões quando estou revisando. Sem dúvida nenhuma, eu posso afirmar que é um dos melhores add-ons do Anki!!!

It is must-have! Thank's for the all Dev

Make sure you CTRL+CLICK!! I updated the addon but didn't realize this was changed (I ignored the popup), from just being a click before.
Don't waste your time like me trying to figure out why regular clicking doesn't work anymore!
Great addon :)
Don't waste your time like me trying to figure out why regular clicking doesn't work anymore!
Great addon :)

Does not seem to work for me...
Edit: So I got it to work by updating Anki and then this addon. I am unsure why the addon needed to be updated when I downloaded the newest version.
Edit: So I got it to work by updating Anki and then this addon. I am unsure why the addon needed to be updated when I downloaded the newest version.
Comment from author
It's possible that if you were using an older Anki version, you were using an older version of the addon as well. (Because the new version doesn't support < Anki v2.1.40) And upgrading Anki version meant you were using the old add-on on newer Anki version that it doesn't support.

Extremely useful and easy to use. Makes editing more efficient.

Can't delete letters while editing, I can only type more. Doesn't seem to work anymore with "symbols sa you type" :(
Comment from author before post was edited
Sorry but I can't reproduce it on my end. Would you be willing to share your addon config (image resizing related), note type, and your card data? (Preferably via Github or Reddit)
UPDATE: You could try setting "tag" in config to "span". Although I can't guarantee that the setting will not be removed in the future.
UPDATE: You could try setting "tag" in config to "span". Although I can't guarantee that the setting will not be removed in the future.

The addon is a must-have. Also, the new configurable shortcuts are amazing. Thank you very much!!!

Holy shit the new addon config featured with the last update is incredible. I can't live without this addon anymore! Keep going bluegreenmagick!

You are the fucking best awesome master galaxy person ever.
Thankyou
Thankyou

Works great! Thank you for making this :)

Works with cloze-deltion

Can you also add a feature to uncheck all the notetypes? Or tell me where it is in case I missed it.
Cool addon tho
Cool addon tho

Thanks!
I really needed it for one of the shared decks I had downloaded :)
I really needed it for one of the shared decks I had downloaded :)

Perfect!
Comment from author before post was edited
Sorry, but you cannot use {{edit:FrontSide}}. You can only use it on a field. I would advise copy pasting the html in Front in place of {{FrontSide}}
UPDATE: {{edit:FrontSide}} seems to work in newer Anki versions?
UPDATE: {{edit:FrontSide}} seems to work in newer Anki versions?

Great add-on. I've been using it for quite some time already.
I recently ran into an issue where hyperlinks in editable fields don't work. My Ctrl + Click to edit field is ticked. Hyperlinks in non-editable fields work just fine. They also work when I disable the add-on. I'm using 2.1.42 and 2.1.45.
I recently ran into an issue where hyperlinks in editable fields don't work. My Ctrl + Click to edit field is ticked. Hyperlinks in non-editable fields work just fine. They also work when I disable the add-on. I'm using 2.1.42 and 2.1.45.

najs

MUST HAVE!
great updates, great support! Thank you so much :)
great updates, great support! Thank you so much :)
Comment from author before post was edited
The feature is currently being worked on, and will probably be included in the next version!

Its really a very useful add-on, one thing that i'm not able to do is that when i'm in edit mode, and i have a photo in my copy clipboard, when i want to paste it, it wont paste anything or just paste the photo's name.
Update: Now it works just fine really, i don't know i guess the card types were making it malfunction, now everything works flawlessly, thanks.
Update: Now it works just fine really, i don't know i guess the card types were making it malfunction, now everything works flawlessly, thanks.
Comment from author before post was edited
That's strange. Does pasting the photo work in the normal Anki editor?

How can you make a new cloze starting with c1 even there is another cloze before?
Comment from author
Press 'Ctrl + Shift + Alt + C'. (That's the hotkey used in the note editor as well)

Fantastic add on, allows me to choose which card types are editable and which fields are editable. I can also resize images easily from the reviewer

A godsend!!!! 😋😋
The addon is just so awesome! It even lets you set up your keybinds for neat formatting. I couldn't manage to add a shortcut for adding a <code> tag around the selected text, but otherwise, I am really, really pleased with it! It makes it so easy to fix mistakes from your flashcards.
The addon is just so awesome! It even lets you set up your keybinds for neat formatting. I couldn't manage to add a shortcut for adding a <code> tag around the selected text, but otherwise, I am really, really pleased with it! It makes it so easy to fix mistakes from your flashcards.

Wow, this addon works perfectly. Thank you for share.

Great addon!

The app worked well. But with the last update (06/21) it became incompatible with the version I use of Anki. 2.1.44
Comment from author
Try using Ctrl + Click to edit your cards. Or you can change this behaviour back to a single click in the add-on config.
6/21 update changed a config default so you use Ctrl + Click to edit the cards instead of a single click. Unfortunately, if you've never opened the add-on config before, your previous config value doesn't transfer to the new version, but is overwritten with the new default value.
Sorry for the trouble!
6/21 update changed a config default so you use Ctrl + Click to edit the cards instead of a single click. Unfortunately, if you've never opened the add-on config before, your previous config value doesn't transfer to the new version, but is overwritten with the new default value.
Sorry for the trouble!

Some bugs I have dealt with using this when reviewing cards some disappear. There is a summary of this in the link below.
https://forums.ankiweb.net/t/front-text-of-cards-disappearing/3121/5
https://forums.ankiweb.net/t/front-text-of-cards-disappearing/3121/5
Comment from author
Hello, you seem to have mistaken this add-on with its original version "Edit Field During Review". As written in https://forums.ankiweb.net/t/front-text-of-cards-disappearing/3121/7, this add-on has been created to *fix* the aforementioned issue.

Usable :))

Ta bueno

🧡

It works!!! just hold Ctrl while clicking, bing!!!
PURE MAGIC!
PURE MAGIC!

Time saver

Thanks for this addon, extremely useful.

100% useful
tip: if you get a blue box around existing images (happened to me), toggle resizing options in the config
tip: if you get a blue box around existing images (happened to me), toggle resizing options in the config

Save so much time, especially since going to the browser reset the review process. Thanks for the work, I think you should talk with the anki team to make it included.
My only wish would be to have more than one color choice (I use quick color changing for that in the browser).
My only wish would be to have more than one color choice (I use quick color changing for that in the browser).

It doesn´t work in my Anki and I don´t know what´s the problem. Anyway, the idea is so good.
Comment from author
Did you perhaps forget to edit your note type template? Currently, you need to manually change {{Front}} to {{edit:Front}} for example.

Holy goodness, this is probably one of the most useful add-ons I have. The image resizing is fantastic.

Should be implemented in Anki
Must have add-on
Must have add-on

thank you!

Thanks

Works great with Anking cards as well!

The instructions are very unclear - how would I even open the "Open the Card Template"? There are no steps. Where do I get to this menu for cloze?
How do I change and put in the edit instruction? And once I have, how do I edit when reviewing? On a Mac, is it Cmd or Crl click? I tried both and neither works?
How do I change and put in the edit instruction? And once I have, how do I edit when reviewing? On a Mac, is it Cmd or Crl click? I tried both and neither works?
Comment from author
Manual on Card Template: https://docs.ankiweb.net/#/templates/intro
You can edit the card template by going to Tools → Manage Note Types → Cards
There is also this wonderful video by AnkingMed on how to setup and use the addon: https://www.youtube.com/watch?v=jIVAxtjUVxU&t=11s
On mac, you can press Cmd instead of Ctrl.
You can edit the card template by going to Tools → Manage Note Types → Cards
There is also this wonderful video by AnkingMed on how to setup and use the addon: https://www.youtube.com/watch?v=jIVAxtjUVxU&t=11s
On mac, you can press Cmd instead of Ctrl.

must have!! huge time saver!

Legend

How do you edit the extra/back? It only lets me edit the front side
Edit:
Hey, thanks man I figured it out a few days ago. This add on really helped me like sh*t bro??!?!?!??!! BRO. Fixing some of my stupid cards has never been this easier!
Edit:
Hey, thanks man I figured it out a few days ago. This add on really helped me like sh*t bro??!?!?!??!! BRO. Fixing some of my stupid cards has never been this easier!
Comment from author before post was edited
In the back template, replace {{Back}} with {{edit:Back}}

Great add-on! Exactly the thing I was looking for!
One issue: it doesn't seem to work with the Custom Styles font color background colour classes add-on. Which I use to emphasize terms on my cards. My keyboard shortcuts still work in the editor window, but not during review.
Any suggestions on how to use these add-ons together?
One issue: it doesn't seem to work with the Custom Styles font color background colour classes add-on. Which I use to emphasize terms on my cards. My keyboard shortcuts still work in the editor window, but not during review.
Any suggestions on how to use these add-ons together?

this is really helpful, now i can change my notes on the fly after i downloaded a pre existing deck of cards :)

How does the javascript-field-modifying notes support work? I expected it to be something like:
<script> {{edit:Field}} = "something"; </script>
but that hasn't worked
<script> {{edit:Field}} = "something"; </script>
but that hasn't worked
Comment from author
It is supposed to mean notes that have Javascript that modifies how the note html are rendered. Mathjax is one such example of js-modifying notes. When using this addon, you edit and save using original field value, instead of rendered value.
Say for example you want to write emojis easily so wrote such js in your cards:
```
<script>
var el = document.getElementsByClassName("card")[0]
el.innerHTML = el.innerHTML.replace(":star:", "⭐")
</script>
```
When using the original addon, you would be editing 'Star: ⭐', while with this addon you would edit 'Star: :star:' This is rather a bad example as it doesn't matter either way, but it matters in cases like using Mathjax.
Say for example you want to write emojis easily so wrote such js in your cards:
```
<script>
var el = document.getElementsByClassName("card")[0]
el.innerHTML = el.innerHTML.replace(":star:", "⭐")
</script>
```
When using the original addon, you would be editing 'Star: ⭐', while with this addon you would edit 'Star: :star:' This is rather a bad example as it doesn't matter either way, but it matters in cases like using Mathjax.

Fantastic improvement to the original add-on. This is one of the most important add-ons I have. Thanks for sharing and God bless you!
Comment from author before post was edited
Fixed in the latest update!

Thank you <3

Works well and saves me so much time when editing cards! Thank you :D

Updated and works great :)
Comment from author before post was edited
It was fixed in the latest update

This is definitely a life changer, was sad because there was no support for Cloze card, love it. Must have by far.

great od

Corrupts images pasted into Anki, probably due to some error with the image resizer.

Hey I keep getting the following error.
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-12-07 21:15:21
Add-ons possibly involved: Edit Field During Review Cloze
Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 37, in cmd
File "aqt/webview.py", line 123, in _onCmd
File "aqt/webview.py", line 547, in _onBridgeCmd
File "</Applications/Anki.app/Contents/MacOS/decorator.pyc:decorator-gen-42>", line 2, in _linkHandler
File "anki/hooks.py", line 638, in decorator_wrapper
File "anki/hooks.py", line 635, in repl
File "/Users/deol/Library/Application Support/Anki2/addons21/385888438/reviewer.py", line 193, in myLinkHandler
saveThenRefreshFld(reviewer, note, fld, new_val)
File "/Users/deol/Library/Application Support/Anki2/addons21/385888438/reviewer.py", line 153, in saveThenRefreshFld
saveField(note, fld, new_val)
File "/Users/deol/Library/Application Support/Anki2/addons21/385888438/reviewer.py", line 135, in saveField
txt = Editor.mungeHTML(None, txt)
File "aqt/editor.py", line 423, in mungeHTML
File "aqt/gui_hooks.py", line 1606, in __call__
File "aqt/editor.py", line 1225, in reverse_url_quoting
AttributeError: 'NoneType' object has no attribute 'mw'
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-12-07 21:15:21
Add-ons possibly involved: Edit Field During Review Cloze
Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 37, in cmd
File "aqt/webview.py", line 123, in _onCmd
File "aqt/webview.py", line 547, in _onBridgeCmd
File "</Applications/Anki.app/Contents/MacOS/decorator.pyc:decorator-gen-42>", line 2, in _linkHandler
File "anki/hooks.py", line 638, in decorator_wrapper
File "anki/hooks.py", line 635, in repl
File "/Users/deol/Library/Application Support/Anki2/addons21/385888438/reviewer.py", line 193, in myLinkHandler
saveThenRefreshFld(reviewer, note, fld, new_val)
File "/Users/deol/Library/Application Support/Anki2/addons21/385888438/reviewer.py", line 153, in saveThenRefreshFld
saveField(note, fld, new_val)
File "/Users/deol/Library/Application Support/Anki2/addons21/385888438/reviewer.py", line 135, in saveField
txt = Editor.mungeHTML(None, txt)
File "aqt/editor.py", line 423, in mungeHTML
File "aqt/gui_hooks.py", line 1606, in __call__
File "aqt/editor.py", line 1225, in reverse_url_quoting
AttributeError: 'NoneType' object has no attribute 'mw'
Comment from author
This error was fixed in the latest update

Hi, great add-on! Thank you so much.
Just FYI, I get an error message every first time I try to use the add-on after opening my Anki. The subsequent uses aren't problematic though. I posted my debug info on GitHub.
Just FYI, I get an error message every first time I try to use the add-on after opening my Anki. The subsequent uses aren't problematic though. I posted my debug info on GitHub.

Amazing add-on

Quite useful. Often clicking outside the box after editing will raise an error, but pressing ESC after editing always works and never raises an error.

does'nt work

work

If anyone has an error message don't leave a bad reviewe. Go to the github page and report an issue

I am using the snipping tool on windows and attempting to post an image into a basic card, but it is not working.

Error while editing cards using Anki 2.1.33
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-09-12 21:32:55
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 37, in cmd
File "aqt\webview.py", line 123, in _onCmd
File "aqt\webview.py", line 547, in _onBridgeCmd
File "<D:\Program Files\Anki\decorator.pyc:decorator-gen-66>", line 2, in _linkHandler
File "anki\hooks.py", line 638, in decorator_wrapper
File "anki\hooks.py", line 635, in repl
File "C:\Users\azero\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 193, in myLinkHandler
saveThenRefreshFld(reviewer, note, fld, new_val)
File "C:\Users\azero\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 153, in saveThenRefreshFld
saveField(note, fld, new_val)
File "C:\Users\azero\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 135, in saveField
txt = Editor.mungeHTML(None, txt)
File "aqt\editor.py", line 421, in mungeHTML
File "aqt\gui_hooks.py", line 1606, in __call__
File "aqt\editor.py", line 1217, in reverse_url_quoting
AttributeError: 'NoneType' object has no attribute 'mw'
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-09-12 21:32:55
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 37, in cmd
File "aqt\webview.py", line 123, in _onCmd
File "aqt\webview.py", line 547, in _onBridgeCmd
File "<D:\Program Files\Anki\decorator.pyc:decorator-gen-66>", line 2, in _linkHandler
File "anki\hooks.py", line 638, in decorator_wrapper
File "anki\hooks.py", line 635, in repl
File "C:\Users\azero\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 193, in myLinkHandler
saveThenRefreshFld(reviewer, note, fld, new_val)
File "C:\Users\azero\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 153, in saveThenRefreshFld
saveField(note, fld, new_val)
File "C:\Users\azero\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 135, in saveField
txt = Editor.mungeHTML(None, txt)
File "aqt\editor.py", line 421, in mungeHTML
File "aqt\gui_hooks.py", line 1606, in __call__
File "aqt\editor.py", line 1217, in reverse_url_quoting
AttributeError: 'NoneType' object has no attribute 'mw'
Comment from author
Fixed in the latest update!

Love the add-on. The only issue I am facing is that "remove formatting" is not working. I click ctrl+R but it does not remove the text formatting.
It is enabled in the addon configuration -- do you have any suggestions?
Edit: It was due to Heatmap addon. Heatmap already had a shortcut bound to Ctrl+R. So it was simply a matter of changing this.
It is enabled in the addon configuration -- do you have any suggestions?
Edit: It was due to Heatmap addon. Heatmap already had a shortcut bound to Ctrl+R. So it was simply a matter of changing this.

I've been getting this error a lot but can't find the "Contact Author" feature.
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.31 (13476503) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-04 16:49:35
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 37, in cmd
File "aqt\webview.py", line 123, in _onCmd
File "aqt\webview.py", line 547, in _onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-114>", line 2, in _linkHandler
File "anki\hooks.py", line 638, in decorator_wrapper
File "anki\hooks.py", line 635, in repl
File "C:\Users\amjeg\AppData\Roaming\Anki2\addons21\popup_dictionary\main.py", line 216, in linkHandler
return _old(self, url)
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-84>", line 2, in _linkHandler
File "anki\hooks.py", line 638, in decorator_wrapper
File "anki\hooks.py", line 635, in repl
File "C:\Users\amjeg\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 193, in myLinkHandler
saveThenRefreshFld(reviewer, note, fld, new_val)
File "C:\Users\amjeg\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 153, in saveThenRefreshFld
saveField(note, fld, new_val)
File "C:\Users\amjeg\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 135, in saveField
txt = Editor.mungeHTML(None, txt)
File "aqt\editor.py", line 421, in mungeHTML
File "aqt\gui_hooks.py", line 1606, in __call__
File "aqt\editor.py", line 1219, in reverse_url_quoting
AttributeError: 'NoneType' object has no attribute 'mw'
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.31 (13476503) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-04 16:49:35
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 37, in cmd
File "aqt\webview.py", line 123, in _onCmd
File "aqt\webview.py", line 547, in _onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-114>", line 2, in _linkHandler
File "anki\hooks.py", line 638, in decorator_wrapper
File "anki\hooks.py", line 635, in repl
File "C:\Users\amjeg\AppData\Roaming\Anki2\addons21\popup_dictionary\main.py", line 216, in linkHandler
return _old(self, url)
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-84>", line 2, in _linkHandler
File "anki\hooks.py", line 638, in decorator_wrapper
File "anki\hooks.py", line 635, in repl
File "C:\Users\amjeg\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 193, in myLinkHandler
saveThenRefreshFld(reviewer, note, fld, new_val)
File "C:\Users\amjeg\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 153, in saveThenRefreshFld
saveField(note, fld, new_val)
File "C:\Users\amjeg\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 135, in saveField
txt = Editor.mungeHTML(None, txt)
File "aqt\editor.py", line 421, in mungeHTML
File "aqt\gui_hooks.py", line 1606, in __call__
File "aqt\editor.py", line 1219, in reverse_url_quoting
AttributeError: 'NoneType' object has no attribute 'mw'
Comment from author
Fixed in the latest update!

I can't resize images during review. Opt + S doesn't work for me, I'm using a Mac. Editing the cloze-text section works perfectly fine with ctrl + klick.
Can somebody help me? What am I doing wrong?
Apart from my inability, game changer!
Can somebody help me? What am I doing wrong?
Apart from my inability, game changer!

Perfect! And the idea of immage resize is wonderful! I've disable all other addons of that kind and by using just yours my reviews are much better now! And also by adding, I did not preocupy myself with the size while adding since I can edit it while on review with just few secconds! Two likes!

Perfect add-on thanks
Would it be possible to be able to use superscript and subscript shortcuts (ctrl+shift+'+'/ctrl+'+') without the anki zoom add on taking over? I have asked the same question to the anki zoom page
Thanks
Would it be possible to be able to use superscript and subscript shortcuts (ctrl+shift+'+'/ctrl+'+') without the anki zoom add on taking over? I have asked the same question to the anki zoom page
Thanks

Wonderful add on! Worked just fine a few weeks ago. However, it's not allowing me to edit while in review mode any more now. Even if I enable Ctrl+click to true, it still doesn't work. I've uninstalled and reinstalled but with no changes. Please help.

this add-on is a beaut, the latest update round out the package of everything I need for editing while reviewing. it's robust and simple at the same time, thumb up!

Used to use this but MIA Editor is way easier to use.

Great addon. Can't seem to use the Ctrl+Shift+C shortcut- any idea why? I have the customized keyboard shortcut and checked that there are no overlapping shortcuts.
Comment from author before post was edited
I just updated the addon. It should hopefully now work!

Wonderful add-on, but I would like to repost this ↓ because I'm facing the same problem.
"PLEASE FIX THIS BUG:
Using the shortcut Ctrl + Shift + Alt + C to create a new cloze with the same number, will type the letter C at the end of the cloze which I then have to delete manually .
Great Add-on and saves so much time :)"
Furthermore, I wanted to mention that the format shortcuts doesn't work properly if they've been changed with add-on Customize Keyboard Shortcuts → https://ankiweb.net/shared/info/24411424
A workaround would be really appreciated aswell. Thanks for your work
"PLEASE FIX THIS BUG:
Using the shortcut Ctrl + Shift + Alt + C to create a new cloze with the same number, will type the letter C at the end of the cloze which I then have to delete manually .
Great Add-on and saves so much time :)"
Furthermore, I wanted to mention that the format shortcuts doesn't work properly if they've been changed with add-on Customize Keyboard Shortcuts → https://ankiweb.net/shared/info/24411424
A workaround would be really appreciated aswell. Thanks for your work
Comment from author
Ctrl+Shift+Alt+C bug was fixed in the latest update!

Great addon! One of my all time favourites
@The person who wants to keep formatting while pasting: you already can. You can change the setting in the configuration menu
@The person who wants to keep formatting while pasting: you already can. You can change the setting in the configuration menu

How do I give this like a million thumbs up? I always end up having to make tiny corrections on my cards (I tend to look at a book or PDF and type so I make mistakes sometimes) and this add-on is EXACTLY what I needed. The normal process is so annoying. You're doing God's work out here.

Works well, but one minor complaint: Could you please improve this add-on so that copy and paste also copies any text formatting? That is now possible in the normal edit window and in the browser.

Works well!
One issue:
I can get underlines to work for my custom-styled note type (changes the font and colour, doesn't underline), but I cannot undo the change with ctrl+u. I can't seem to get underlines to work on a stock basic card (nothing changed) whatsoever. Bold and italics work fine on both the custom and stock note types.
One issue:
I can get underlines to work for my custom-styled note type (changes the font and colour, doesn't underline), but I cannot undo the change with ctrl+u. I can't seem to get underlines to work on a stock basic card (nothing changed) whatsoever. Bold and italics work fine on both the custom and stock note types.
Comment from author
That's a problem I faced as well. You can use Ctrl+R to remove formatting on those.

Can you add ability to edit field during Preview from browser as well please. That would be super helpful to me. Edits to the field in Preview are not saved in the note unfortunately, only when actually studying the cards.

Does not work at all. I've restarted Anki and tried different note types, nothing happens. No error message or anything. I'm using 2.1.15.
Comment from author
Sorry that you cannot get the addon to work. I'm not sure what problem you are facing as there is no error message. Could you try disabling all other addons first and see if that works?
If it doesn't work, could you tell me by opening an issue on github or send me a pm on reddit (u/bluegreenmagick)? This platform isn't good for conversations.
If it doesn't work, could you tell me by opening an issue on github or send me a pm on reddit (u/bluegreenmagick)? This platform isn't good for conversations.

Works just fine

Hi! I can't seem to get this add on to work. I've tried disabling all other add ons, turning off dark mode, and using a different profile - but unfortunately to no avail. Do you any further troubleshooting suggestions? If I could get this to work, it'd save me a HUGE amount of time, so I'd really really appreciate it!
Comment from author
What Anki version are you using? Is there an error message? Can you try creating a basic note type and see if it works on that? (It is possible that having some special characters in field name, or some js in card template could cause an issue.)

Update 3: found this error message when I buried a card after editing it during review:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-05-07 22:04:37
Caught exception:
Traceback (most recent call last):
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 197, in myLinkHandler
val = get_value(note, decoded_fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 156, in get_value
check_fld_is_valid(note, fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 169, in check_fld_is_valid
raise KeyError(f"Field {fld} not found in note. Please check your note type.")
KeyError: 'Field Front not found in note. Please check your note type.'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aqt\webview.py", line 31, in cmd
File "aqt\webview.py", line 97, in _onCmd
File "aqt\webview.py", line 500, in _onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-78>", line 2, in linkHandler_wrap
File "lib\site-packages\anki\hooks.py", line 666, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 663, in repl
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 199, in myLinkHandler
tooltip(ERROR_MSG.format(e.message))
AttributeError: 'KeyError' object has no attribute 'message'
Caught exception:
Traceback (most recent call last):
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 197, in myLinkHandler
val = get_value(note, decoded_fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 156, in get_value
check_fld_is_valid(note, fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 169, in check_fld_is_valid
raise KeyError(f"Field {fld} not found in note. Please check your note type.")
KeyError: 'Field Front not found in note. Please check your note type.'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aqt\webview.py", line 31, in cmd
File "aqt\webview.py", line 97, in _onCmd
File "aqt\webview.py", line 500, in _onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-78>", line 2, in linkHandler_wrap
File "lib\site-packages\anki\hooks.py", line 666, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 663, in repl
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 199, in myLinkHandler
tooltip(ERROR_MSG.format(e.message))
AttributeError: 'KeyError' object has no attribute 'message'
Caught exception:
Traceback (most recent call last):
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 197, in myLinkHandler
val = get_value(note, decoded_fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 156, in get_value
check_fld_is_valid(note, fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 169, in check_fld_is_valid
raise KeyError(f"Field {fld} not found in note. Please check your note type.")
KeyError: 'Field Front not found in note. Please check your note type.'
During handling of the above exception, another exception o
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2020-05-07 22:04:37
Caught exception:
Traceback (most recent call last):
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 197, in myLinkHandler
val = get_value(note, decoded_fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 156, in get_value
check_fld_is_valid(note, fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 169, in check_fld_is_valid
raise KeyError(f"Field {fld} not found in note. Please check your note type.")
KeyError: 'Field Front not found in note. Please check your note type.'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aqt\webview.py", line 31, in cmd
File "aqt\webview.py", line 97, in _onCmd
File "aqt\webview.py", line 500, in _onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-78>", line 2, in linkHandler_wrap
File "lib\site-packages\anki\hooks.py", line 666, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 663, in repl
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 199, in myLinkHandler
tooltip(ERROR_MSG.format(e.message))
AttributeError: 'KeyError' object has no attribute 'message'
Caught exception:
Traceback (most recent call last):
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 197, in myLinkHandler
val = get_value(note, decoded_fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 156, in get_value
check_fld_is_valid(note, fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 169, in check_fld_is_valid
raise KeyError(f"Field {fld} not found in note. Please check your note type.")
KeyError: 'Field Front not found in note. Please check your note type.'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "aqt\webview.py", line 31, in cmd
File "aqt\webview.py", line 97, in _onCmd
File "aqt\webview.py", line 500, in _onBridgeCmd
File "<C:\Program Files\Anki\decorator.pyc:decorator-gen-78>", line 2, in linkHandler_wrap
File "lib\site-packages\anki\hooks.py", line 666, in decorator_wrapper
File "lib\site-packages\anki\hooks.py", line 663, in repl
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 199, in myLinkHandler
tooltip(ERROR_MSG.format(e.message))
AttributeError: 'KeyError' object has no attribute 'message'
Caught exception:
Traceback (most recent call last):
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 197, in myLinkHandler
val = get_value(note, decoded_fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 156, in get_value
check_fld_is_valid(note, fld)
File "C:\Users\lukem\AppData\Roaming\Anki2\addons21\385888438\reviewer.py", line 169, in check_fld_is_valid
raise KeyError(f"Field {fld} not found in note. Please check your note type.")
KeyError: 'Field Front not found in note. Please check your note type.'
During handling of the above exception, another exception o
Comment from author before post was edited
How did you encounter that error? When you click on the field, the reviewer javascript sends a request to the python backend to retrieve the value of the field. The only way I see that this could have happened is right after you clicked on the field, the card (and its note type) changed to the next card. I didn't realize such timing was possible.
The next update should somewhat fix this by showing a less obtrusive tooltip instead of an error dialog.
The next update should somewhat fix this by showing a less obtrusive tooltip instead of an error dialog.

PLEASE FIX THIS BUG:
Using the shortcut Ctrl + Shift + Alt + C to create a new cloze with the same number, will type the letter C at the end of the cloze which I then have to delete manually .
Great Add-on and saves so much time :)
Using the shortcut Ctrl + Shift + Alt + C to create a new cloze with the same number, will type the letter C at the end of the cloze which I then have to delete manually .
Great Add-on and saves so much time :)

I wonder if it's any possibility that we can highlight the text during the review? So far I can do B, I, U to mark some notes, but they are not obvious to stand out. It would be wonderful if we can quickly highlight or change the color of some texts while reviewing them.
Comment from author
Highlighting(in a single color) was implemented recently amongst other formatting options. You can go to the addon config to see the shortcuts and change the color.

Works much better than the last one, Remove Formatting is something that I needed
Is it possible to bring back the 'Paste' option when I right-click on an editable field, it only has the 'Copy' option now
Is it possible to bring back the 'Paste' option when I right-click on an editable field, it only has the 'Copy' option now

very useful,thanks a lot👍

Neat! I really like the configuration settings available! I've been wanting the "ctrl+click" function for a while. The "Ctrl + R" button does not function for me, though
Is there a way to personalize the shortcuts? EDIT: thank you! that worked (for anyone else having my same problem: you can also change Review Heatmap's shortcut by clicking on its "settings" symbol)
@The guy who complained about image resizing: you may* go to the configuration menu and set: "resize_image_default_state": false
EDIT2: could it be possible to add an additional couple of colors to the addon? Editing the code was easy enough (I assigned my other two colors to F8 and F9), but I dread the prospect of doing it on each update. Also, I think everyone would appreciate the option!
Is there a way to personalize the shortcuts? EDIT: thank you! that worked (for anyone else having my same problem: you can also change Review Heatmap's shortcut by clicking on its "settings" symbol)
@The guy who complained about image resizing: you may* go to the configuration menu and set: "resize_image_default_state": false
EDIT2: could it be possible to add an additional couple of colors to the addon? Editing the code was easy enough (I assigned my other two colors to F8 and F9), but I dread the prospect of doing it on each update. Also, I think everyone would appreciate the option!
Comment from author before post was edited
Thank you!
For Ctrl+R, if you are using Review Heatmap addon, that addon is really greedy and won't let other addons use Ctrl+R shortcuts. I sent a pull request some time ago and hopefully should be fixed in its next update.
Currently, it is not possible to configure the shortcuts. I'd like that as well, but not sure how to go about it. Although I wouldn't recommend it, you could change it by editing global_card.js in the addon directory. But it will be overridden after an update. (The shortcut info is in EFDRC.specials_ctrl variable. Look at https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code/code_values for code)
For Ctrl+R, if you are using Review Heatmap addon, that addon is really greedy and won't let other addons use Ctrl+R shortcuts. I sent a pull request some time ago and hopefully should be fixed in its next update.
Currently, it is not possible to configure the shortcuts. I'd like that as well, but not sure how to go about it. Although I wouldn't recommend it, you could change it by editing global_card.js in the addon directory. But it will be overridden after an update. (The shortcut info is in EFDRC.specials_ctrl variable. Look at https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code/code_values for code)

¡Muchas gracias!

absolutely superb add-on. Makes editing during review so much smoother. Thank you so much!

Brings up a box around images now and completely resets the size of images, very frustrating.
I considered this add-on essential and now its causing me headaches.
Edit: Thanks for the response and great work!
I considered this add-on essential and now its causing me headaches.
Edit: Thanks for the response and great work!
Comment from author before post was edited
Sorry about that. Current implementation of image resizing isn't the best. I'd ask you to set the config 'resize_image_default_state' to 'false'.

Hi thank you very much this good addon .
I know we can use F7 for only one color (default blue). Can we use this for more than one font color. For example red, blue, yellow etc. with different shortcuts. Sometime we need more than one font color. Thank you very much
I know we can use F7 for only one color (default blue). Can we use this for more than one font color. For example red, blue, yellow etc. with different shortcuts. Sometime we need more than one font color. Thank you very much

I been waiting for this add-on for years too, thank you so much. Is it possible to prevent scroll up when we click outside the template? I hav long texts in my cards... and aways when i click outside back to top of the card.

essential, please continue this :) FUCKIN LOVE IT!

Works really well, and the additional ability to resize images in the reviewer is so nice.
Thank you
Thank you

Amazing add-on! Is it possible to make it so that f7 would colour the text in a different colour (currently it's blue)?
Edit:
Which config do I need to edit the #00f? This is everything I can see on the config
{
"tag": "div",
"undo": true
}
Edit: Yup it works now. Thanks! I have another question. How can i access the hyperlinks which i've added in my cloze? Clicking on it would just activate the editing during review.
Edit:
Which config do I need to edit the #00f? This is everything I can see on the config
{
"tag": "div",
"undo": true
}
Edit: Yup it works now. Thanks! I have another question. How can i access the hyperlinks which i've added in my cloze? Clicking on it would just activate the editing during review.
Comment from author
You can change the color in the addon config. Change the "#00f" to some other color hex code.
EDIT: Are you sure you are looking at this addon's config? (And not Edit Field During Review's?) There should be ` "fontcolor": [true, "#00f"], `.
EDIT: Uh.... I have no idea! You could set ctrl_click to true - then only Ctrl + Click will activate the edit mode.
EDIT: Are you sure you are looking at this addon's config? (And not Edit Field During Review's?) There should be ` "fontcolor": [true, "#00f"], `.
EDIT: Uh.... I have no idea! You could set ctrl_click to true - then only Ctrl + Click will activate the edit mode.

For some reason, when editing cards during review on a Mac with version 2.1.21, the Shift+Command+C shortcut causes an extra Cloze space to appear, like this:
This is a sample sentence. —> This is a {{c1::sample}}{{c2::}} sentence.
This only happens when editing during review, not in the Edit Current window. Any way to fix this? Other than that, thank you so much for this amazing add-on!
Update: The issue only seemed to be happening with one particular deck, so it's probably a unique issue to just those cards. All of my other decks work fine. Thanks!
This is a sample sentence. —> This is a {{c1::sample}}{{c2::}} sentence.
This only happens when editing during review, not in the Edit Current window. Any way to fix this? Other than that, thank you so much for this amazing add-on!
Update: The issue only seemed to be happening with one particular deck, so it's probably a unique issue to just those cards. All of my other decks work fine. Thanks!
Comment from author before post was edited
Maybe you have two versions of this addon running? For example also running the image resizing version Arthur Milchior posted on reddit?

Just wanted to say thanks for making this extension way more than what I was expecting when I originally downloaded it. I was just expecting to be able to edit cloze cards but now its absolutely incredible! Your work is appreciated!

Amazing! Thank you.

Waiting patiently for Resize Images :)

Actually we can edit empty fields! Just add "edit" the same way to the empty field!

Sad day: it can't be used with anki killstreaks :'( i'd choose this add-on over my killstreaks, but those helped the dreariness of step studying even a little
copy/pasted error box below, removed user ID
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Mac 10.15.3
Flags: frz=True ao=True sv=2
Add-ons possibly involved: Anki Killstreaks, Edit Field During Review Cloze
Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 28, in cmd
File "aqt/webview.py", line 94, in _onCmd
File "aqt/webview.py", line 407, in _onBridgeCmd
File "</Applications/Anki 2.1.19.app/Contents/MacOS/decorator.pyc:decorator-gen-48>", line 2, in linkHandler_wrapper
File "anki/hooks.py", line 82, in decorator_wrapper
File "anki/hooks.py", line 79, in repl
File "/Users/txxxxxxx/Library/Application Support/Anki2/addons21/385888438/__init__.py", line 219, in myLinkHandler
reviewer._showAnswer()
File "aqt/reviewer.py", line 237, in _showAnswer
File "anki/hooks.py", line 31, in runHook
File "/Users/txxxxxxx/Library/Application Support/Anki2/addons21/579111794/main.py", line 163, in on_show_answer
_multikill_state_machine = _multikill_state_machine.on_show_answer()
AttributeError: 'AnswerShownState' object has no attribute 'on_show_answer'
EDIT: somehow they're working in unison now, don't know what I did. I think I had to add "edit:____" to one of the fields still or something, but point is it isn't giving me problems anymore. I can delete this and just leave a positive remark, or you can use whatever that error message is for whatever you'd like if it improves the add-on.
copy/pasted error box below, removed user ID
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.19 (3c8690ae) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Mac 10.15.3
Flags: frz=True ao=True sv=2
Add-ons possibly involved: Anki Killstreaks, Edit Field During Review Cloze
Caught exception:
Traceback (most recent call last):
File "aqt/webview.py", line 28, in cmd
File "aqt/webview.py", line 94, in _onCmd
File "aqt/webview.py", line 407, in _onBridgeCmd
File "</Applications/Anki 2.1.19.app/Contents/MacOS/decorator.pyc:decorator-gen-48>", line 2, in linkHandler_wrapper
File "anki/hooks.py", line 82, in decorator_wrapper
File "anki/hooks.py", line 79, in repl
File "/Users/txxxxxxx/Library/Application Support/Anki2/addons21/385888438/__init__.py", line 219, in myLinkHandler
reviewer._showAnswer()
File "aqt/reviewer.py", line 237, in _showAnswer
File "anki/hooks.py", line 31, in runHook
File "/Users/txxxxxxx/Library/Application Support/Anki2/addons21/579111794/main.py", line 163, in on_show_answer
_multikill_state_machine = _multikill_state_machine.on_show_answer()
AttributeError: 'AnswerShownState' object has no attribute 'on_show_answer'
EDIT: somehow they're working in unison now, don't know what I did. I think I had to add "edit:____" to one of the fields still or something, but point is it isn't giving me problems anymore. I can delete this and just leave a positive remark, or you can use whatever that error message is for whatever you'd like if it improves the add-on.
Comment from author
Great to hear they work fine now!

A GREAT time saving add-on. Thank you!!

Was working great and loved it, but I can't do the most recent update (feb 27,2020) because it says the add-on code is invalid or that it is not available on my version of anki (but I have 2.1). Let me know if there is something I'm missing.
Update 2/28/20: Didn't realize that either. The download works now!
Update 2/28/20: Didn't realize that either. The download works now!
Comment from author before post was edited
Hello, it seems like you are running an older version of Anki. (2.1.X where X is less than 15) I didn't realize Ankiweb doesn't let you update when your Anki version is less than the minimum version I set up. I changed the minimum version to 0, could you try updating again and see if it works? Sorry for the inconvenience.

so useful ! THANK YOU !

Really useful. Thanks.

I like it. Current version does not work with pop-up dic though
Update: Everything works fine now.
Update: Everything works fine now.
Comment from author before post was edited
This addon is compatible with pop-up dictionary. Perhaps some other addon is interfering? (eg. Night Mode, Replay buttons on card)

A must have add-on

Love the new add cloze feature. Works well on my Mac and iOS app (with edits) and I almost never have to open the editor!

Fantastic add-on!!!...Great works!!.. It should be perfect if you can change color and add more cloze items
Comment from author
Just updated the addon. Ctrl+Shift+C and Ctrl+Shift+Alt+C should work after updating the addon!

WONDERFUL addition!! Particularly useful with the small delays now present on ANKI desktop while editing (bringing up the edit screen from the cards and moving between fields). My understanding is that these delays are an unavoidable side effect of new security aspects, and that's understandable. However, I have 20-30 new cards per day that were automatically generated (web-scraped "Frankenstein" decks) and require small edits, which I do when first learning the card. The new lagginess was really frustrating for my particular use case, but this add-on now allows me to bypass the edit screen altogether. Seriously - a wonderful time saver and usability improvement from my perspective. Thanks again.

This add on is incredible! Makes editing cards so much easier. Is there any way to be able to add a cloze to a card (using Cmd+Shift+C on mac or Ctrl+Shift+C on PC) without having to go into full edit mode?

Should make it so you can change font color and style through editor

Greatest add-on ever. Period. It makes my life so much easier, I can't thank you enough.
Comment from author before post was edited
Sorry to know you are experiencing issues. I looked into it, but I could not reproduce the problem. The recent update fixed a bug that may have broke other addons. Could you try disabling all other addons and see if it works fine? And if it does, identify which addon it does not work with?
We could converse in more detail on github(link on bottom), or you could message me on reddit (u/bluegreenmagick)
https://github.com/BlueGreenMagick/edit-field-during-review-fork/issues
UPDATE: It has been patched in v1.3
We could converse in more detail on github(link on bottom), or you could message me on reddit (u/bluegreenmagick)
https://github.com/BlueGreenMagick/edit-field-during-review-fork/issues
UPDATE: It has been patched in v1.3

A great addition to an already useful addon. Would it be possible for you to implement Ctrl+Shift+C cloze shortcut during review?
Comment from author
Great idea! I will add that to my to-do list.
UPDATE: Added in v2.0
UPDATE: Added in v2.0

Hello! I'm having a bit of trouble getting this to work on my ankidroid and ankimobile even though I have copied and pasted the exact codes onto the front card and styling sections, respectively. Any suggestions? It works wonderfully on my computer, however!
Comment from author
Sorry, but Add-ons only work on Anki Desktop. The code for AnkiMobile only makes the cards viewable not editable. (Without the code, the cards do not get rendered correctly due to a bug in AnkiMobile)

Love that this has been implemented. It does seem to interfere with the Popup Dictionary add-on (not the first to do so), so that may be worth looking into from both sides.
Comment from author
Thanks for the feedback. This bug was found and has been fixed. It should not have any problems with most other add-ons now.

Didn't find any issues yet. Great addon. Thank you so much :)