-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] Block bindings[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
While using Synced Pattern Overrides on a pattern to display prices on a Paragraph Block for a restaurant menu, I noticed that the "$" and next two numbers of the price would not display on the website front end after editing from the original. Additionally, if I used only numbers for the price and no "$", I noticed that the first number of the set of numbers does not display on the front end (looks normal in the editor). The same issue happens with the "Headings" block when part of a Pattern Override.
Step-by-step reproduction instructions
- Create Group Block
- Add Heading Block and Paragraph Block to this group
- Create Synced Pattern from this group and Enable Overrides for the Headings and Paragraph blocks
- Add an instance of the synced pattern to your page
- edit either the heading block or paragraph block with three or more numbers, or a $ followed by three or more numbers
- view the page on the front-end - note that the initial number or $+2 numbers has disappeared
Screenshots, screen recording, code snippet
Images show the Pattern Override after editing the price - and the result on the website front end.
Environment info
Environment
- WordPress: 6.6-beta1
- PHP: 8.1.23
- Server: nginx/1.16.0
- Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.23)
- Browser: Chrome 125.0.0.0 (macOS)
- Theme: Twenty Twenty-Four 1.1
- MU-Plugins: None activated
- Plugins:
- WordPress Beta Tester 3.5.5
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
[Feature] Block bindings[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsyncedA collection of blocks that can be synced (previously reusable blocks) or unsynced[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended