1. Test and fix problems with Moodle 3.2 - ref: https://h5p.org/node/38304
1.1. Theme problem
The implemented solution does not work when changing the theme to e.g. "clean". It seems the theme is responsible for rendering the DOM as well, not only styling.
Created a new commit, where the old solution is used for all themes, except Boost, which bugged out (as we remember). The Boost theme now gets a html-field rendered as a single element, inside a group, with a label.
Note that the group field, with the html field inside doesn't work for all other themes, so it can't be a replacement for all themes.
There also isn't any markup rendered anymore by our code.
Still seen:
H5P file upload is shown always (i.e. also if "create" is selected)
Updated form javascript to be able to hide HFP file upload in this commit.
Created new selectors that is tested and works in Moodle 2.7, 3.1 and 3.2, for themes:
boost
clean
more