I have searched the existing issues and discussions.
Problem Description
It would be useful to have a download function for code blocks. Instead of manually creating and naming files and then copy and pasting the text one could just click "download" and have the file available. This would be especially useful when you are creating or editing multiple files in batches.
Right now there is a download button in the upper right when you open the artifacts UI but this is no general solution that work for all code blocks.
It was added with these commits: https://github.com/open-webui/open-webui/pull/13829/commits
Desired Solution you'd like
A button like in the artifacts UI could be added next to the "Preview"/"Save"/"Copy"-buttons in the chat area.
(That "Save"-button is not for downloading.)
Alternatives Considered
The artifacts UI could be enabled for all file types but a download button which is directly available would be a cleaner and more convenient solution.
Additional Context
No response
Originally created by @c0008 on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17122
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
It would be useful to have a download function for code blocks. Instead of manually creating and naming files and then copy and pasting the text one could just click "download" and have the file available. This would be especially useful when you are creating or editing multiple files in batches.
Right now there is a download button in the upper right when you open the artifacts UI but this is no general solution that work for all code blocks.
It was added with these commits:
https://github.com/open-webui/open-webui/pull/13829/commits
### Desired Solution you'd like
A button like in the artifacts UI could be added next to the "Preview"/"Save"/"Copy"-buttons in the chat area.
(That "Save"-button is not for downloading.)
<img width="2686" height="1034" alt="Image" src="https://github.com/user-attachments/assets/11d6b234-c767-49f9-8ef3-3dd83b4e8933" />
### Alternatives Considered
The artifacts UI could be enabled for all file types but a download button which is directly available would be a cleaner and more convenient solution.
### Additional Context
_No response_
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @c0008 on GitHub (Sep 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17122
Check Existing Issues
Problem Description
It would be useful to have a download function for code blocks. Instead of manually creating and naming files and then copy and pasting the text one could just click "download" and have the file available. This would be especially useful when you are creating or editing multiple files in batches.
Right now there is a download button in the upper right when you open the artifacts UI but this is no general solution that work for all code blocks.
It was added with these commits:
https://github.com/open-webui/open-webui/pull/13829/commits
Desired Solution you'd like
A button like in the artifacts UI could be added next to the "Preview"/"Save"/"Copy"-buttons in the chat area.
(That "Save"-button is not for downloading.)
Alternatives Considered
The artifacts UI could be enabled for all file types but a download button which is directly available would be a cleaner and more convenient solution.
Additional Context
No response