h5p / h5p-multi-choice

10 stars 97 forks source link

Use html widget for overall feedback field #62

Open chhch opened 5 years ago

chhch commented 5 years ago

User story:

For the overall feedback we often need more characters than the currently allowed 255. We would like to replace the text field with the HTML editor to make it easier for the authors to create appropriate feedback.

UX:

The other feedback fields use the HTML editor, only for the overall feedback a simple text field is used, see gif below. It would be more consistent to use the HTML editor there as well. In addition, the authors have more opportunities to provide meaningful feedback.

current-situation

Accessibility: Not relevant

Technical solution:

For the implementation I plan to add the HTML widget to the semantic.json and update the minor version.

bartonmike commented 3 years ago

@chhch , did you ever get this working? I made the edit in my semantics.json file in the drupal/sites/all/files/h5p/libraries/multchoice folder, but its not picking up the changes, not sure if there are any other caches i'm missing.

chhch commented 3 years ago

Hi @bartonmike, I think I had made a copy of the h5p-multi-choice element for testing. I named it something like h5p-multi-choice-html-widget and made the additional changes there. I used Drupal 7 in developer mode.

I believe changes in drupal/sites/all/files/h5p/libraries/multchoice would be overwritten the next time the H5P element was updated.

Hope this helps.