Lets allow using a WYSIWYG editor when editing question fields for Matching type question.

WYSIWYG obviously cannot be used for the answer fields because they are used as options in a select field. Rich text would however work fine with the question field.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

juho-jaakkola’s picture

juho-jaakkola’s picture

Issue summary: View changes
juho-jaakkola’s picture

This would basically fix also https://drupal.org/node/1409942

juho-jaakkola’s picture

Changes to the patch:
- Text format now has a valid default value (plain_text)
- Rebased on newer Quiz version (2656c5b3bf6072f8fed31d6571cba113df6cef30)

djdevin’s picture

Version: 7.x-4.x-dev » 7.x-5.x-dev
Component: Code - matching » Code - Quiz core
joelpittet’s picture

I've rerolled this for 5.x but to simplify I didn't nest the value I just added a 'question_format' key, smaller patch and hopefully less that can go wrong.

joelpittet’s picture

Apparently that was needed or it throws nasty db_insert errors for mismatched args.

Status: Needs review » Needs work

The last submitted patch, 7: 2205393-8-html-editor-matching-question.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.