Automattic / Automattic/drag-element

Can break UTF-16 surrogate pairs in half

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Like emoji, when dragging inside a paragraph.

Here's a screenshot of it happening: ![breakage](https://cloud.githubusercontent.com/assets/418473/5120115/b8769040-7063-11e4-8fd3-58bae9b48e03.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue while dragging inside a paragraph containing emoji, using the linked screenshot as the expected failure context. Done means dragging no longer splits UTF-16 surrogate pairs in half.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.