Unlayer Examples
Documentation

Legacy Template

If you are moving to Unlayer from a classic rich text editor, you can use classic mode and let your users manage legacy templates and designs.

unlayer.init({
  id: 'editor-container',
});

unlayer.loadDesign({
  html: '<div>This is a legacy HTML template.</div>',
  classic: true,
});

Preview

Here's a live preview of the classic mode for legacy HTML templates.