-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add display text image support #196
Comments
It's a neat idea. I can see a few wild approaches.
|
|
Thanks @joe-replin and @oliverfoster for your comments above. I agree that point 2 would be desirable but there's some big concerns there over compatibility/usability to support AAT. Is it still worth looking at a simple approach for this, inlcuding image support in the core header.jsx?
I think this would be useful. Generally I find it's the order of text/image that is likely to move around but I noticed this PR for List to include a |
You looking at |
Perhaps it's time to move "_graphic": {
"_alignment": "full top",
...
} That way we could use it all over, where needed. |
I like the idea of using |
I think it's fine to have it just for body and image. Slightly confusing mind to refer as top/bottom. Top is not above title, bottom is not below widget. Top is instead above body and bottom is below body. Food for thought. |
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.
Please give a thumbs up if you would find this a useful additional or add any comments below. Thanks in advance.
The text was updated successfully, but these errors were encountered: