mattermost-community/focalboard

Bug: Pasting in a long URL does not wrap in the card description

Open

#4,847 opened on Jun 9, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (26,187 stars) (2,542 forks)user submission
Help WantedSev/3Up for grabs

Description

Steps to reproduce the behavior

  1. Create a card and edit its description (card content)
  2. Paste in a long url, e.g. ### This is a [long url](https://mytestserver.test.mattermost.cloud/boards/workspace/g74xmh17m3n53ytarmro9d84cc/byfmcu5381fn3fp15ucbcfybs5w/vpitxu48zmjn59mnqttpeg3ndwh/cyds4jf6bsf8axg4u61hdpkxfco)
  3. It does not wrap

Expected behavior

Text should wrap in the content editor.

Screenshots (optional)

https://user-images.githubusercontent.com/46905241/172922510-4082e1d3-63b7-46dd-8c1c-0a67c3580411.mov

Edition and Platform

  • Edition: Mattermost Boards (plugin)
  • Version: v7.0.1
  • Browser and OS: Chrome on Mac

Additional context (optional)

If you commit the edit, then re-edit the content, the text wraps correctly, just not when it's first pasted in.

Contributor guide