Media

TwebBlockMedia

{ name*, size, onSelect, customUrl, attributes*, setAttributes* }
/**
 * @param {string} name - Attribute name.
 * @param {string} [size] - Size of the image, e.g., 'thumbnail', 'medium', 'large'.
 * @param {function} [onSelect] - Callback called when a media item is selected.
 * @param {function} [customUrl] - Add a custom media URL button.
 * @param {object} attributes - Object containing block attributes.
 * @param {function} setAttributes - Function to set new block attribute values.
 */

TwebBlockMedia.Content

{ value* }

Last updated

Was this helpful?