Tiptap RTE: Anchor extension + toolbar item#18575
Merged
iOvergaard merged 10 commits intov15/devfrom Mar 10, 2025
Merged
Conversation
it was intended for the Character Map feature.
iOvergaard
reviewed
Mar 6, 2025
Contributor
iOvergaard
left a comment
There was a problem hiding this comment.
Looks good, just highlighted a couple of localization needs.
src/Umbraco.Web.UI.Client/src/packages/tiptap/components/anchor-modal/anchor-modal.element.ts
Outdated
Show resolved
Hide resolved
src/Umbraco.Web.UI.Client/src/packages/tiptap/extensions/manifests.ts
Outdated
Show resolved
Hide resolved
Member
Author
|
@iOvergaard Thank you for the feedback. I've added the localizations and scoped the Anchor modal token + alias to be within the Tiptap package. |
iOvergaard
approved these changes
Mar 10, 2025
This was referenced Sep 28, 2025
This was referenced Oct 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the Anchor extension + toolbar button + modal to Tiptap RTE, for inserting/editing anchor points, (e.g.
<a id="hash"></a>) in the contents.Another step towards feature parity with TinyMCE RTE.
The Anchor extension has been enabled in the default Rich Text Essentials bundle extension, e.g. it's always available,even if the toolbar item is not added.
How to test?
If using the mock data, then go to the "All RTEs" page and see how it works. If using the server, then configure the Tiptap RTE to add the "Anchor" toolbar button, then try it out on a document.