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.
Liên kết hỗ trợ
Reviews (2)
👍 2022-04-27
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.
👍 2021-12-07
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.