RichTextEditor registers duplicate Link and Underline extensions

In @heroui-pro/[email protected], RichTextEditor registers Link and Underline twice: once through Tiptap StarterKit and again as explicitly configured extensions. First observed in beta.8; still reproducible in beta.10. Beta.9 was not tested separately.

Reproduction: Mount RichTextEditor with its default extensions. The issue occurs both with and without the optional Markdown extension.

Actual: Tiptap reports duplicate extension names. Inspecting editor.extensionManager.extensions shows multiple link and underline entries.

Expected: Each extension is registered exactly once.

Verified workaround: Disable StarterKit’s copies using link: false and underline: false, retaining Pro’s explicitly configured extensions.

Our unchanged regression tests fail against the unpatched package and pass with this correction.

Environment: HeroUI Pro beta.10, HeroUI OSS 3.2.6, React 19.2.8.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

🐛 Bug Reports

Date

About 3 hours ago

Author

Tim Wickstrom

Subscribe to request

Get notified by email when there are changes.