mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
* ✨ Make links in comments clickable Detect URLs in comment text and render them as clickable links that open in a new tab. Extends the existing mention parsing to also split text elements by URL patterns, handling trailing punctuation and mixed mention+URL content. Closes #1602 * 📚 Add changelog entry for clickable links in comments * 🐛 Fix URL elements dropped in comment input initialization * 🐛 Keep empty text elements in parse-urls to preserve cursor anchors The remove filter in parse-urls was stripping empty text elements produced by str/split at URL boundaries. These elements are needed as cursor anchor spans in the contenteditable input, without them ESC keydown and visual layout broke. Signed-off-by: eureka928 <meobius123@gmail.com>