Copying multiple blocks not working consistently

Description:

Currently copying blocks is behaving inconsistently.

Copying a single non-Cwicly block improved in the last couple of versions, but other copying issues have arisen seemingly as a side-effect.

We installed 1.4.3 and 1.4.4 on a few sites and we are still experiencing some copy/paste quirks with some blocks.

Issue 1 - copy/pasting inconsistencies with 3rd party blocks:

With non-Cwicly blocks:

  • When we copy one individually it pastes perfectly.
  • When we copy one with other Cwicly blocks using Cmd+C it doesn’t copy.
  • When we copy one with other Cwicly blocks using right click > Copy blocks, it appears to copy but nothing pastes.

I confirmed this on multiple installations of Cwicly 1.4.3.

Issue 2 - Copy pasting certain Cwicly blocks:

After installing 1.4.4 and testing on a few more sites we encountered more issues with basic copy/paste operations.

We have a Cwicly Columns block (added before the improved grid layout feature was available) that will not paste, whether copied on its own or with other blocks. This is not a priority for us as we don’t use dedicated column blocks anymore on any of our new sites, but I wanted to let you know.

Similarly copying any Component block prevents the copy/paste from working.

Issue 3 - Copy/pasting multiple selected blocks:

Testing with Cwicly 1.4.4, we are unable to copy/paste multiple selected blocks under any circumstances.

Step-by-step reproduction instructions:

Issue 1:

  1. Add a Cwicly Paragraph block, a WordPress Separator block and a Cwicly Heading block
  2. Copy the Paragraph and paste - note that it works
  3. Copy the Separator and the Heading using Cmd+C and paste - note that it pastes the Paragraph that was previously copied
  4. Copy the Separaor and the Heading using right click Copy Blocks and paste - note that it pastes nothing
  5. Copy the Separator and paste - note that it works

Issue 2:

  1. Attempt to copy/paste any Column or Component blocks
  2. Note this does not work

Issue 3:

  1. Attempt to copy/paste multiple Cwicly blocks
  2. Note this does not work

Environment info

  • WordPress version: 6.6.2
  • Cwicly Plugin version: 1.4.3-1.4.4
1 Like

Hello @StrangeTech,

Thanks for the report and my apologies for the trouble you’re experiencing with the copy/paste function.

We’ll have this fixed as soon as possible.

2 Likes

@Louis, just following up on this as the plot thickens.

I have no explanation for why but some of our team (including me) can’t copy/paste at all now and some can.

Same site, logged in as the same user.

Hello @StrangeTech,

Were you able to copy/paste again?
The copy/paste function relies on the main browser events, and the only possibility for them not to respond is if some other function were preventing Cwicly from listening to this.

Yes, I was able to copy/paste again, although the other issues in the bug report of copying multiple blocks still apply.

Cheers.