mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #17250] [CLOSED] UPD: Unified_use_hightlight.js #40001
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/17250
Author: @rgaricano
Created: 9/6/2025
Status: ❌ Closed
Base:
dev← Head:UPD-Unified_use_hightlight.js📝 Commits (10+)
c0e1539Create HighlightJSExtension.js1ef1bffUPD-Unified_use_hightlight.js1db2523UPD-Unified_use_hightlight.jsbd9761eUPD-Unified_use_hightlight.js0c87fbcUpdate package.jsond7f1c75Update CodeEditor.svelte8a2dfaeUpdate HighlightJSExtension.jsad577c1Update package-lock.json48888c1Update RichTextInput.svelte71eaa2brefac/enh: commands ui📊 Changes
8 files changed (+544 additions, -596 deletions)
View changed files
📝
package-lock.json(+351 -547)📝
package.json(+0 -5)📝
src/lib/components/chat/Messages/CodeBlock.svelte(+1 -1)📝
src/lib/components/common/CodeEditor.svelte(+9 -39)➕
src/lib/components/common/HighlightJSExtension.js(+81 -0)📝
src/lib/components/common/RichTextInput.svelte(+35 -3)➕
src/lib/utils/highlightLanguageLoader.js(+66 -0)📝
src/lib/utils/index.ts(+1 -1)📄 Description
UPD: Unifying the duplicate highlight.js usage to reduce bundle size.
Changelog Entry
Description
Changed
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.