Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copied text with movableBlocks active has extra empty spaces on Chrome #302

Closed
lousander opened this issue Feb 18, 2020 · 0 comments · Fixed by #303
Closed

Copied text with movableBlocks active has extra empty spaces on Chrome #302

lousander opened this issue Feb 18, 2020 · 0 comments · Fixed by #303
Labels

Comments

@lousander
Copy link
Contributor

Expected Behavior

Copy and Paste with movableBlocks active should behave exactly the same with it inactive.

Current Behavior

Copying text also copies extra empty spaces from the move-control component.

Steps to Reproduce on Chrome

  1. With movableBlocks active, double click to select text on a block with another text block underneath it
  2. Copy the selected text and paste it
  3. Pasted text should come with 3 empty spaces whereas on base Megadraft comes with only one empty space.

Related draft-js issue: facebookarchive/draft-js#402

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants