I seem to be unable to use the template editor to insert or edit a template within a comment I am drafting using Flow.
Note: I have also been able to reproduce this issue in the main namespace at mediawiki.org.
Environment
Where the issue was observed.
- Wiki: mediawiki.org
- Browser: Chrome
- Platform: Desktop
Behavior
- Visit a talk page where Flow / StructuredDiscussions is enabled. E.g. https://www.mediawiki.org/wiki/Talk:Talk_pages_project/Replying.
- Click any Reply link to initiate the process of drafting a comment
- Type {{ to open the Insert a template dialog
- With the Insert a template dialog open, type some letters to locate an existing template. E.g. tq.
- Click the Talk quotation result that appears within the search results
- Add some text to the Text field. In this case, I pasted in a sentence (all latin characters).
- Click Insert
Actual
- ❗️A dialog appears that says Close template editor? Changes will be lost and cannot be undone.
Expected
- ✅I'm returned to the comment I was drafting with the text I pasted in "Step 6." visible and styled