Another hallucination: Problem pasting HTML into Markdown composer on mobile (until pasting once into rich text editor) “cached in the clipboard” (summary of first post)
Summary
A user reports a bug where pasting HTML into the Markdown composer on mobile devices (specifically Edge on Android) fails to preserve formatting until the content has been pasted into the rich text editor at least once. The issue is reproducible on try.discourse.org in safe mode but not in desktop browser mode.
The reported steps to reproduce are:
Copy formatted Markdown content from a post with HTML markup.
Paste into the Markdown composer: the text appears as plain text, losing HTML formatting.
Switch to rich text mode and paste.
Switch back to Markdown mode and paste again: this time, the HTML is correctly converted to Markdown.
The user notes that after this sequence, subsequent pastes into the Markdown editor preserve markup until the page is refreshed and new text is copied. The user suspects the issue relates to how text is copied or cached in the clipboard on mobile platforms.