v149 · android · user input

Media Gallery

A contenteditable editor that intercepts inserted media before it enters the DOM, lifts each image into a scrollable gallery, and keeps the editor clean. On mobile, insert real media from your Android keyboard; on desktop, use the toolbar to simulate GIF, PNG, and WebP insertions.

Editor (contenteditable)
Type here. On Android, open the IME sticker picker and tap a GIF or image.
Simulate buttons create a synthetic beforeinput event carrying a fake DataTransfer, identical to what an Android IME produces.
Event log
// Insert media from the keyboard or press a Sim button above…

see also

implementation reference

Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗