Skip to main content
You're viewing documentation for a previous version of this software.Switch to the latest stable version
PESDK/Web/Concepts

Controls

Since version 3.5.0 of ReactUI you can force users to use certain controls before using all other editor functions. In order to do that, you need to pass the editor.forceControls option which contains an array of objects in the following format:

{
control: "control-identifier", // e.g. crop, filter, adjustments
options: {
key: "value" // This object should contain options for the given control
}
}