fix: profile can not edit
This commit is contained in:
parent
558b8499af
commit
1a31fa9067
@ -77,7 +77,7 @@ export const EditorViewer = (props: Props) => {
|
||||
<Dialog open={open} onClose={onClose}>
|
||||
<DialogTitle>{t("Edit File")}</DialogTitle>
|
||||
|
||||
<DialogContent sx={{ width: 520, pb: 1 }}>
|
||||
<DialogContent sx={{ width: 520, pb: 1, userSelect: "text" }}>
|
||||
<div style={{ width: "100%", height: "420px" }} ref={editorRef} />
|
||||
</DialogContent>
|
||||
|
||||
|
@ -86,7 +86,7 @@ export const InfoViewer = (props: Props) => {
|
||||
<Dialog open={open} onClose={onClose}>
|
||||
<DialogTitle sx={{ pb: 0.5 }}>{t("Edit Info")}</DialogTitle>
|
||||
|
||||
<DialogContent sx={{ width: 336, pb: 1 }}>
|
||||
<DialogContent sx={{ width: 336, pb: 1, userSelect: "text" }}>
|
||||
<TextField
|
||||
{...textFieldProps}
|
||||
disabled
|
||||
|
Loading…
x
Reference in New Issue
Block a user