From c1516282cd299718f3642eae6b69253efe558bb7 Mon Sep 17 00:00:00 2001 From: cir2100 Date: Thu, 27 Nov 2025 13:35:30 +0300 Subject: [PATCH] Add support property `preview_url` to `div-gif-image` commit_hash:6b6c11f8d279426bfc447f13b9c27f4cdc20aecf --- schema/div-gif-image.json | 5 +++++ schema/translations.json | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/schema/div-gif-image.json b/schema/div-gif-image.json index bc836c37a..b7abe5d89 100644 --- a/schema/div-gif-image.json +++ b/schema/div-gif-image.json @@ -21,6 +21,11 @@ "enum": [ "gif" ] + }, + "preview_url": { + "$ref": "common.json#/url", + "$description": "translations.json#/div_gif_image_preview_url", + "platforms": [] } } } diff --git a/schema/translations.json b/schema/translations.json index 1afcef7cc..8d9104b21 100644 --- a/schema/translations.json +++ b/schema/translations.json @@ -1167,6 +1167,10 @@ "en": "Gif image.", "ru": "Gif-изображение." }, + "div_gif_image_preview_url": { + "en": "Direct URL to an image for loading preview. When both `preview` and `preview_url` are used, `preview` will be used.", + "ru": "Прямая ссылка на изображение для загрузки превью. При одновременном использовании `preview` и `preview_url` будет использоваться `preview`." + }, "div_gradient_background": { "en": "Gradient background.", "ru": "Градиентный фон."