Configure Text Design
PhotoEditor SDK supports several configuration options for the
TextDesignToolPanel allowing flexible adaptation to different needs and use cases.
Set available colors#
The default color palette provides multiple colors. For this example, we only provide a small selection of colors.
Set allowed actions#
quickOptionList contains all the actions that users can perform on a text design. It also contains
SpaceItems that are used to space out the actions. In our example, we remove the last three elements of the list, thus removing the undo and redo actions essentially.