LobeChatLobeHub
UI
Components
Chat
Mobile
Awesome
Brand
Mdx
Icons
Color
Changelog
Ctrl
K
Data Display
ChatItem
ChatList
TokenTag
Data Entry
ChatInputArea
EditableMessage
EditableMessageList
MessageInput
Feedback
MessageModal
Layout
ChatHeader
Navigation
BackBottom

EditableMessage

The EditableMessage component is used to display a message that can be edited by the user. It consists of a Markdown component and an optional modal for editing the message. When the user clicks on the message, it enters editing mode and displays an input field for editing the message.

import { EditableMessage } from '@lobehub/ui/chat';
NPM
UNPKG
BundlePhobia
PackagePhobia
Anvaka Graph
Source
Edit
Previous
ChatInputArea
Next
EditableMessageList

Resources

Lobe UI-AIGC Components
Lobe Icon-AI / LLM Icon Collection
Lobe Charts-Modern Charts
Lobe TTS-TTS / STT Library

Community

Report Bug
Request Feature

Help

GitHub
Changelog

More Products

🤯 Lobe Chat-AI / LLM Chat Framework
🧸 Lobe Vidol-Virtual Idols for EveryOne
🅰️ Lobe Theme-Stable Diffusion Extension
🌐 Lobe i18n-AI i18next CLI
Copyright © 2022-2025
Made with 🤯 by LobeHub
LobeHub

Default

APIs

NameDescriptionTypeDefault
classNames--{input?:string;markdown?:string;textarea?:string}--
editButtonSize--any--
editing--booleanfalse
fontSize--number--
fullFeaturedCodeBlock--boolean--
height--any--
inputType--any--
markdownProps--{}--
model--{extra?:any;footer?:any}--
onChange--(value:string)=>void--
onEditingChange--(editing:boolean)=>void--
onOpenChange--(open:boolean)=>void--
openModal--booleanfalse
placeholder--string--
showEditWhenEmpty--booleanfalse
styles--{input?:object;markdown?:object}--
text--any--
value--string(required)