Bugs in content types

Report and discuss bugs related to specific H5P content types

Code Viewer Cut-Off Issue in Interactive Book: Seeking Solution for 'CodeHighlighter' Integration

I am creating an interactive book, and during the creation, I realized I needed a code viewer. I did some research and found the "CodeHighlighter" library. I managed to integrate it into my book; however, when I insert certain lines of code, the code viewer gets cut off, showing only the first and half of the second line. It is not possible to view the entire code. I also noticed that this happens when you access the book for the first time or reload the page. But if you click on another chapter of the book and then come back to the same chapter, the code is displayed completely.

H5P file could not be opened

Hi,

my H5P file can't be opened since yesterday. Other files still work great. I read that this problem can happen when a large file is closed before it is completly saved. That probably happened to my file, too. Is there a way to restore it? I worked on it for months and sadly I didn't make a copy :(.

Thank you for your help!

Pages