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.
34 KiB
34 KiB