Feature proposal #9830
closedImprove paste parsing to handle inline content
Description
Inline links, mentions, and hashtags should all properly be handled when pasting content. This will require some tricky cursor handling.
Updated by krileon about 1 month ago
This requires a bit of rewriting to the pasting logic. It instead should collect the inline mentions for example via the internal regexp for doing so, send them to the server async, try to find a matching user, and if a match is found respond with the matches insert shortcode and then in the javascript just auto insert it.. this should no longer open the mentions popup at all for pasted mentions. Do the same for hashtags (exact match only otherwise create new hashtag) and links.
Updated by krileon about 1 month ago
- % Done changed from 0 to 30
Mentions inline pasting substantially improved. It no longer bothers opening a mentions window and will just auto mention on paste.
Updated by krileon about 1 month ago
- Status changed from Assigned to Resolved
- % Done changed from 30 to 100