mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #21200] fix: Duplicate tiptap extension names in RichTextInput.svelte #19414
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Crag-Monkey on GitHub (Feb 5, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21200
Description
The browser console shows warnings about duplicate tiptap extension names:
Root Cause
RichTextInput.svelteimports bothStarterKitfrom@tiptap/starter-kitand extensions from@tiptap/extension-list. SinceStarterKitalready includescodeBlock,bulletList,listItem, andorderedList, these extensions are registered twice.Suggested Fix
When using
StarterKit, disable the built-in extensions that are being added separately:Or alternatively, remove the duplicate imports from
ListKitifStarterKit's versions are sufficient.Environment
Related Issues
This warning has been mentioned in several other issues:
However, none of these issues specifically track fixing the duplicate extension registration.