-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hello, I have this problem where if I install the h5p-question-set library using the appropriate commands mentioned in the readme, the CSS vars get broken or missing:


Taking a look at the dev console shows that the CSS root variables are missing.

To recreate this bug, simply install using h5p core then h5p setup h5p-question-set, and create a question set content.
I have installed the h5p core libraries.
I also notice that the version of h5p multiple choice library on WordPress is more outdated compared to installing it using this h5p toolkit:
Multi choice version in this toolkit:

Multi choice version on WordPress:

I also notice that the implementation code is slightly different as well, comparing those two.
Installing h5p core libraries then copy and pasting the h5p question set library along with its dependencies from WordPress uploads/h5p/libraries folder (skipping the h5p setup h5p-question-set command), fixes the issue, as the older version (WordPress version) does not use CSS vars.
But breaks (infinite loading) when trying to upload the packed .h5p library onto WordPress.