Skip to main content
Language

Configure Text Design

VideoEditor SDK supports several configuration options for the TextDesignToolController allowing flexible adaptation to different needs and use cases. For a detailed explanation of how to configure different editor views, refer to this guide.

emojisEnabled#

By default, the editor allows adding emojis as text input. It is important to note that since emojis are not cross-platform compatible using the serialization feature to share edits across different platforms will result in emojis being rendered with the system's local set of emojis and therefore will appear differently. For this example emoji input is disabled to ensure a consistent cross-platform experience.

colorPalette#

The default color palette can be configured passing a ColorPalette object to the colorPalette property containing an array of colors you want to make available.

allowedTextDesignOverlayActions#

Configuring the TextDesignOptionsToolController allows changing the way users can interact with the text designs that have been placed on a video. The actions users can perform are configured via the allowedTextDesignOverlayActions property. In our example, we remove the options to undo (.undo) and redo (.redo) changes.