Documentation Tool

It would be useful if the Documentation Tool retained the user input, so that it can be completed or edited over a number of sessions.

0
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
thomasmars's picture

Indeed, this would be very useful! :)

This could be implemented using save content user state. It is possible to see how this is implemented in other content types such as Multiple Choice or Fill in the Blanks. The current data is saved by returning it through the getCurrentState function, and loaded as part of the third parameter to the constructor (contentData.previousState). Unfortunately there are no documentation for this yet, to my knowledge. Any contribution to the implementation and/or documentation here is greatly appreciated!