באג בעת הוספת קישור דרך המקלדת בעורך ה-WYSIWYG

סיכום מבוסס בינה מלאכותית

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 :slightly_smiling_face: emoji.

כאשר אני מוסיף קישור באמצעות המקלדת בממשק העריכה WYSIWYG, הטקסט (וגם הקישור) נמחקים.

כיצד לשחזר:

  • עבור לממשק העריכה WYSIWYG
  • הקלד מילה, סמן אותה ולחץ על Cmd+K כדי לפתוח את חלון הקישור.
  • הקלד משהו עבור הקישור
  • לחץ על 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 לייקים

וגם אנא ספר לנו מה הדפדפן/גרסה/מערכת ההפעלה שלך, תודה.

2 לייקים

אני יכול לשחזר את הבעיה ב-Meta עם Safari 18.5 ו-Chrome 137.0.7151.122 במצב בטוח.

השלב האחרון – לחיצה על מקש Enter במקום לחיצה על כפתור “הוסף” באמצעות העכבר – חשוב.

לייק 1

אשרתי @renato, זה משחזר. משהו לא תקין בטיפול שלנו ב-ENTER במודאל.

לייק 1

Can you still reproduce this @alehandrof?

I just tried it on Mac+Chrome and the text/link were not deleted.

לייק 1

It now works fine here on Meta. Thanks for the fix ! :slight_smile:

לייק 1

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.