mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #17715] [MERGED] Revert "feat: Dynamically load CodeEditor.svelte to improve first-screen loading speed (-1MB)" #63379
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/17715
Author: @ShirasawaSama
Created: 9/24/2025
Status: ✅ Merged
Merged: 9/24/2025
Merged by: @tjbck
Base:
dev← Head:revert-17498-patch-19📝 Commits (1)
6614c73Revert "feat: Dynamically load CodeEditor.svelte to improve first-screen loading speed (-1MB)"📊 Changes
3 files changed (+42 additions, -45 deletions)
View changed files
📝
src/lib/components/admin/Functions/FunctionEditor.svelte(+15 -16)📝
src/lib/components/chat/Messages/CodeBlock.svelte(+12 -13)📝
src/lib/components/workspace/Tools/ToolkitEditor.svelte(+15 -16)📄 Description
Reverts open-webui/open-webui#17498
fix #17684
I tried alternative approaches to fix this issue, but they would introduce a significant amount of extra code (since the Markdown component is used in too many places).
Personally, I find this unnecessary and believe it unnecessarily increases code complexity. Therefore, I'm reverting this change.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.