> For the complete documentation index, see [llms.txt](https://documentation.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ajaxsearchpro.com/getting-started/editor-blocks.md).

# 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](/getting-started/search-shortcodes.md), 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="/files/LCcT1QIEcHGhQpIh5OQs" alt=""><figcaption><p>Editor Blocks on the Post Editor Screen</p></figcaption></figure>

<figure><img src="/files/Dsj1LURngMNyu6eqiVIA" alt=""><figcaption><p>Search Shortcode in the Theme Customizer</p></figcaption></figure>
