# Problem pasting HTML into Markdown composer on mobile (until pasting once into rich text editor)

**URL:** <https://meta.discourse.org/t/problem-pasting-html-into-markdown-composer-on-mobile-until-pasting-once-into-rich-text-editor/409530>\
**Category:** Bug\
**Tags:** composer, mobile, markdown\
**Created:** [August 7, 2026, 2:43pm UTC](https://meta.discourse.org/t/problem-pasting-html-into-markdown-composer-on-mobile-until-pasting-once-into-rich-text-editor/409530 "2026-08-07T14:43:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sk-or-v1-contents](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sk-or-v1-contents/32/547175_2.png) [@sk-or-v1-contents](https://meta.discourse.org/u/sk-or-v1-contents)\
**Post date:** [August 7, 2026, 2:43pm UTC](https://meta.discourse.org/t/problem-pasting-html-into-markdown-composer-on-mobile-until-pasting-once-into-rich-text-editor/409530/1 "2026-08-07T14:43:01Z")

</div>

**Priority/Severity** : Moderate?

**Platform** :  
Edge on Android, [try.discourse.org](http://try.discourse.org) (can reproduce in [safe mode](https://meta.discourse.org/t/53504?silent=true)), device in vertical state  
Cannot reproduce if using browser’s Desktop mode.

**Description** :  
On mobile, the Markdown editor does not paste HTML as Markdown until it is pasted once into the rich text editor. (There are other conditions, see below)

**Reproducible steps** :

1. Go to a post with some HTML markup, like [Aaa aa aa aaaa aaaa aa ohgkgjsyduq - general - Discourse Demo](https://try.discourse.org/t/aaa-aa-aa-aaaa-aaaa-aa-ohgkgjsyduq/1713?safe_mode=no_themes%2cno_plugins)
2. Copy some formatted Markdown content
3. Open the composer, select Markdown mode, and paste, and observe
4. Select rich text mode and paste
5. Paste in Markdown mode again and observe

Step 3 pastes the text as plain text, losing HTML formatting. Step 5 converts HTML into Markdown.

After step 5, pasting HTML into Markdown editor preserves markup until page is refreshed _and_ text is copied again. (If you refresh after step 5 and paste into Markdown editor again without re-copying, markup is preserved)

I think this has something to do with the way text is copied?

---

_[View the full topic](https://meta.discourse.org/t/problem-pasting-html-into-markdown-composer-on-mobile-until-pasting-once-into-rich-text-editor/409530)._
