mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #22762] [CLOSED] feat: use rich text editor for knowledge file editing #65707
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/22762
Author: @Classic298
Created: 3/17/2026
Status: ❌ Closed
Base:
dev← Head:feat/knowledge-rich-text-editor📝 Commits (3)
09cb1b3feat: use rich text editor for knowledge file editingb65accafeat: use rich text editor for knowledge file editing2ff86d8feat: use rich text editor for knowledge file editing📊 Changes
2 files changed (+23 additions, -13 deletions)
View changed files
📝
src/lib/components/common/RichTextInput.svelte(+3 -5)📝
src/lib/components/workspace/Knowledge/KnowledgeBase.svelte(+20 -8)📄 Description
Use Rich Text Editor for Knowledge File Editing
Problem
There is an inconsistency in the Knowledge workspace: creating new text content via the "Add Text Content" modal offers a full WYSIWYG editing experience (TipTap-based RichTextInput with formatting toolbar, headings, bold, lists, code blocks, etc.), while editing existing files is limited to a plain, unstyled textarea. Since all knowledge file content is stored as text regardless of the original file type, there is no reason for the editing experience to differ from the creation experience.
Changes
KnowledgeBase.svelte
RichTextInput.svelte (bug fix)
How it works
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.