# directus-extension-unlayer

Unlayer email editor for Directus 10.

**Copy below policies and paste it inside **.env** file.**

```sh
CONTENT_SECURITY_POLICY_DIRECTIVES__SCRIPT_SRC_ELEM="'self' http://editor.unlayer.com"
CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC="http://editor.unlayer.com"
```

You'll find the extension inside section **Other**

![screenshot-1](https://raw.githubusercontent.com/RakDc0d3R/directus-extension-unlayer/main/screenshot-extension.png)

![screenshot-2](https://raw.githubusercontent.com/RakDc0d3R/directus-extension-unlayer/main/screenshot-extension-sample.png)

## Install

```sh
npm install directus-extension-unlayer
```
or

```sh
yarn add directus-extension-unlayer
```

Restart Directus