minor
minor
defect
(User-visible)
Buttons (such as the one used to configure the layout) can be made to look different when active. To do this, you can configure a different image or use a CSS class.
If the layout is reconfigured, the CSS class used to indicate the active state is no longer output.
Improvement
The calculation of the CSS classes for the `tl:ToggleCommandHandler` can also be called outside of its ` handleCommand()` method (e.g., via the `tl:ComponentCommandModel`). To enable this, the `tl:BoundCommand` now also supports CSS classes. Furthermore, CSS classes can be configured on the `tl:CommandHandler`.
Test
- Start demo.
- Clickthe Design Mode button.
- Change the order of the tabs.
-> Expected behavior: The Design Mode button retains its appearance, or the corresponding CSS class is output.