Skip to content

Comments

nrw3 - Full HTML render of the question from Render route WIP#1685

Open
EJMFarrow wants to merge 4 commits intodevfrom
nrw3-2
Open

nrw3 - Full HTML render of the question from Render route WIP#1685
EJMFarrow wants to merge 4 commits intodevfrom
nrw3-2

Conversation

@EJMFarrow
Copy link
Collaborator

  • Add option for a fullRender field in the request containing an array consisting of a string prefix for validation divs and a string prefix for feedback divs e.g. ['validationprefix','feedbackprefix']
  • If fullRender is present, response questionrender and questionsamplesolutiontext will be the full HTML render of the question with the inputs inserted in the correct place, full plot URLs, placeholders replaced with HTML and iframes included. Iframes will still need to be registered on the front end to be displayed properly. (stackjsvle.js->register_iframe() using the first array entry for each iframe in the response as the iframeid.)

Is this what is required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant