discourse/app/assets/javascripts/float-kit/addon
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
..
components Revert "FIX: improves text selection of posts (#33143)" (#33190) 2025-06-13 01:10:25 +02:00
lib FEATURE: rich editor image toolbar for scale/alt text/delete (#33381) 2025-07-07 11:48:54 -03:00
modifiers DEV: allows to disable ancestorScroll on float-kit (#33251) 2025-06-18 18:16:20 +02:00
services FEATURE: rich editor image toolbar for scale/alt text/delete (#33381) 2025-07-07 11:48:54 -03:00