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

User Saved Blocks

Your users can save their own blocks and reuse them when designing content in your application. When a user saves their own block, it's only visible to them and nobody else.


Saving a Block

Users can save their blocks by clicking the save button at the bottom right of a selected row.

Once they click save, they will be asked a Category Name and optional Tags. This helps organize the blocks and make them searchable.


Enable Feature

You can enable user saved blocks by passing a user object with the unique user id. The user object must have a unique user id for the user who is using the editor. You can also pass a name and email optionally.

The save button for blocks will automatically appear once a unique user id is available.

unlayer.init({
  user: {
    id: 1,
    name: 'John Doe',
    email: 'john.doe@acme.com'
  }
})

User Saved Blocks


Suggested Edits are limited on API Reference Pages

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