discourse/app/assets/javascripts/float-kit/addon/lib
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
..
constants.js DEV: allows to disable ancestorScroll on float-kit (#33251) 2025-06-18 18:16:20 +02:00
d-menu-instance.js FEATURE: rich editor link ui for editing it (#32583) 2025-06-11 08:51:27 -03:00
d-toast-instance.js DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
d-tooltip-instance.js DEV: Do not trigger floatkit 'hover' for touch events (#30793) 2025-01-16 12:36:47 +00:00
float-kit-instance.js DEV: Update lint-configs and autofix issues (#31620) 2025-03-05 01:20:16 +01:00
get-scroll-parent.js DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
update-position.js FEATURE: rich editor image toolbar for scale/alt text/delete (#33381) 2025-07-07 11:48:54 -03:00