This feature allows users to insert emojis directly into their content using the text editor, adding a fun and expressive element to emails, pages, and other designs. Emojis can enhance communication by conveying emotion or emphasis in a simple, visual way.

Enable or Disable

By default, the emoji feature is enabled, but you can choose to disable or enable it using the unlayer.init() method within the textEditor configuration.

unlayer.init({
  features: {
    textEditor: {
      emojis: true  // Enable emoji support in the text editor
    }
  }
});

Setting emojis: true allows users to access the emoji picker within the text editor and insert emojis into their content.


Best Practices

  • Context-Appropriate Use: Emojis can add a fun and engaging element to content, but it’s important to consider the context and audience.
  • Cross-Platform Compatibility: While emojis are widely supported across devices and platforms, some email clients or devices may not render all emojis correctly.