# Editor Blocks

Ajax Search Pro features customizable editor blocks for more convenient usage within the theme customizer as well as the post editor. It supports all block themes and it's probably the most convenient way to add the search to the website.

Similarly to the [search shortcodes](https://documentation.ajaxsearchpro.com/getting-started/search-shortcodes), you can set the search ID as well as the block type on the editor screen.

### Attributes

* **Type** - The block type: Search Bar, Search Results or Search settings
* **Search ID** - The search instance

<figure><img src="https://1706764988-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L9jkFgNo4lpUof35gvS%2Fuploads%2FsSaYXDKs6vzdJ3xtW1mJ%2Fimage.png?alt=media&#x26;token=b42e44fa-dc95-41da-96ff-d5cd49e4bec8" alt=""><figcaption><p>Editor Blocks on the Post Editor Screen</p></figcaption></figure>

<figure><img src="https://1706764988-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L9jkFgNo4lpUof35gvS%2Fuploads%2FMDNbnCuLki4FGwBgu8a4%2Fimage.png?alt=media&#x26;token=cdfbf5fd-eaff-4031-8643-197da07a8c73" alt=""><figcaption><p>Search Shortcode in the Theme Customizer</p></figcaption></figure>
