Skip to content

H5P Question Set Setup CSS Var Missing Bug #151

@michael1-0

Description

@michael1-0

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:
Image
Image

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

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:
Image

Multi choice version on WordPress:
Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions