alehandrof
(Alex Armstrong)
2025 年 7 月 9 日午後 2:31
1
When I add a link to existing text via the keyboard in the WYSIWYG composer, the text (and the link) are both deleted.
How to replicate:
Switch to the WYSIWYG composer
Type a word, highlight it and press open the link dialog (either via the toolbar, or the keyboard shortcut).
Type anything for a link
Press <enter>
「いいね!」 1
Lilly
(Lillian Louis)
2025 年 7 月 9 日午後 2:33
2
hello this is a link which was added via highlighting a word in the rich text composer.
sorry I cannot reproduce this here on Meta. can you make sure you are on the latest Discourse version? if it persists, try to provide a screen recording or screenshots. Are there any errors in console? does it work in safe mode ?
「いいね!」 2
j.jaffeux
(Joffrey Jaffeux)
2025 年 7 月 9 日午後 3:01
3
Also please tell us your browser/version/os, thanks.
「いいね!」 2
alehandrof
(Alex Armstrong)
2025 年 7 月 9 日午後 9:18
4
I can replicate the issue on Meta with Safari 18.5 and Chrome 137.0.7151.122 in safe mode .
The last step – pressing the enter key instead of clicking the “Insert” button with the mouse – is important.
「いいね!」 1
sam
(Sam Saffron)
2025 年 7 月 10 日午前 6:24
5
Confirmed @renato this repros, something is wonky with our handling of ENTER in the modal.
「いいね!」 1
renato
(Renato Atilio)
2025 年 10 月 20 日午後 10:25
6
Can you still reproduce this @alehandrof ?
I just tried it on Mac+Chrome and the text/link were not deleted.
「いいね!」 1
alehandrof
(Alex Armstrong)
2025 年 10 月 21 日午前 7:47
7
It now works fine here on Meta. Thanks for the fix !
「いいね!」 1