Anki Keep Font Size on Paste

AnkiWeb addon 1934775761

Preserves inline font-size during internal Anki editor pastes, leaves external pastes untouched, and provides configurable options with safe fallback.
AI-generated summary; may contain mistakes.

formattingbugfix-workaround

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-08-19
Anki versions
26.05~
Description language
en

Maintenance

active

  • Last update or commit was 43 days before the snapshot (2026-08-19).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
23.1026.05+2026-08-19
History across monthly snapshots

Loading…

Similar addons

Editor scale images

Allows click-and-drag image resizing in the Anki desktop editor, preserving aspect ratio, with double-click clearing and configurable border; no further development due to built-in Anki 2.1.50+.

formattingobsoletemobile-compatible

Rating 5 πŸ‘ 5 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.49~ Updated 2022-02-11
Color Styles Dropdown

Adds an editor toolbar Style dropdown for Anki notes, applying fixed green, purple, or red inline color spans to new typing or selected text while preserving formatting.

formatting

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 0 Anki 2.1.1~ Updated 2026-08-19
Anki Redesign+

Refreshes Anki with a cleaner modern UI, built-in presets, quick theme switching, typography controls, and an advanced editor for customization.

appearance

Rating 4 πŸ‘ 4 Β· πŸ‘Ž 0 ⭐ 1 Anki 25.09.2~ Updated 2026-03-12

Description

Keeps inline font-size when you paste inside the Anki editor β€” e.g. copying text from one card to another, or copying part of a card and pasting it below. Anki's editor deliberately strips inline font-size (and font-family / width / height / max-*) from pasted content, even for internal copy/paste. This add-on preserves it. What it does For internal pastes it still runs Anki's own pre-filter (tags/images), then inserts via a raw execCommand insert instead of Anki's filtering pasteHTML Result: inline font-size survives internal pastes External pastes (from outside Anki) are left completely untouched Safe fallback to Anki's default paste on any error Configuration (Tools β†’ Add-ons β†’ Config) enabled (default true): master switch apply_when_stripping (default false): also keep font-size on internal "strip formatting" pastes By default only "paste with formatting" is affected; a deliberate "strip formatting" paste keeps Anki's default behaviour. Developed for modern Anki (Qt6). Source & issues https://github.com/david-becher/anki-keep-font-size-on-paste Licensed under the MIT License.