mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[PR #14938] [CLOSED] fix: Add more to stores #39282
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/14938
Author: @silentoplayz
Created: 6/12/2025
Status: ❌ Closed
Base:
dev← Head:HTMLToken-error-fix📝 Commits (3)
094e5a2fix: Add Iframe Sandbox Allow Optionsd080fb7fix: Add collapseCodeBlocks and expandDetailsfbea759fix: update📊 Changes
2 files changed (+53 additions, -5 deletions)
View changed files
📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+13 -1)📝
src/lib/stores/index.ts(+40 -4)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Pull Request Checklist
Changelog Entry
Description
Property 'iframeSandboxAllowForms' does not exist on type 'Settings'.error by introducing new configuration options for iframe sandbox attributes within user settings. It also improves type safety for the emoji shortcodes conversion.Added
iframeSandboxAllowFormsandiframeSandboxAllowSameOriginoptional properties to theSettingstype, allowing for more granular control over iframe sandbox attributes used in components likeHTMLToken.svelte.Changed
shortCodesToEmojiswritable store'sreducemethod by adding explicit type annotations (Record<string, string>).chatDirectionproperty in theSettingstype from required to optional, providing more flexibility for its presence in user settings.Fixed
Property 'iframeSandboxAllowForms' does not exist on type 'Settings'.error observed insrc\lib\components\chat\Messages\Markdown\HTMLToken.svelteby addingiframeSandboxAllowFormsandiframeSandboxAllowSameOriginto theSettingstype.Security
Additional Information
src\lib\components\chat\Messages\Markdown\HTMLToken.svelteContributor 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.