-
Notifications
You must be signed in to change notification settings - Fork 33
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
Copy&Paste Animation + Adaptors update #1452
Conversation
Bundle Size Diff
|
Plugin build for 99b7051 is ready 🛎️!
|
Tested again Robert, and even if the issue I mentioned yesterday with the Copy-paste from an Image to a Column - is fixed, I think the challenge with copying from different blocks, is still present. Here's an example were I copied the Style from an Icon to a Core Heading (and it shouldn't be possible). Basically it adds the border radius of the Icon to the Core Heading - even if the core headings don't have border radius controls: Screen.Recording.2023-01-20.at.14.10.33.movMaybe it would be better to release the Copy Paste for Animations, and later look into this - if it's a more complex issue. |
The great challenge is establishing more rules for the copy. It seams that Gutenberg add some hidden functionality that is not visible for the user but it awaken if some values are present. Normally, extra values should be ignored. I think we can made some more explicit rules for hot blocks like heading and paragraph. Another issue, if Gutenberg is adding his own copy style, how should we rename ours? With the past controls in toolbars we were kind of save since it was separated, but now we need to coexists. |
I think at this stage, it's ok to leave it as it is, Robert. and as Core already added/will add soon the Copy Paste feature, we'll just need to wait a bit and see how we can integrate and adjust this - as having 2 copy/paste, won't make sense. |
E2E SummaryTyping
Values above 60ms"9 - 67.98, 10 - 84.41, 15 - 63.92, 22 - 62.15, 28 - 65.25, 29 - 64.86, 38 - 63.17, 40 - 65.04, 51 - 63.78, 55 - 63.63, 57 - 65.85, 62 - 67.20, 64 - 93.94, 66 - 62.70, 71 - 64.52, 73 - 63.45, 75 - 60.78, 77 - 64.12, 79 - 66.10, 81 - 62.06, 83 - 61.52, 85 - 60.94, 87 - 60.81" |
@Soare-Robert-Daniel Found a single problem, i don't exactly know if this is the expected behaviour, let me know what you think:
|
Thanks for testing.
We will see at the meeting if it is ok to override the animation when the copied animation is empty. |
As we discussed in the meeting, if we do not copy any animation from the block, we should not override the options of the block in which we paste. The current behavior will remain. |
@Soare-Robert-Daniel Thanks for looking into this, i'll move this to Ready to merge then 👍 |
🎉 This PR is included in version 2.2.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Closes #1446.
Summary
Test instructions
Now the animation settings should also be copied.
ℹ️ As always, the copy-paste between different block types might not behave as expected.
Checklist before the final review