Gutenberg – some HTML code I add to the Custom HTML block disappears…

[ad_1]

I have a custom HTML block that I added code to – this code appears fine.

I then

Add a gallery block

Change to code editor

Cut the code for the gallery

Switch back to visual editor

Paste the gallery code into Custom HTML block

It appears fine, but sometimes disappears (the gallery code, not the original code I typed in) and I think it does so when I switch between code and visual editor – can anyone tell me why this is happening and how I can fix it?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer