Make WordPress Core


Ignore:
Timestamp:
02/06/2023 07:38:08 PM (3 years ago)
Author:
flixos90
Message:

Editor: Support the block_types and viewport_width props for remote patterns fetched from Pattern Directory.

Props ntsekouras, ironprogrammer, hellofromtonya, flixos90.
Fixes #57611.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/data/blocks/pattern-directory/browse-category-2.json

    r53665 r55234  
    1111            "wpop_description": "Three filled buttons with rounded corners, side by side.",
    1212            "wpop_keywords": "",
    13             "wpop_viewport_width": 600
     13            "wpop_viewport_width": 600,
     14            "wpop_block_types": []
    1415        },
    1516        "category_slugs": [ "buttons" ],
     
    2829            "wpop_description": "Two buttons, one filled and one outlined, side by side.",
    2930            "wpop_keywords": "",
    30             "wpop_viewport_width": 500
     31            "wpop_viewport_width": 500,
     32            "wpop_block_types": []
    3133        },
    3234        "category_slugs": [ "buttons" ],
Note: See TracChangeset for help on using the changeset viewer.