Stackable icon indicating copy to clipboard operation
Stackable copied to clipboard

Block Patterns - Add Block notice is shown on Patterns menu preview

Open andeng1106 opened this issue 3 years ago • 0 comments

Describe the bug Related to https://github.com/gambitph/Stackable/issues/2371 but issue only shows for the preview. It works well if Pattern is added in the page/post.

Note: Please also include the other Custom Patterns plugins for the fix.

Here are some example plugins used to create Patterns:

  • Blockmeister image

  • Custom Block Patterns image

To Reproduce Steps to reproduce the behavior: Blockmeister:

  1. Install and Activate Blockmeister plugin
  2. Add a Pattern using Stackable blocks (much better to use columns or buttons which have an add block notice)
  3. Add new page and add a Pattern block through: block inserter > Patterns tab
  4. In dropdown, go to your site as option (e.g. WP Local Testing Site)
  5. See the preview for the Pattern you created
  6. Check if the Add Block notice is shown

Custom Block Patterns:

  1. Install and Activate Custom Block Patterns plugin
  2. Add a Pattern using Stackable blocks (much better to use columns or buttons which have an add block notice)
  3. Add new page and add a Pattern block through: block inserter > Patterns tab
  4. In dropdown, select [CBP]
  5. See the preview for the Pattern you created
  6. Check if the Add Block notice is shown

Expected behavior A clear and concise description of what you expected to happen.

Screenshots BLOCKMEISTER

https://user-images.githubusercontent.com/103395655/190536725-1ed708bd-dd56-4fe8-a9e6-f27e0bd18082.mp4

CUSTOM BLOCK PATTERNS

https://user-images.githubusercontent.com/103395655/190536828-05cafb8e-188f-4f1f-ba8e-85d318845606.mp4

andeng1106 avatar Sep 16 '22 01:09 andeng1106