openlab-at-city-tech / webworkqa

WeBWorK integration for WordPress and BuddyPress
GNU General Public License v2.0
4 stars 2 forks source link

"Main" problem differs slightly from embedded version #50

Closed moui72 closed 7 years ago

moui72 commented 7 years ago

This is a minor issue.

Questions that have a drop-down field for the response entry are rendered differently at the top of a question detail page vs. when embedded within a question.

Main problem renders the dropdown. dropdown-mainprob

Embedded problem renders just the options in sequence as text. dropdown-embeddedprob

The spacing in embedded problems is also somewhat compressed.

ww: http://mathww.citytech.cuny.edu/webwork2/WW-Dev/GraphingSineCosine/4/?key=5rw1HOb7lGIWjUhj1zZT1dwWhlINvYL2&user=student2&effectiveUser=student2 ol: http://openlabdev.org/webwork-playground/#/problem/local/GraphingSineCosine/function-graphing.pg

boonebgorges commented 7 years ago

Ah, I didn't have select and option on the markup whitelist for problem text. They've been added. Ready to test - make sure you test with a new question, as anything already saved in the database will already have had these tags stripped.

moui72 commented 7 years ago

I can't find any other questions with a dropdown.

@drdrew42 confirm/deny?

drdrew42 commented 7 years ago

This may be the only one in the sets I've loaded into WW-Dev. Let me double-check.

drdrew42 commented 7 years ago

I've added a fifth problem to the GraphingSineCosine set - it also uses dropdown and has a different pathID.

moui72 commented 7 years ago

Thanks!

On Thu, Sep 29, 2016, 4:10 PM drdrew42 notifications@github.com wrote:

I've added a fifth problem to the GraphingSineCosine set - it also uses dropdown and has a different pathID.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/livinglab/webwork-for-wordpress/issues/50#issuecomment-250577231, or mute the thread https://github.com/notifications/unsubscribe-auth/ADtKPIVW5-9AjmaIDuCYnhwSFBBgHWwZks5qvBtBgaJpZM4KJJPx .

moui72 commented 7 years ago

the dropdown is now rendered as a dropdown in embedded problems.

I noticed something else in checking this but I will make a new issue

dd-ok