glutanimate / batch-editing

Batch Editing add-on for Anki
https://ankiweb.net/shared/info/291119185
Other
15 stars 7 forks source link

[Batch Note Editing] Disabling and removing buttons for "Add before" "Add after" and limiting actions to a specific field #7

Closed AuntMinnie closed 5 years ago

AuntMinnie commented 6 years ago

Prerequisite checklist

What is the problem/feature you would like to see fixed/implemented?

I am looking to make two edits to the code 1) make "replace" is the only option for edits, and 2) have this only apply to a specified field. Right now my basic cards have three fields: "front", "back", and "notes". I would like to only have the ability to replace the "notes". I am a novice, and tried editing the code myself with no success. Screenshot of the add on box with buttons that I would like to be disabled/removed are circled in red.

messages image 2658430279

How can we reproduce the problem?

N/A

Expected behavior: N/A

Actual behavior: N/A

Reproducible?: N/A

Version information

Anki

[ Please head to HelpAbout Anki and Paste the version string here, e.g.: ]

[ Version 2.0.47 ] [ Qt 4.8.1 PyQt 4.9.1 ]

System

glutanimate commented 5 years ago

Hi @AuntMinnie

Sorry for the late response. In case you're still interested in doing your edits: