mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
fix: restore image upload (#11803)
This commit is contained in:
@@ -757,7 +757,7 @@ function SuggestionsMenu<T extends MenuItem>(props: Props<T>) {
|
||||
const fileInput = uploadFile && (
|
||||
<VisuallyHidden.Root>
|
||||
<label>
|
||||
<Trans>Import document</Trans>
|
||||
<Trans>Upload file</Trans>
|
||||
<input
|
||||
type="file"
|
||||
ref={inputRef}
|
||||
@@ -977,9 +977,9 @@ function SuggestionsMenu<T extends MenuItem>(props: Props<T>) {
|
||||
) : (
|
||||
<List>{renderItems()}</List>
|
||||
)}
|
||||
{fileInput}
|
||||
</BouncyPopoverContent>
|
||||
</Popover>
|
||||
{fileInput}
|
||||
{submenu && itemRefs.current.get(submenu.index) && (
|
||||
<Popover open modal={false}>
|
||||
<PopoverAnchor
|
||||
|
||||
@@ -559,6 +559,7 @@
|
||||
"Mention": "Mention",
|
||||
"Embed": "Embed",
|
||||
"Not supported": "Not supported",
|
||||
"Upload file": "Upload file",
|
||||
"More options": "More options",
|
||||
"Rename": "Rename",
|
||||
"Insert after": "Insert after",
|
||||
|
||||
Reference in New Issue
Block a user