discourse/app/assets/javascripts/float-kit/addon/services
Renato Atilio d07443a721
FEATURE: rich editor image toolbar for scale/alt text/delete (#33381)
Displays a toolbar and the alt text of the image when it's selected.

The toolbar allows changing the scale between 50, 75 and 100 and
deleting the image.

The alt text display can be clicked/focused to open an editable input.



https://github.com/user-attachments/assets/330f5c7c-e29a-46ab-b2cd-e7c7c07c15bf



It also introduces a simple GlimmerNodeView class that serves as a
bridge between ProseMirror NodeViews and Glimmer components, which is
used on this new version of the image node.

---------

Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Co-authored-by: Martin Brennan <martin@discourse.org>
2025-07-07 11:48:54 -03:00
..
internal-tooltip.js DEV: Fix random typos (#28103) 2024-07-26 23:13:12 +02:00
menu.js FEATURE: rich editor image toolbar for scale/alt text/delete (#33381) 2025-07-07 11:48:54 -03:00
toasts.js DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00
tooltip.js DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00