mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Blocks: tune edit
This commit is contained in:
+1
-1
@@ -274,7 +274,7 @@ export function DocAttachmentFragmentEditor(props: {
|
||||
setEditedText={props.setEditedText}
|
||||
onSubmit={handleEditApply}
|
||||
onEscapePressed={handleToggleEdit}
|
||||
endDecorator={editedText ? 'Shift+Enter to save · Escape to cancel' : 'No changes. · Escape to cancel'}
|
||||
endDecorator={editedText ? 'Shift+Enter to save · Escape to cancel.' : 'No changes · Escape to cancel.'}
|
||||
/>
|
||||
) : (
|
||||
// Document viewer, including the collapse/expand state inside
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ export function ContentFragmentsWithInlineEdit(props: {
|
||||
setEditedText={props.setEditedText}
|
||||
onSubmit={props.onEditsApply}
|
||||
onEscapePressed={props.onEditsCancel}
|
||||
endDecorator='Shift+Enter to save · Ctrl+Shift+Enter to restart · Escape to cancel'
|
||||
endDecorator='Shift+Enter to save · Ctrl+Shift+Enter to restart · Escape to cancel.'
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -13,7 +13,8 @@ const textAreaSlotPropsEnter = {
|
||||
endDecorator: {
|
||||
sx: {
|
||||
fontSize: 'xs',
|
||||
pl: 0.25,
|
||||
pl: 0.5,
|
||||
mt: 1.5,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user