avatar
UI
Components
Changelog
LobeHub UI
Antd Components
Lucide Icons
CSSinJS
Ctrl
K
Chat
ChatInputArea
ChatItem
EditableMessage
Data Display
Card
ChatMarkdown
CollapseGroup
Descriptions
Highlighter
JsonViewer
LogViewer
ProCard
RichTextEditor
Status
Table
Tree
Data Entry
CodeEditor
Form
Mentions
MonacoEditor
SelectCard
SliderInput
Feedback
Alert
DragPanel
Drawer
Modal
Notification
General
Breadcrumb
Typography
WaveformIcon
Layout
Divider
Page
Navigation
ButtonGroup
Dropdown
Theme
ConfigProvider
Logo
TTS
useSpeechSynthes
Utils
FormHelper

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 '@yuntijs/ui';
NPM
UNPKG
BundlePhobia
PackagePhobia
Anvaka Graph
Source
Edit
Previous
ChatItem
Next
Card

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-2026
Made with ☁️ by YuntiJS
LobeHub

Default

APIs

NameDescriptionTypeDefault
classNames--{input?:string;markdown?:string;textarea?:string}--
editButtonSize--"small"|"middle"|"large"--
editing--booleanfalse
fontSize--number--
fullFeaturedCodeBlock--boolean--
height--string|number--
variant--"outlined"|"borderless"|"filled"--
model--{extra?:ReactNode;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--{cancel?:string;confirm?:string;edit?:string;title?:string}--
value--string(required)
markdownProps--{}--

Customize Markdown Components

Customize Anchor Behavior

This is an example inline link.

http://example.com/

思考中...

这个请求适合创建一个新的SVG卡片artifact

Customize Hr


Customize Image Display