Problem/Motivation

Sometimes it is necessary that a long answer question contain something like an image or rich text. This isn't possible right now as the rubric and user answer are plain text only.

Proposed resolution

Make both of these fields use filtered text support.

Remaining tasks

Add filtered text support for the rubric field.
Add filtered text support for the answer field.
Add plain/filtered toggle for each long answer question.
Set existing formats to plaintext.

User interface changes

Filtered format option when allowed.

API changes

None

Data model changes

New "rubric_format" and "answer_format" columns.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

djdevin created an issue. See original summary.

djdevin’s picture

Status: Active » Needs review
FileSize
3.59 KB

Status: Needs review » Needs work

The last submitted patch, 2: add_filtered_text-2770159-2-wip.patch, failed testing.

djdevin’s picture

Status: Needs work » Needs review
FileSize
6 KB

Status: Needs review » Needs work

The last submitted patch, 4: add_filtered_text-2770159-4.patch, failed testing.

djdevin’s picture

Status: Needs work » Needs review
FileSize
7.72 KB

Status: Needs review » Needs work

The last submitted patch, 6: add_filtered_text-2770159-6.patch, failed testing.

djdevin’s picture

Status: Needs work » Needs review
FileSize
11.7 KB
djdevin’s picture

FileSize
11.8 KB
djdevin’s picture

Component: Code - Quiz core » Code - Short/long answer
Status: Needs review » Fixed

  • djdevin committed 2018aa3 on 7.x-5.x
    Issue #2770159 by djdevin: Add filtered text support to long answer...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.