fix(MarkdownEditor): correct image upload status message to use proper HTML entity for apostrophe
This commit is contained in:
@@ -287,6 +287,7 @@ const createMarkdownComponents = (
|
|||||||
src?: string;
|
src?: string;
|
||||||
alt?: string;
|
alt?: string;
|
||||||
} & Record<string, unknown>) => (
|
} & Record<string, unknown>) => (
|
||||||
|
// eslint-disable-next-line @next/next/no-img-element
|
||||||
<img
|
<img
|
||||||
src={typeof src === 'string' ? src : undefined}
|
src={typeof src === 'string' ? src : undefined}
|
||||||
alt={alt || ''}
|
alt={alt || ''}
|
||||||
@@ -919,7 +920,7 @@ export function MarkdownEditor({
|
|||||||
{isUploadingImage && (
|
{isUploadingImage && (
|
||||||
<div className="absolute inset-0 bg-[var(--card)]/80 backdrop-blur-sm flex items-center justify-center z-10">
|
<div className="absolute inset-0 bg-[var(--card)]/80 backdrop-blur-sm flex items-center justify-center z-10">
|
||||||
<div className="text-sm text-[var(--foreground)]">
|
<div className="text-sm text-[var(--foreground)]">
|
||||||
Upload de l'image en cours...
|
Upload de l'image en cours...
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user