Text editors have built-in action buttons that allow users to open a drop-down menu, increase, decrease, or nullify the value, and perform other actions. To add custom action buttons for different scenarios, use the buttons array.
Each object in the buttons array should have the name field—the button's identifier. In addition, specify the button's location relative to the input text field and options of the Button widget used as the action button.
The buttons array also accepts string values—the names of built-in buttons. Declare them in the order the buttons should have in the widget. String and object declarations can be used in the same array.