WordPress / WordPress/pattern-directory

Error render Blocks in pattern editor

Open
#739 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
134
Forks
46
Avg merge
9h 4m
Merged PRs (30d)
19

Description

Describe the bug
The pattern editor does not allow you to create patterns correctly. There is a problem with the rendering and size of the elements.

The 'root', 'media' entity (used via 'canUser') is deprecated since version 6.9. Please use the 'postType', 'attachment' entity instead.
__unstableUseRichText hook is deprecated since version 7.0.
36px default size for wp.components.TextControl is deprecated since version 6.8 and will be removed in version 7.1. Note: Set the __next40pxDefaultSize prop to true to start opting into the new default size, which will become the default in a future version.
/patterns/wp-json/wp/v2/wporg-pattern/1147812?_locale=user:1 Failed to load resource: the server responded with a status of 403 ()

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the problem in the pattern editor and inspect the rendering and element sizing behavior. Check the failed /patterns/wp-json/wp/v2/wporg-pattern/1147812?_locale=user request alongside the browser warnings. Done means patterns can be created correctly with properly rendered and sized elements.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.