Move "uploading image" message inside editor toolbar
This commit is contained in:
parent
ad46a60c4f
commit
8d72a9104a
|
@ -181,13 +181,17 @@ export function TextEditor(props: {
|
|||
<span className="sr-only">Embed an iframe</span>
|
||||
</button>
|
||||
</div>
|
||||
{upload.isLoading && (
|
||||
<span className="text-xs">Uploading image...</span>
|
||||
)}
|
||||
{upload.isError && (
|
||||
<span className="text-error text-xs">
|
||||
Error uploading image :(
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{upload.isLoading && <span className="text-xs">Uploading image...</span>}
|
||||
{upload.isError && (
|
||||
<span className="text-error text-xs">Error uploading image :(</span>
|
||||
)}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user