Simon-Initiative / course-digest

Tool to produce a summary or digest of OLI course package contents
MIT License
2 stars 0 forks source link

[Bugfix] Use textarea instead of text for short answer #170

Closed marc-hughes closed 1 year ago

marc-hughes commented 1 year ago

Converts the short_answer inputs from using a text input to a textarea input by default on import.

Before: image

After: image

As far as I can tell, they're always supposed to be a texarea. I couldn't find a way of specifying it inside echo, and didn't see anything in the DTD to suggest there was an option for different input types. I'm not 100% confident in that conclusion.

Note: the button text is different in torus, so we'll have to edit the lessons to refer to the correct wording.

Fixes https://github.com/Simon-Initiative/oli-torus/issues/3638