Grey Field in WP-Plugin

Hello,

I use the wp-plugin. The problem is that above my h5p-moduls in the frontend a little grey field is set. I have viewed the source code but I haven't found the reason for that little grey field.

Here some examples:

https://byte42.de/schul-angebote/online-aktionstag-internet/persoenlichk...

another example is here:

https://medienpatch.de/fuer-schule/medienscouts-ausbildung/beratung-juuu...

I attached a screenshot with an arrow on that problem.

I hope anyone have an idea to get this grey field away.

Thnx for your ideas,

Jens

otacke's picture

Hi, Jens!

What you're experiencing is not H5P, but an empty "code" field that seems to have been put into the HTML of your WordPress page. I assume you copied the shortcode and pasted it including the formatting. You only really need to type [h5p id="yxz"] where yxz is the id of the content, or use Ctrl-Shift-v to paste text without formatting.

Either way, delete that "code" element from your post, and the problem is solved.

Best,
Oliver

Thnx Oliver for your answer.

I copy and paste the shortcode [h5p id="yxz"] on the site.

the result is:

<!-- wp:paragraph -->
<p><code>[h5p id="14"]</code></p>
<!-- /wp:paragraph -->

I delete <p><code></code></p>. Then in the code editor is:

<!-- wp:paragraph -->
[h5p id="14"]
<!-- /wp:paragraph -->

And it works. Thnx a lot.

But btw: the gamemap-modul is great.

Thnx Jens

otacke's picture

That's what I meant, yes. Thumbs up!