100 13
Contact Author Sign in to rate

Edit Field During Review (Cloze)

0.04MB. Updated 2021-07-31. Only supports Anki 2.1.x.
The author has shared 9 other item(s).

Description

This addon lets you edit your card during review. You can add clozes, images, LaTeX expressions, highlight text, and most things you can do in the editor. To edit a field, click on a field while pressing Ctrl. (Cmd on mac) After installing, additional work is required to make the fields editable. Open the addon config and go to the "Fields" tab. You can select the fields of note types you want to edit in the reviewer. Doing this edits the note type template so {{Field}} becomes {{edit:Field}}, which can be manually done in the note type editor. Whenever you add a new note type or a new field, you will need to make them editable with the above method. See Commonly asked Questions for more details. Credits & License This addon was created by Bluegreenmagick, and is licensed under the GNU AGPL v3. This addon is based on the Edit Field During Review addon by Nickolay (kelciour). The following people has contributed code to this addon: Arthur Milchior, Aristotelis P. (Glutanimate), and hikaru-y. It also contains code from Anki by Damien Elmes and other developers, which is licensed under the GNU AGPL v3. Additional Links Ankiweb - Github - Report an issue - License 2019.10.22 (v1.5): Added cloze support to original addon 2020.01.08 (v2.1): Cloze shortcut support, Ctrl click option added 2020.01.29 (v3.4): Improved pasting - pasted images will be saved locally, strips formatting 2020.03.06 (v4.2): Special formatting shortcuts, added blue outline 2020.12.17 (v5.5): Resize images during review, improved ctrl 2021.07.31 (v6.7): Ctrl+Click by default. custom special formatting shortcuts, improved config, major refactor

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:

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 menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1632144036
Extremely useful and easy to use. Makes editing more efficient.
on 1632066516
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.
on 1630944711
The addon is a must-have. Also, the new configurable shortcuts are amazing. Thank you very much!!!
on 1630944653
Holy shit the new addon config featured with the last update is incredible. I can't live without this addon anymore! Keep going bluegreenmagick!
on 1630692559
You are the fucking best awesome master galaxy person ever.

Thankyou
on 1629863740
Works great! Thank you for making this :)
on 1629725562
Works with cloze-deltion
on 1629150825
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
on 1628794162
Thanks!
I really needed it for one of the shared decks I had downloaded :)
on 1628355023
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?
on 1628045542
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.
on 1627714474
najs
on 1627682900
MUST HAVE!

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!
on 1627554376
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.
Comment from author before post was edited
That's strange. Does pasting the photo work in the normal Anki editor?
on 1626779564
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)
on 1626280816
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
on 1625742730
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.
on 1625047614
Wow, this addon works perfectly. Thank you for share.
on 1624652390
Great addon!
on 1624457048
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!
on 1623335004
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
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.
on 1622987449
Usable :))
on 1622502265
Ta bueno
on 1622091510
🧡
on 1619930272
It works!!! just hold Ctrl while clicking, bing!!!
PURE MAGIC!
on 1618507029
Time saver
on 1617692583
Thanks for this addon, extremely useful.
on 1617532965
100% useful

tip: if you get a blue box around existing images (happened to me), toggle resizing options in the config
on 1617532263
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).
on 1617448169
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.
on 1617389754
Holy goodness, this is probably one of the most useful add-ons I have. The image resizing is fantastic.
on 1617286446
Should be implemented in Anki
Must have add-on
on 1616500371
thank you!
on 1616196349
Thanks
on 1615322832
Works great with Anking cards as well!
on 1615057723
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?
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.
on 1615007491
must have!! huge time saver!
on 1614530572
Legend
on 1614079449
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!
Comment from author before post was edited
In the back template, replace {{Back}} with {{edit:Back}}
on 1613840662
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?
on 1612571589
this is really helpful, now i can change my notes on the fly after i downloaded a pre existing deck of cards :)
on 1611465581
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
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.
on 1611314880
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!
on 1610473228
Thank you <3
on 1609500532
Works well and saves me so much time when editing cards! Thank you :D
on 1608397643
Updated and works great :)
Comment from author before post was edited
It was fixed in the latest update
on 1607878861
This is definitely a life changer, was sad because there was no support for Cloze card, love it. Must have by far.
on 1607792800
great od
on 1607490664
Corrupts images pasted into Anki, probably due to some error with the image resizer.
on 1607405236
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'
Comment from author
This error was fixed in the latest update
on 1606737891
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.
on 1606644896
Amazing add-on
on 1604062727
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.
on 1602798953
does'nt work
on 1601315839
work
on 1601268657
If anyone has an error message don't leave a bad reviewe. Go to the github page and report an issue
on 1600121652
I am using the snipping tool on windows and attempting to post an image into a basic card, but it is not working.
on 1599933036
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'
Comment from author
Fixed in the latest update!
on 1599579918
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.
on 1599312856
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'
Comment from author
Fixed in the latest update!
on 1595669672
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!
on 1594734920
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!
on 1593737294
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
on 1593136829
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.
on 1591888373
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!
on 1591832314
Used to use this but MIA Editor is way easier to use.
on 1591766282
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!
on 1591626058
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
Comment from author
Ctrl+Shift+Alt+C bug was fixed in the latest update!
on 1591454875
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
on 1591434084
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.
on 1591151448
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.
on 1590851473
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.
Comment from author
That's a problem I faced as well. You can use Ctrl+R to remove formatting on those.
on 1590834411
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.
on 1590824019
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.
on 1590793102
Works just fine
on 1590285422
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.)
on 1588906112
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
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.
on 1588675461
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 :)
on 1588350637
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.
on 1588300751
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
on 1588134789
very useful,thanks a lot👍
on 1588099645
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!
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)
on 1588088855
¡Muchas gracias!
on 1587831896
absolutely superb add-on. Makes editing during review so much smoother. Thank you so much!
on 1587663687
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!
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'.
on 1587290265
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
on 1587262108
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.
on 1586259097
essential, please continue this :) FUCKIN LOVE IT!
on 1585918725
That was it! Thank you so much, I have been wanting an add on like this for years. You're an angel

Image resize works great!
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.
on 1585789546
Works really well, and the additional ability to resize images in the reviewer is so nice.

Thank you
on 1585687504
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.
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.
on 1584824588
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!
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?
on 1584726422
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!
on 1584661889
Amazing! Thank you.
on 1584280825
Waiting patiently for Resize Images :)
on 1584040597
Actually we can edit empty fields! Just add "edit" the same way to the empty field!
on 1583381514
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.
Comment from author
Great to hear they work fine now!
on 1582977157
A GREAT time saving add-on. Thank you!!
on 1582894740
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!
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.
on 1582278381
so useful ! THANK YOU !
on 1580994534
Really useful. Thanks.
on 1580375853
I like it. Current version does not work with pop-up dic though

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)
on 1580146851
A must have add-on
on 1578592725
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!
on 1576958896
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!
on 1575573652
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.
on 1573937256
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?
on 1572109227
Should make it so you can change font color and style through editor
on 1568842279
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
on 1568295518
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
on 1567471943
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)
on 1565033283
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.
on 1564669654
Didn't find any issues yet. Great addon. Thank you so much :)