Skip to content

Managing Tools

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.

Tools

You can also add custom tools for your application.


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 a 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
    }
  }
});