Unsynced reusable patterns cannot be inserted via keyboard

Description:

When in a cwicly paragraph block, typing /reusablepatternname pops up a popup to insert the reusable pattern reusablepatternname, but clicking on that item doesn’t insert it, nor does hitting return.

Step-by-step reproduction instructions:

  1. Have a reusable pattern called reusablepatternname.
  2. While in a cwicly paragraph block, in a post, type /reusa…
  3. See the reusable pattern pop up
  4. Notice that you cannot click on it to insert it, nor hit return, nor take any other action to insert it via the current block.

Environment info

  • WordPress version: 6.4.3
  • Cwicly Plugin version: 1.4

Hi @equitieslab,

Sorry to hear you’re experiencing trouble with this.

Unfortunately, I haven’t been able to reproduce this on my end.

To investigate further, I have set up a demo instance.
Kindly log in with this, and see the Test page.

Feel free to change anything to see if the error is reproducible.

Thank you in advance.

I’ve added a new component, called eqtestunsynced, that fails to insert. I was briefly happy as I thought it was the dashes in the name (before I removed the dashes, and it still failed to insert). Now I’m wondering if synced components insert, but unsynced ones don’t. I can repro your success on inserting synced components, but unsynced ones (try testunsynced) do not.

Repro instructions:

  1. Use provided Test page from the previous post.
  2. create a paragraph block somewhere.
  3. type /test
  4. Try inserting testunsynced, either with mouse or keyboard, see it fail.
  5. Try inserting test or testsynced, and see it succeed.
1 Like

Hello @equitieslab,

Thanks for going into more detail.
I can confirm an issue when adding unsynced patterns through the Cwicly paragraph block on my end.

I’m not sure what is affecting this behaviour at this moment in time, but we will make sure to have a fix for this in the coming updates.

Cheers,

1 Like