WYSIWYG 편집기에서 키보드로 기존 텍스트에 링크를 추가할 때 발생하는 오류

WYSIWYG 작성기에서 키보드를 사용하여 기존 텍스트에 링크를 추가하면 텍스트(그리고 링크)가 모두 삭제됩니다.

재현 방법:

  • WYSIWYG 작성기로 전환합니다.
  • 한 단어를 입력하고 강조한 뒤 링크 대화 상자를 엽니다(도구 모음 또는 키보드 단축키를 통해).
  • 링크로 아무 텍스트나 입력합니다.
  • <enter> 키를 누릅니다.
1개의 좋아요

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개의 좋아요

Also please tell us your browser/version/os, thanks.

2개의 좋아요

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개의 좋아요

Confirmed @renato this repros, something is wonky with our handling of ENTER in the modal.

1개의 좋아요

@alehandrof, 아직도 이 문제를 재현할 수 있나요?

방금 Mac+Chrome에서 시도해 보았는데 텍스트/링크가 삭제되지 않았습니다.

1개의 좋아요

지금은 여기 Meta에서 정상적으로 작동합니다. 수정해 주셔서 감사합니다! :slight_smile:

1개의 좋아요

이 주제는 마지막 답변 후 5일 자동으로 닫혔습니다. 새로운 답변은 더 이상 허용되지 않습니다.