# Settings

## Edit in Modal

Allows you to open a detachable code window permitting you to detach your code window from the Block Inspector and move it around the page as you wish.&#x20;

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FsYVN4UU3WrD5MUU4qaWG%2Fflying%20window%20code%20block.jpg?alt=media&#x26;token=a0f586fe-187c-4160-9058-0cb545452ef9" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
This does not affect the other code windows.
{% endhint %}

## Open

* Select a code block.
* Navigate to the Primary tab of the Block Inspector.
* Find code window to detach (PHP, CSS and JS).
* Click "Edit in Modal" icon to open mobile window.
* Drag  Modal to desired position.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FBewlpHQ4KASiTjz0MWrz%2Fopen%20code%20block.jpg?alt=media&#x26;token=ba260484-10f6-4dec-879e-b4ce30633945" alt=""><figcaption></figcaption></figure>

## Close

* Find Edit in Modal window you want to close.
* Click "**X"** to close.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F9FVsVmPDRhzYqcuzW2td%2Fclose%20code%20block.jpg?alt=media&#x26;token=6f9cae47-9f90-4602-ba02-84fbea1e5378" alt=""><figcaption></figcaption></figure>

## Word Wrap

The word-wrap property allows long words to be broken and wrap onto the next line.

* Select a code block.
* Navigate to the Primary tab of the Block Inspector.
* Find input code to Word Wrap (PHP, CSS and JS).
* Click Word Wrap icon to word wrap the code.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F0QHXWHpZPhcdwYwjIV2I%2Fword%20wrap.jpg?alt=media&#x26;token=d689c7f5-c710-46cf-bbfa-74c5213132ba" alt=""><figcaption></figcaption></figure>

## Beautify

The beautify property helps you to format and indent your language source code to make it look more attractive and easier to read.

* Select a code block.
* Navigate to the Primary tab of the Block Inspector.
* Find input code to beatify (PHP, CSS and JS).
* Click Beautify icon to beautify code.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F4HfktrNIKES2YEC5XQtB%2Fbeautify%20code%20block.jpg?alt=media&#x26;token=fafa18d7-6864-4df9-8cf1-3cf3b9f7a0e9" alt=""><figcaption></figcaption></figure>

## Re-render

The re-render property allows you to refresh your code.

{% hint style="info" %}
This is only required for PHP.
{% endhint %}

* Select a code block.
* Navigate to the Primary tab of the Block Inspector.
* Find PHP input code to re-render.
* Click Re-render icon to refresh the code.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FgBiIIBdJCQzoYHVN5W0t%2Fre%20render.jpg?alt=media&#x26;token=3adb27a4-afcb-44f8-9b2c-22e8e2be3abf" alt=""><figcaption></figcaption></figure>

## Show on Editor

Allows you to show on the Editor exactly what you are coding. It can be toggled on or off.

* Select a code block.
* Navigate to the Primary tab of the Block Inspector.
* Find the Show on Editor property.
* Toggle as required.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FunGTo5AOqYXyRzvh69cB%2Fshow%20on%20editor.jpg?alt=media&#x26;token=ae5e56fa-6c4e-4e22-9fad-68c5c41548ab" alt=""><figcaption></figcaption></figure>

## Prevent Clicks

Allows you to prevent the code from being altered.

* Select a code block.
* Navigate to the Primary tab of the Block Inspector.
* Find the Prevent Clicks property.
* Toggle as required.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2Fe10OXMxuNL6a4qF7BQdM%2Fprevent%20clicks.jpg?alt=media&#x26;token=60c29ec5-2927-4aa9-8fbc-b3f896074e16" alt=""><figcaption></figcaption></figure>
