mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 04:37:22 -05:00
* add SaveCustomColours rpc method * restore custom colour palette on editor init * save custom colour palette on colour picker open and input there doesn't seem to be an event fired when the picker is cancelled/closed, so it's still possible for work to be lost * save colours on `change` instead of `input` `input` is supposed to be fired on every adjustment to the picker whereas `change` is only fired when the picker is accepted, but qt seems to treat both as the latter, so this is currently a no-op * Store colors in the collection One minor tweak to the logic while I was there: an invalid color no longer invalidates all the rest. --------- Co-authored-by: Damien Elmes <gpg@ankiweb.net> |
||
|---|---|---|
| .. | ||
| AddonButtons.svelte | ||
| BlockButtons.svelte | ||
| BoldButton.svelte | ||
| ColorPicker.svelte | ||
| CommandIconButton.svelte | ||
| EditorToolbar.svelte | ||
| HighlightColorButton.svelte | ||
| ImageOcclusionButton.svelte | ||
| index.ts | ||
| InlineButtons.svelte | ||
| ItalicButton.svelte | ||
| LatexButton.svelte | ||
| NotetypeButtons.svelte | ||
| OptionsButton.svelte | ||
| OptionsButtons.svelte | ||
| RemoveFormatButton.svelte | ||
| RichTextClozeButtons.svelte | ||
| SubscriptButton.svelte | ||
| SuperscriptButton.svelte | ||
| TemplateButtons.svelte | ||
| TextAttributeButton.svelte | ||
| TextColorButton.svelte | ||
| UnderlineButton.svelte | ||
| WithColorHelper.svelte | ||