Skip to content

Add display text image support #196

@kirsty-hames

Description

@kirsty-hames

Subject of the issue/enhancement/features

I've had this come up on numerous projects in the past and have also gone about implementing this in various ways but I think there is a frequent need to include images within component display text. Common in content for systems training or subjects with hands on equipment etc.

I've raised this for MCQ but I also have the need to support this in Textinput too. Potentially this could be a useful additional to support in components globally rather than a per plugin basis? For instance, you could have an accordion which includes a diagram, then each item of the accordion looks at the sections of the diagram etc.

Expected behaviour

See example below (excuse the placeholder content). From a content perspective, I'd expect a user to read the question (body), look at the image for the answer, read the instruction text then select an option and submit. For this reason, the image would need to be inserted between the body and instruction.
mcq_with_image_support_example

Please give a thumbs up if you would find this a useful additional or add any comments below. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions