anki/ts/editor/editor-toolbar
Mani 135de7f9ed
image occlusion button in note editor (#2485)
* setup mask editor in note editor
- add image on mask button click (only one time)
- show hide add button for io on notetype change
- hide field in io notetype
- icon for toggle
and replace image

* add update io notes

* Tidy up i/o notetype check and fix error

- Make it a method on editor
- Use .get(), because the setting doesn't exist on older notetypes
- Pass the bool value into the ts code, instead of the enum

* reset io page after adding

* remove adjust function & add target for mask editor

* handle browse mode & merged sidetoolbar and toptoolbar to toolbar

* fix: shape, button click in browse, dropdown menu

* add arrow to add button

* store for handling visiblity of maskeditor
- remove update  button in edit mode, implement autoupdate

* update var name

* simplify store
2023-07-27 22:45:49 +10:00
..
AddonButtons.svelte
BlockButtons.svelte Experiment with disabling prettier whitespace sensitivity 2023-06-01 11:11:26 +10:00
BoldButton.svelte Update bold check to font weight 700 2023-07-17 14:20:31 +10:00
ColorPicker.svelte Fix color defaulting to black 2022-12-11 11:58:21 +10:00
CommandIconButton.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
EditorToolbar.svelte image occlusion button in note editor (#2485) 2023-07-27 22:45:49 +10:00
HighlightColorButton.svelte Fix color defaulting to black 2022-12-11 11:58:21 +10:00
icons.ts image occlusion button in note editor (#2485) 2023-07-27 22:45:49 +10:00
ImageOcclusionButton.svelte image occlusion button in note editor (#2485) 2023-07-27 22:45:49 +10:00
index.ts Refactor how toolbar buttons get to surround within editor fields (#1931) 2022-08-15 13:34:16 +10:00
InlineButtons.svelte Move all buttons to our custom inline surrounding (#1682) 2022-02-22 22:17:22 +10:00
ItalicButton.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
LatexButton.svelte Experiment with disabling prettier whitespace sensitivity 2023-06-01 11:11:26 +10:00
NotetypeButtons.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
OptionsButton.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
OptionsButtons.svelte Give OptionsButton its own ButtonGroup and move it to more prominent position (#2207) 2022-11-23 16:18:29 +10:00
RemoveFormatButton.svelte Fix possible unexpected flash of pop-up menu (#2274) 2022-12-19 12:07:47 +10:00
RichTextClozeButtons.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
SubscriptButton.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
SuperscriptButton.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
TemplateButtons.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
TextColorButton.svelte Hack around color setting failure in Qt6.5 2023-05-18 16:36:16 +10:00
UnderlineButton.svelte Re-enable formatting for .svelte files 2022-11-28 09:17:39 +10:00
WithColorHelper.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00