Skip to content

Conversation

NguyenThuyLan
Copy link
Contributor

Prerequisites

  • I have added steps to test this contribution in the description below

If there's an existing issue for this PR then this fixes

Description

This PR fixes the issue #19571

Recording.2025-08-13.154711.mp4

I used the Umbraco Sorter controller for drag and drop Tiptap toolbar buttons.

@nielslyngsoe
Copy link
Member

Hi @NguyenThuyLan Looks good, I skimmed the code it, very good with the refactoring into a new group component 👏

Still need a proper review, @leekelleher will have a look at that :-)

@nielslyngsoe nielslyngsoe removed their request for review August 25, 2025 10:15
@leekelleher leekelleher changed the title V16/fix bug/tiptap toolbar sorter Tiptap RTE: Toolbar configuration sorter Aug 26, 2025
- Renamed "toolbar-item-click" event to "remove", to show intent
- Reordered the method names alphabetically
- Renamed `value` to `items`, to show intent
- Removed `toolbarValue`, as not required
- Added `data-mark` for menu/styleMenu buttons
@leekelleher leekelleher enabled auto-merge (squash) August 26, 2025 13:04
Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super, thanks @NguyenThuyLan! 🚀

I've tested it out and it works great.

I have made some tweaks to the code, renamed a few things for consistency and intent.

Great work! 💪

@leekelleher leekelleher merged commit ae8411e into main Aug 26, 2025
27 checks passed
@leekelleher leekelleher deleted the v16/fix-bug/tiptap-toolbar-sorter branch August 26, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TipTap toolbar button switch position if only dragging a few pixels
4 participants