From 82095c9fab264706a03d104126d4a83ea0798568 Mon Sep 17 00:00:00 2001 From: "Rich @ enzedonline" <72310199+enzedonline@users.noreply.github.com> Date: Wed, 31 Jul 2024 02:24:57 +0200 Subject: [PATCH] Update Image to support title attribute --- packages/quill/src/formats/image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/quill/src/formats/image.ts b/packages/quill/src/formats/image.ts index e68f56a0b3..39f51f20cf 100644 --- a/packages/quill/src/formats/image.ts +++ b/packages/quill/src/formats/image.ts @@ -1,7 +1,7 @@ import { EmbedBlot } from 'parchment'; import { sanitize } from './link.js'; -const ATTRIBUTES = ['alt', 'height', 'width']; +const ATTRIBUTES = ['alt', 'title', 'height', 'width']; class Image extends EmbedBlot { static blotName = 'image';