CoursePresentation only render the first two slide

When I'm using CoursePresentation I been notice this, H5P only prerender the first two slide in dom (pic1) therefor if I using Mathtype, Latex... it will only apply in the first two slide (pic2) and other slide doesn't (pic3). I did some research and findout that this problem have been there for awhile (https://h5p.org/node/778316 since 2020) 

So does anyone else face this problem? Any solution or workaround?

 

Attachments: 
Content types: 
otacke's picture

Hi!

Not exactly sure if I am interpreting this correctly, but both your images (pic2 and pic3) show LaTeX being rendered just fine, don't they?

Best,
Oliver

Hi, so sorry to reply this late.

Pic2 is fine but, pic3 is missing () and [ ], all questions and answers in pic2 and pic3 have same value.

I already found the way to workaround this problem but not sure it the best solution. I using mutationObserver to watch inside the wrapper element, when ever inside that element change, I remove and add a script tag contain WIRISplugins that help render missing () and [ ]

otacke's picture

I think it would help if you shared the content and/or the LaTeX that you used.