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

Unable to paste content in block-level selection state #620

Closed
Tracked by #1439 ...
doodlewind opened this issue Jan 9, 2023 · 3 comments
Closed
Tracked by #1439 ...

Unable to paste content in block-level selection state #620

doodlewind opened this issue Jan 9, 2023 · 3 comments
Labels
good first issue Good for newcomers mod:clipboard Module: related to clipboard mod:hotkey Module: related to hotkey binding mod:selection Module: related to editor selection type:bug Something isn't working

Comments

@doodlewind
Copy link
Member

When the editor is under block-level selection:

  • The pasted content is ignored.
  • The selected blocks are not removed.
@doodlewind doodlewind added type:bug Something isn't working good first issue Good for newcomers help wanted mod:clipboard Module: related to clipboard mod:selection Module: related to editor selection labels Jan 9, 2023
@doodlewind doodlewind assigned lawvs and unassigned lawvs Jan 9, 2023
@doodlewind doodlewind added the mod:hotkey Module: related to hotkey binding label Jan 9, 2023
@SteinsHead
Copy link
Contributor

I think the correct logic is that the selected block should be removed first, and then the pasted block should be added to the location of the removed block

@SteinsHead
Copy link
Contributor

#718 This is my code for this problem

@doodlewind
Copy link
Member Author

Closed by #1687

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers mod:clipboard Module: related to clipboard mod:hotkey Module: related to hotkey binding mod:selection Module: related to editor selection type:bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants