Unlayer Documentation

Unlayer Documentation

Welcome to Unlayer Documentation. It takes less than 5 minutes to get our editor up and running on your project.

These guides will take you through the process and get you up and running.

Get Started    Changelog

Tools are content items that users can drag into their email or landing page to add content. Tools can work work in email mode, web page mode, or both modes.

Enable / Disable Tools

You can choose which tools to enable or disable for the Unlayer editor instance. This can be done in the unlayer.init method.

Here's some examples...

Disable Image Tool

unlayer.init({
  tools: {
    image: {
      enabled: false
    }
  }
});

Disable Custom Tool

Replace SLUG with the slug of your custom tool.

unlayer.init({
  tools: {
    'custom#SLUG': {
      enabled: false
    }
  }
});

Reposition Tools

You can reposition tools to appear before or after other tools.

unlayer.init({
  tools: {
    image: {
      position: 1
    }
  }
});

What's Next

Custom Tools

Tools


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.