# Manage a Block

After [adding a block](/editor/edit-blocks/add-a-block.md), manage it according to the assigned [roles / permissions](/workspace/set-a-workspace.md).

{% hint style="success" %}
Click on the block either in the editor or at the **Section block list** to select it.
{% endhint %}

## Move a Block

<figure><img src="/files/zez46AjBNlmr7crH3DTf" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Use arrows to move a block up or down the current position.
{% endstep %}

{% step %}
Use **Section block list** tab to [drag the blocks](/editor/work-in-the-editor.md#move-between-blocks).
{% endstep %}
{% endstepper %}

## Clone a Block

<figure><img src="/files/rkn2FKMRMLZa2tm0Ab78" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Click the **Clone block** icon.

The block copy will appear below the original block.
{% endstep %}
{% endstepper %}

## Delete a Block

<figure><img src="/files/2qG1ylZoZzSGuKNiVdC3" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Click the **Delete** icon.
{% endstep %}
{% endstepper %}

## Restore a Block

<figure><img src="/files/5W1XNuiaONYn1AQqGJ7C" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and and click on the basket at the right bottom corner.

A pop-up window will appear.

<figure><img src="/files/zCeClOj6L3wSptRJxEyZ" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select one or more blocks.
{% endstep %}

{% step %}
Click the **Add** button.

The restored block(s) will appear at the bottom of the editor.
{% endstep %}
{% endstepper %}

## Replace a Block with Another Template

<figure><img src="/files/PgncEA74F4HTiVwM4ZF9" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Click the **Replace template** icon.

A pop-up window will appear.

<figure><img src="/files/cjYGGLax40AmBU37UuK7" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select a new block.

Navigate in the same way as when [adding a block](/editor/edit-blocks/add-a-block.md).
{% endstep %}

{% step %}
Click the **Replace** button.
{% endstep %}
{% endstepper %}

## Save a Block as a Template

<figure><img src="/files/CsnBHxniYvwaCBQXSdXc" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Select **Save as template**.

A pop-up window will appear.

<figure><img src="/files/UQYRctL331SfJEn3KlSk" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Set a name for a template.
{% endstep %}

{% step %}
Set a template location.

Select a template collection folder to save a new template.
{% endstep %}

{% step %}
Set a one or more group names to logically separate templates within the collection.
{% endstep %}

{% step %}
Click the **Save** button.

You can find the saved template at the **Collections** tab.
{% endstep %}
{% endstepper %}

## Lock Block Editing

Make a block non-editable. Locked blocks are still available for viewing, but not changing.

Non-editable blocks are **unable to delete / change settings**, but **available for moving / saving as a template / duplicating / copying to another project**. Duplicated / copied sections will be editable.

<figure><img src="/files/zGHIWWTCbR3W3E7Jw46F" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Click the **Block settings** icon.

A pop-up window will appear.
{% endstep %}

{% step %}
Click **Yes** next to the **Lock editing** setting.

A lock icon will appear at the block upper right corner at the **Section block list** menu.\
\
The changes will be saved automatically.
{% endstep %}
{% endstepper %}

## Exclude a Block from Export

Hide blocks that are not relevant to certain users. Excluded materials won't appear in export or preview.

<figure><img src="/files/VpmnvcuPA737US64hYB3" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Click the **Block settings** icon.

A pop-up window will appear.
{% endstep %}

{% step %}
Click **No** next to the **Export setting**.

The changes will be saved automatically.
{% endstep %}
{% endstepper %}

## Exclude a Block from Required

Make a block unnecessary to complete the course.

<figure><img src="/files/esV6NAZU3JpD7tBFOLVk" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Click the **Block settings** icon.

A pop-up window will appear.
{% endstep %}

{% step %}
Click **No** next to the **Required block** setting.

The changes will be saved automatically.
{% endstep %}
{% endstepper %}

## Manage Block History

Switch between different versions of a block to cancel the non-relevant changes.

<figure><img src="/files/sa7r3RSNvG99iEyemyCT" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Click the **Block settings** icon.

A pop-up window will appear.
{% endstep %}

{% step %}
Click **Block history**.

A pop-up window will appear.

<figure><img src="/files/U3BlPVUTJF0nWGdlimWl" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the version of the block made by the specified user.

Click through block versions to view or restore them.
{% endstep %}

{% step %}
Click the **Apply** button to save the changes.
{% endstep %}
{% endstepper %}

## Copy a Block to Another Section

<figure><img src="/files/FQ8pVB4wTZAQ8aglChNb" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and select a block.
{% endstep %}

{% step %}
Click the **Block settings** icon.

A pop-up window will appear.
{% endstep %}

{% step %}
Select **Copy to another section**.

A pop-up window will appear.

<figure><img src="/files/Lzixs6vrWwnCmO8Q4gSC" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select a section to insert a copied section.

The selected section will appear.

The block copy will appear at the bottom of the opened section.
{% endstep %}
{% endstepper %}

## Perform Bulk Actions

[Save as a template](#save-a-block-as-a-template), [lock editing](#lock-block-editing), [exclude from export](#exclude-a-block-from-export), [duplicate](#clone-a-block), [copy to another section](#copy-a-block-to-another-section) or [delete](#delete-a-block) multiple blocks at once.

<figure><img src="/files/BJsKN6DGK4BvzsqnHC83" alt=""><figcaption></figcaption></figure>

{% stepper %}
{% step %}
[Open an editor](/editor/work-in-the-editor.md) and go to the **Section block list** tab.
{% endstep %}

{% step %}
Select multiple blocks:

* Press and hold **Shift** key and click on the several blocks to select them, including all blocks in between;
* Press and hold **Ctrl** (or **Cmd** on Apple devices) and click on the blocks to select them randomly.

A pop-up window will appear.
{% endstep %}

{% step %}
Select the required action from the action menu.

Actions for multiple blocks work the same as actions for a single block.
{% endstep %}
{% endstepper %}


---

# 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://help.parta.io/editor/edit-blocks/manage-a-block.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.
