mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-14 17:52:32 -06:00
e3e4e1d9d3
Gboard's clipboard suggestion strip sends multi-line pastes as 'insertText' in beforeinput rather than a standard paste event, causing ProseMirror to drop the text content and insert only a newline. Add a beforeinput handler that intercepts multi-line insertText events on Android and manually inserts with hard breaks to preserve the formatting.