Support SVG upload in other widgets as well

Created on 24 July 2023, over 1 year ago
Updated 26 July 2023, over 1 year ago

Problem/Motivation

This module overrides core's default image widget with one that supports the upload of SVG images, by simply adding the svg extension to the list of supported extensions provided by the default image factory.

While this is totally correct, widgets provided by other modules (e.g., the Crop and Focal Point modules) still don't support SVG images.

Proposed resolution

Instead of adding the extension to the list directly in the widget, provide a custom image factory, which is used by other widgets as well.

Remaining tasks

Review. Commit.

Feature request
Status

Closed: won't fix

Version

3.0

Component

User interface

Created by

🇩🇪Germany mrshowerman Munich

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024