Why does the editor toolbar need an additional toolbar-item-start-group class

Why does the editor toolbar need an additional toolbar-item-start-group class, This looks weird

Buttons that do similar things are grouped together. A new group starts with minimal more distance. So groups can be distinguished from each other.

Every toolbar system has the possibility to include separators for button groups. eg: H1, H2, H3 - Is a group for headings.

The first group is text formatting and linking. It’s the group for most basic TW wikitext functions for plain text. … and so on

1 Like


I saw something similar on GitHub, but the style is more intuitive

2 Likes

Hi @oeyoews I’d be happy to adopt the GitHub styling, it looks good.


In fact, since the order can be changed, there may be situations where they are no longer in the same group.

IMO this class act like a seperator for editor toolbar groups rather than a group for containg editor toolbar buttons.

1 Like