Users reported a bug in the WYSIWYG composer where adding a link via keyboard shortcuts (e.g., pressing Enter after highlighting text) caused both the text and link to be deleted. alehandrof initially reproduced the issue on Meta using Safari 18.5 and Chrome 137.0.7151.122 in safe mode, noting it occurred when clicking the Insert button instead of pressing Enter. Lilly couldn’t reproduce it and asked for screenshots, error logs, or browser details. j.jaffeux also requested browser/version info. sam confirmed the bug, noting it involved pressing Enter in the modal. renato tried to reproduce but couldn’t on Chrome+Mac. alehandrof later confirmed the issue was resolved on Meta, thanking the team with a emoji.
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 ?