Tag: Component

  • Persisting block settings for faster usage in editor

    Persisting block settings for faster usage in editor

    When it comes to working with WordPress editor and blocks, sometimes the existing or recommended solutions doesn’t quite fit the need or intention for your block.When creating a Products Layout block, as a part of my Mosaic Product Layouts (MPL) plugin, I wanted to add a functionality for fast saving and switching different user created…

  • Creating Custom Visual Controls for a block

    Creating Custom Visual Controls for a block

    The need for a custom options control in the Mosaic Product Layouts block arose from limitations in existing WordPress components. The solution focused on creating a visual selection interface using images and icons, enhancing user experience and accessibility while remaining consistent with WordPress design patterns. This led to the development of the ImageRadioSelectControl.