Create interactive content like this with the free H5P plugin for:

Description

Reduce the amount of text presented to readers by using this responsive accordion. Readers decide which headlines to take a closer look at by expanding the title. Excellent for providing an overview with optional in-depth explanations.

Thanks, Tim. As a short-term fix, we have a Drupal H5P Editor patch that adds the CKEditor Source Dialog plugin to the allowable options in the text-editing widget, so that images hosted elsewhere could be included through the HTML. (Our patch also adds the Block Quote option because we would like to use it on the project we're currently using Accordion for.)

Given you are supporting this across multiple platforms, is it appropriate to submit the patch through the Drupal issue queue? If not, where? Do you think the project would be amenable to an Advanced Text library patch that enables these new HTML options? We would love to have these options on our Accordions while still working within the standard H5P library, rather than branching off.

I think we would need a more general solution that would work for all plugins, unfortunately. I understand that it makes your solution very brittle as you'll have to keep your branch very close to the standard H5P branch. The Core Team is balancing two competing goals: trying to add as many features as possible and also keeping all the implementations uniform and as stable as possible.

This is a general solution available to all libraries using the HTML text widget. I have a h5peditor-html.js patch I could contribute that adds blockquote and sourcedialog. (FYI, there is code in h5peditor-html.js for blockquote, but the blockquote ckeditor plugin is not installed. The same is true for img.)

The 2nd part is updating AdvancedText, used by Accordian, to use the tags. If there is no desire to update AdvancedText we can work around this using H5P's hook_semantics_alter in Drupal.

You should be able to achieve this without modifying the plugin code by using the "hooks" provided by H5P. These hooks can be implemented in a custom mods module or a custom theme so that you don't have to maintain and apply a patch every time the H5P module is updated. See more information on the documentation guide Authoring Tool Customization.

Being able to insert images would be really helpful for this one. The other thing that would be really helpful for the text editor would be super script and subscript. I hadn't noticed until today how many of the text editors in the interactives are different.

Still making good use of the accordian, but will be using a few work arounds until the next updates.

Also several platforms that H5P currently does not support, but that soon will be supported through H5P.com. H5P.com will also integrate third party software to offer support for large videos, math, analytics and storing results in the LMSs.