Make WordPress Core

Opened 8 months ago

Closed 11 days ago

Last modified 8 days ago

#58697 closed defect (bug) (worksforme)

Synced patterns not available in the block inserter

Reported by: eric7186's profile eric.7186 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

Bug Report

Description

When creating pattern with the Sync option selected, the pattern will not be available in the Pattern inserter.

Environment

  • WordPress: 6.3-beta2
  • PHP: 8.1.9
  • Server: Apache/2.4.43 (Win32) mod_fcgid/2.3.9a
  • Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.9)
  • Browser: Chrome 114.0.0.0 (Windows 10/11)
  • Theme: Twenty Twenty-Three 1.1
  • MU-Plugins: None activated
  • Plugins:
    • WordPress Beta Tester 3.5.0

Steps to Reproduce

  1. Select Group and click option: Create pattern
  2. in the Create pattern modal, click on: Keep all pattern instances in sync. Give it a Name and then Save.
  3. Open a page or post (refresh), click + to open block inserter and click Patterns tab.
  4. Click Custom patterns.
  5. 🐞 Bug occurs. This pattern is not shown.

Expected Results

  1. ✅ What should happen is that the pattern should be available to insert, just like the patterns created without the sync feature turned on.

Actual Results

  1. ❌ What actually happened is that in Editor > Library > Custom patterns it is shown under Standard

Patterns that can be changed freely without affecting your site

Attachments (2)

keep all pattern instances in sync.png (100.3 KB) - added by eric.7186 8 months ago.
Create synced pattern
synced-patterns.png (17.4 KB) - added by wildworks 8 months ago.
Insert synced pattern from main block inserter

Download all attachments as: .zip

Change History (5)

@eric.7186
8 months ago

Create synced pattern

#1 @wildworks
8 months ago

Synced patterns would be able to be inserted by clicking on the Synced Patterns icon on the far right side of the tab.

However, I agree that it is a pattern with or without synchronization and therefore it should appear on the Patterns tab.

I have submitted the issue as I believe this is a Gutenberg project related issue: https://github.com/WordPress/gutenberg/issues/52224

@wildworks
8 months ago

Insert synced pattern from main block inserter

#2 @skorasaurus
11 days ago

  • Resolution set to worksforme
  • Status changed from new to closed

Thanks for reporting; this was reported at https://github.com/WordPress/gutenberg/issues/51945 and also has been fixed at https://github.com/WordPress/gutenberg/pull/54007 and included in WP 6.4. :)
please reopen if you are still experiencing this issue.

#3 @swissspidy
8 days ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.