Detail
Detail
Bugfix
(User-visible)
Buttons (like the one to configure the layout) have the possibility to look different in active state. For this purpose, a different image can be configured or a CSS class can be used.
If the layout is reconfigured, the CSS class to indicate the active state is no longer written out.
Improvement
The calculation of the CSS classes of the tl:ToggleCommandHandler can also be called outside of its handleCommand() method (e.g. by the tl:ComponentCommandModel). To realize this, the tl:BoundCommand now also knows CSS classes. Furthermore, CSS classes can be configured at the tl:CommandHandler.
Test
- Start demo.
- Pressdesign mode button.
- Change the order of the tabs.
-> Expectation: The design mode button keeps its appearance or the corresponding CSS class is written out.