2 0
Contact Author Sign in to rate

Hide editor elements (by id, class, CSS selector)

<10kB. Updated 2022-04-27. Only supports Anki 2.1.x.
The author has shared 9 other item(s).


Hide HTML elements in the editor (e.g. to free space for add-on buttons). Just put the appropriate selector (id, class, CSS selector) into the config and this simplistic add-on will hide these elements for you. To find the right selectors, use AnkiWebView Inspector.


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:


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


on 1651048856
Very useful. It hides unused buttons / icons in editor, which makes editor less cluttered. Thanks to this I don't have to look for a proper icon in a long list of them. This is important when someone uses other add-ons that have their own icons. And thank you for your support on forum.
on 1638885871
Lovely. This seems to work great. Many thanks!

If for instance you’d like to hide your buttons in the menu of the Editor, add the following between the brackets after "classes" in the configuration:

"container-fluid pb-1 pt-1 svelte-6fejev"

(Note that there are 2 spaces between “pt-1” and “svelte-6fejev” above.)

See also https://forums.ankiweb.net/t/14711/.

I use Anki 2.1.49 on macOS 11.6.