Skip to content

Conversation

@i-just
Copy link
Contributor

@i-just i-just commented Apr 30, 2025

Description

When the CKEditor field is configured to allow adding nested entries, any entry types that have icons show dedicated buttons with “New ” tooltips. If there are any remaining entry types without icons, a simplified “+” button is shown, without a label and with a default tooltip of “Add nested content”, which can be overwritten in the field’s settings, via the same field that was used for the label.

CKEditor field settings:
Screenshot 2025-04-30 at 15 29 07

CKEditor config:
Screenshot 2025-04-30 at 15 29 30

Entry type with icon and colour:
Screenshot 2025-04-30 at 15 31 52

Button for entry types without icons:
Screenshot 2025-04-30 at 15 31 41

Button for entry types without icons - expanded:
Screenshot 2025-04-30 at 15 32 05

Targetting v4, but switching it to target v5, if needed, will take a few moments.

Related issues

cms-2001

@i-just i-just requested a review from brandonkelly as a code owner April 30, 2025 14:47
@linear
Copy link

linear bot commented Apr 30, 2025

@brandonkelly brandonkelly merged commit 8e72c97 into 4.x Apr 30, 2025
6 checks passed
@brandonkelly brandonkelly deleted the feature/pt-2001-replace-new-entry-menu-with-dedicated-entry-type-buttons branch April 30, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants