mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
Feature: Advanced chat message box text editor and sent messages bubbles #1427
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?
Originally created by @narmaku on GitHub (Jul 3, 2024).
Is your feature request related to a problem? Please describe.
Nope.
Describe the solution you'd like
Similar to Github and other platforms, where you can write your text as plain text, or as rich text, formatted usually using markdown syntax, which is at the same time generally compatible with the LLM models. This would allow not only to visualize/preview the message in a very well structured way before sending it (and avoid using external editor for proper formatting), but also it will look nice in the chat history and when exporting to PDF, etc,
Describe alternatives you've considered
No real alternative, when I write in markdown syntax it still looks ugly in the chat history (it only affect the messages I send, because the LLM responses are properly formatted, so we should do the same for user's sent messages).
Additional context
Maybe as a first step/MVP, we could just add a "Preview" tab to visualize the markdown formatting before sending the message, and it should also be formatted in the chat bubble of the sent message. That could be the minimum. In future iterations we could add some buttons to apply the formatting such as it is in other apps (e.g. Github, JIRA, etc.).