# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.ajaxsearchpro.com/getting-started/editor-blocks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
