anki/ts/editable
Henrik Giesel de2cc20c59
Change how resizable images work (#1859)
* Add ResizableImage.svelte in ts/editable

* Set image constrained via attributes instead of managed style sheet

* Implement new constrained size method

* Turn WithImageConstrained.svelte into normal ts file

* Introduce removeStyleProperties

Removes "style" attribute if all style properties were cleared

* Avoid --editor-width and use one variable set on container

* Disable shrinking if already smaller than shrunken size

* Add button to restore image to original size

* Don't allow restoring original size if no custom width set

* Bottom-center HandleLabel

* Satisfy svelte-check
2022-05-13 12:57:07 +10:00
..
BUILD.bazel sass/codemirror does not appear to be used 2022-01-15 21:19:58 +10:00
content-editable.ts Allow using keyup with registerShortcut (#1755) 2022-03-29 09:28:44 +10:00
ContentEditable.svelte Fix insert media always insert at the start (on Windows) (#1684) 2022-02-25 10:59:06 +10:00
decorated.ts Fix plain text (#1689) 2022-02-25 11:14:26 +10:00
editable-base.scss Fix custom CSS not being applied to scrollbars in night mode (#1525) 2021-12-05 08:20:42 +10:00
frame-element.ts Fix Mathjax sometimes being deleted even though it's not selected (#1696) 2022-02-27 17:58:01 +10:00
frame-handle.ts Fix cursor sometimes not being moved into mathjax editor (#1737) 2022-03-24 18:29:30 +10:00
icons.ts update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
index.ts Change how resizable images work (#1859) 2022-05-13 12:57:07 +10:00
mathjax-element.ts Instead of transforming to {\lt}, transform to < (#1818) 2022-04-25 13:42:54 +10:00
Mathjax.svelte Instead of transforming to {\lt}, transform to < (#1818) 2022-04-25 13:42:54 +10:00
mathjax.ts Change sequence of Mathjax escaping (#1854) 2022-05-10 11:54:06 +10:00
ResizableImage.svelte Change how resizable images work (#1859) 2022-05-13 12:57:07 +10:00
tsconfig.json Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00