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

Fix visual editor event copy/paste issues #2459

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

salianifo
Copy link
Contributor

@salianifo salianifo commented Oct 29, 2024

Closes: #2455
Closes: #2407

When pasting into an empty timeline, the paste position would be set to -1, making the first item pop down to the end of the list.

@salianifo salianifo changed the title Fix multiple copied items order Fix visual editor event pasting issues Oct 29, 2024
@salianifo salianifo changed the title Fix visual editor event pasting issues Fix visual editor event copy/paste issues Oct 29, 2024
@salianifo
Copy link
Contributor Author

Since I'm looking at the copy/paste features of the visual timeline, I noticed there's a few other things that need to be fixed as well, such as nested events not being nested when pasted.

@salianifo
Copy link
Contributor Author

I noticed that when you paste into a timeline with events (but none selected), it pastes right before the last event instead of after it. This last change fixes this as well. I think the other copy/paste/move issues need discussion, and should be addressed in another PR.

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