Sunday, December 1, 2019
1 change · master
Enhancements to existing features
The website editor’s left-side options panel was reworked to use reusable controls such as buttons, checkboxes, inputs, and color pickers. This makes it easier to add richer editing options in future and lets users configure styling and content attributes more consistently without custom development for each option.
Original PR description
This is a first step towards more complex behaviors in the left panel and more possibilities with standard XML options. The main goal is to use widgets for internal option components (checkbox, button, input, colorpicker, ...) as a way to receive a value for an option method (selectClass, selectStyle, ...) while the two parts of this system were both handled by the option before. For example, now, a developer can say: "I want a colorpicker to style the border-color of this elements" or "I want the combination of two inputs to be set as a data-example of this element" without writing any JS. See sub-commits for details. In preparation of task-2122935