Skip to content

Commit 82d85f7

Browse files
authored
Merge pull request #8020 from gitbutlerapp/text-editor-improvements
more little fixes
2 parents b96f673 + 78f1c89 commit 82d85f7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/desktop/src/components/v3/CommitMessageInput.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
onChange={(text: string) => {
8484
descriptionText.current = text;
8585
}}
86+
enableFileUpload
8687
/>
8788
</div>
8889
<EditorFooter {onCancel}>

apps/desktop/src/components/v3/editor/MessageEditor.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164
class="message-editor"
165165
onmouseenter={() => (isEditorHovered = true)}
166166
onmouseleave={() => (isEditorHovered = false)}
167+
onclick={() => {
168+
composer?.focus();
169+
}}
167170
>
168171
<RichTextEditor
169172
styleContext="client-editor"

0 commit comments

Comments
 (0)