Preserve QPowerPoint image hyperlinks in PPTX

This commit is contained in:
Курнат Андрей
2026-06-02 06:17:58 +03:00
parent 0a675236b3
commit e5727b4484
6 changed files with 165 additions and 8 deletions
+12
View File
@@ -658,6 +658,18 @@ export function QPowerPoint({ deck, onChange }: QPowerPointProps) {
/>
</label>
</div>
<label className="office-field office-field-wide">
<span>
<Link size={14} />
Ссылка изображения
</span>
<input
value={selectedImage.hyperlink ?? ""}
aria-label="Ссылка изображения слайда"
placeholder="https://example.com"
onChange={(event) => updateSelectedImage({ hyperlink: event.target.value || undefined })}
/>
</label>
<button className="compact-command danger-command" type="button" onClick={deleteSelectedImage}>
<Trash2 size={16} />
Удалить изображение