WP Manifestindependent plugin directory
manifest / editor / block-editor-custom-alignments

Block Editor Custom Alignments WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA #8 in Blocks & Editor

Allows developers to add custom alignments to `theme.json` for use in the WordPress block editor.

★ 4stars
11krelease downloads
≈190active sites
v1.1.3latest · 6mo ago

Install

Download block-editor-custom-alignments.1.1.3.zip From the v1.1.3 release on GitHub, Apr 9, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/moderntribe/block-editor-custom-alignments/releases/download/v1.1.3/block-editor-custom-alignments.1.1.3.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Allows developers to add custom alignments to theme.json for use in the block editor.

Usage

The plugin runs off of an _experimentalLayout attribute in theme.json that allows a developer to define extra alignments (widths) for blocks that support alignment. If a block doesn't support alignment, this feature will not display. All values within the _experimentalLayout array's objects are required. Excluding this array from your theme.json file will disable most features of the plugin.

"_experimentalLayout": [
  {
    "name": "Narrow",
    "slug": "narrow",
    "icon": "M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z",
    "width": "400px",
    "textdomain": "tribe"
  },
  {
    "name": "Extra Wide",
    "slug": "extrawide",
    "icon": "M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z",
    "width": "1300px",
    "textdomain": "tribe"
  }
],

You are still able to define contentSize and wideSize within the layout attribute as normal, and they will populate in the new control created by the plugin. You can find the documentation for layout from core here.

"layout": {
  "contentSize": "652px",
  "wideSize": "883px"
},

Includes Array

The plugin also offers support for only include specific blocks from having custom alignment support via the _experimentalLayoutInclude array within theme.json.

"_experimentalLayoutInclude": [
  "core/group",
  "core/columns"
],

Excludes Array

The plugin also offers support for excluding specific blocks from having custom alignment support via the _experimentalLayoutExclude array within theme.json.

"_experimentalLayoutExclude": [
  "core/group",
  "core/columns"
],

Sorting Flag

The plugin offers a way to turn on a sorting feature. If the _experimentalLayoutSorting attribute is added to theme.json and set to true, the plugin will sort the final alignment controls array by the widths provided. With controls that do not have a defined width, appearing at the bottom of the list.

"_experimentalLayoutSorting": true,

Local Development

Since this is a small plugin, local development uses mostly Wordpress default build scripts via wp-scripts, with some overrides.

To get started:

  1. Clone the plugin / download the repo ZIP into your plugins folder within Wordpress.
  2. cd block-editor-custom-alignments
  3. composer install
  4. nvm use
  5. npm install
  6. npm run dev or npm run dist

The plugin also offers scripts for linting and formatting:

  • npm run lint will run formatting and linting on all PCSS & JS files.
  • npm run format will run wp-scripts format on all PCSS & JS files.
  • Linting is also available per language via their own respective commands:
    • npm run lint:css will return linting errors in your PCSS files.
    • npm run lint:css:fix will fix linting errors in your PCSS files.
    • npm run lint:js will return linting errors in your JS files.
    • npm run lint:js:fix will fix linting errors in your JS files.

Modern Tribe

Modern Tribe

Releases

13 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.1.3 latest
Apr 9, 2026 6mo ago
block-editor-custom-alignments.1.1.3.zip
198
Jul 16, 2025 1 year ago
block-editor-custom-alignments.1.1.1.zip
794
Jul 15, 2025 1 year ago
block-editor-custom-alignments.1.1.0.zip
3
Jul 15, 2025 1 year ago
block-editor-custom-alignments.1.0.8.zip
2
Aug 7, 2024 2 years ago
block-editor-custom-alignments.1.0.8.zip
4,968
May 2, 2024 2 years ago
block-editor-custom-alignments.1.0.7.zip
187
Jul 19, 2023 3 years ago
block-editor-custom-alignments.1.0.6.zip
4,187
Jun 6, 2023 3 years ago
block-editor-custom-alignments.1.0.5.zip
720
Jun 1, 2023 3 years ago
block-editor-custom-alignments.1.0.4.zip
28
May 16, 2023 3 years ago
block-editor-custom-alignments.1.0.3.zip
58
May 11, 2023 3 years ago
block-editor-custom-alignments.1.0.2.zip
26
May 9, 2023 3 years ago
block-editor-custom-alignments.1.0.0.zip
13
May 3, 2023 3 years ago
block-editor-custom-alignments.1.0.0.zip
3

Active-site estimate ≈190 comes from the median of recent superseded releases. Method.

A grade

Security

Block Editor Custom Alignments 1.1.3 · audited by WP Registry

No security issues found.

Audited release
1.1.3
Findings
none
Worst severity
—
Content hash
33d69dfad86ee082250b1683…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.