-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Description
Description
I just gave the changes to the UI for nested entries in 4.8.0 a try and frankly, I really don't like the UI rework. There are multiple AX issues:
- Showing just the entry type icon is not sufficient. For many blocks, there isn't a perfect icon, but we still want to use one for consistency. Only showing the titles on mouse-over (with a noticeable delay) is not enough. There is no other context where the icons are displayed without the title, so the icons were never picked to work stand-alone, but always as a visual aid in addition to the title.
- Having colours in the otherwise grayscale CKEditor toolbar doesn't look good, the colors feel out of place. If you use multiple colors, you get a christmas tree in the toolbar, which is distracting.
- The toolbar becomes much longer if you have a bunch of blocks, causing it to overflow. Especially in the live preview, most buttons are moved into the overflow menu. The previous dropdown UI didn't take nearly as much space. Selecting a block is important, but not more important than the paragraph format dropdown. I shouldn't have to choose to hide either of those in an overflow menu. It also looks weird to have two overflow menus next to each other, or two nested overflow menus:
- The overflow concept only makes sense from a developer perspective, but not from a user perspective. Moving blocks out of the explicitly defined order and separating them arbitrarily based on whether they have an icon doesn't make sense. From an author perspective, why are some blocks in an overflow menu and others not?
Expected behavior
I would like to either see the above issues addressed by default, or get some options to customize the UI:
- Some way to use either toolbar icons or a dropdown as in the previous version. Some ideas for this:
- Add a toggle to switch between the new icon UI and the old dropdown UI, or have both available in the CKEditor toolbar configuration to choose from.
- Allow me to manually assign entry types to either the toolbar or the overflow menu. If an entry type without an icon is placed in the toolbar, display the title instead of the icon.
- Add an option to use entry types colors, or keep the buttons in greyscale.
I'm posting this as a bug, not a feature request, because for many of my projects this is a regression that will cause major AX issues. In my opinion, this UI rework shouldn't have been introduced in a minor release without providing any option to retain the old behaviour, or some options to customize the layout.
Additional info
- CKEditor version: 4.8.0
- Craft version: 5.7.4
- PHP version: 8.3
mmikkel, d-karstens and joelod
