Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

Creating a main menu with createButton(), adds a margin to the grid. Why?

Forums: 

Hi,

I'm new at coding in H5P, and I'm trying to make my own modifications of H5P-FindTheWords in order to understand its code better. 

I'm facing this issue, and I don't know how to fix it... I'm using createButton() function in order to create a main menu, but as soon as I click on Start Game, a margin is added between the grid and the button:

Missing dependency H5P.Timer 0.4 required by H5P.FindTheWords 1.4.

Forums: 

Hi!

I'm trying to run FindTheWords example on development Drupal mode, because I need to understand its code and learn how to make modifications, but when I add it to my Drupal page, I get those errors: https://i.imgur.com/9wdmrHG.png

These are the steps I've done:

Pages