Fill in the Blanks

Customising fill-in-the-gap markup output

So, can anyone please tell me how I can customize the HTML markup for the fill-in-the-blank plugin?

I'm using H5P for the first time and I need some help please.

I would like to identify each textfield generated by the fill-in-the-blank plugin by adding a unique ID for each one. Right now, only the h5p-text-input class is available on all the textfields.
My plan is to use the ID in an ajax callback to retrieve selectable options for each textfield.

And ....

Adding Authorization header to ajax calls?

Forums: 

Hello All.

A page with a 'Fill in the Blanks' content-type is trying to POST to 'saveResult' on the server.  My server's REST API requires an Authorization header to be included in order to process the request.

Can anyone tell me where I can hook into the ajax call to add to the header?

Thanks!

Corey.

Pages