Wrapper meta-addon

AnkiWeb addon 396502676

Adds configurable editor buttons and keyboard shortcuts for wrapping/unwrapping text, navigating cloze deletions, inserting custom HTML, styling citations and mnemonics, and shuffling images or lists.
AI-generated summary; may contain mistakes.

formattingshortcutscard-templatescloze

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
21 (👍 16 · 👎 5)
Updated
2026-09-14
Anki versions
24.06.2~
License
GPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, Vue, JavaScript, JSON, SCSS
Description language
en

Maintenance

active

  • Last update or commit: 2026-09-14 (48 days before the snapshot).
  • GitHub Actions workflows: 3.
  • Commits in the last year: 2.
  • Issues: 3 open, 6 closed.
  • Pull requests: 1 open, 5 merged.
  • Median first response: 116 hours (12 answered issues and pull requests).
  • Outside pull requests: 100% of 2 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.442026-09-14
2.1.4524.06.2+2026-09-14
History across monthly snapshots

Loading…

Similar addons

Quizify Tool

Renders Markdown in Anki cards as interactive question types—fill-in-the-blank, multiple choice, reveal, annotations, collapsible/tabbed blocks, recitation, audio, code and math—with editor tools and bulk Markdown import.

review-flowformattingcard-templatesclozequizmobile-compatible

2 votes 34% approval 👍 2 · 👎 0 ⭐ 171 Anki 2.1.1~ Updated 2025-02-16
Cloze List Items

Adds an editor button that wraps list items in the current field with sequential cloze deletions, with a configurable Alt+Shift+L shortcut and an option to target only selected items.

shortcutscloze

2 votes 34% approval 👍 2 · 👎 0 Anki 23.12.1~ Updated 2024-03-05

Description

Add parametric wrapper buttons to Anki. Those interact for instance with closes or html embedding

It contains by default buttons to:

  • Center but left justified (button)
  • Remove the current cloze, keeping text (shortcut: ctrl+alt+u)
  • go to end of cloze, inside (shortcut: ctrl+space)
  • go to beginning of cloze, inside (shortcut: ctrl+alt+space)
  • go to end of cloze, outside (shortcut: ctrl+shift+space)
  • go to beginning of cloze, outside (shortcut: ctrl+alt+shift+space)

For more details, and how to parametrize it yourself for more flexibility, see: https://github.com/ankipalace/anki-wrapper

Changelog:

2026-09-14: Update the shuffle script to match the version used in the AnKing Step deck.

2025-07-09: Fix shuffle script not updating to the latest version for existing users. With this update, you can no longer modify built-in icons/HTML files. You'll need to use a different filename and change the config accordingly if you're modifying a built-in button.

2025-06-30: Persist shuffling in front/back sides.

2025-03-23: Added unshuffle button.

2025-03-04: Removed justify button.

2025-02-15: Fixed list wrapping not working properly.

2025-02-13: Added a button to shuffle images/lists - Added support for adding custom HTML to templates.

2024-06-10: Added a button for mnemonics styling in the AnKing deck - Fixed special characters in beginWrap/endWrap not being properly escaped

2023-07-22: Added a new "citation" button that adds italic styling and smaller font. Added icon images and tooltips for citation and uncloze

2022-06-18: Adds fix for 2.1.50-51

2022-05-30: Fixed a but with the editor button size on 2.1.52+

2022-03-21: Fix for Anki >= 2.1.45

2021-12-28: Added compatibility for 2.1.50, including pyqt6 (looks like it still isn't allowing the editor to be seen, please be patient while we fix this)

Please consider checking out our: YouTube Channel- How to use Anki for beginners and advanced users. Instagram/Facebook: @Ankingmed www.TheAnKing.com- Recommended add-ons, tutorials and more including how to download 40+ add-ons in < 5min Patreon/VIP- Support our work and get individualized Anki help!

 

README

Wrapper addon

Automatically create buttons and shortcut that manages wrapping and unwrapping text

Default buttons:

  • Left justify (justify on the left, but center paragraph. Does not work on part of sentences)
  • Move to end of cloze (ctrl+shift+space)
  • Move to inner end of cloze (ctrl+space)
  • Move to begining of cloze (ctrl+alt+shift+space)
  • Move to inner begining of cloze (ctrl+shift+space)
  • Unwrap current cloze (alt+shift+u)

Configuration

This addon allows you to create a list of buttons to add, with their own labels, shortcuts and icons.

For more details see config.md

Actions

The action field of config.json must be a javascript function.
This can be either in commands.js or in the user files: user_files/js.js. If you want to create your own, look into commands.js and create a function in user_files/js.js
Then, you can acccept the begin and end pattern as parameters and additional parameter in the this parameter.

The this parameter contains:

  • sel: Current selection in the field
  • node: Current field
  • range: Current selection range
  • beginIndex: Appearance of the openning pattern that contains the cursor
  • endIndex: Appearance of the ending pattern that contains the cursor
  • beginPatternMatch: Openning pattern captured
  • endPatternMatch: Ending pattern captured

If you like these, please consider donating to this project