Tagged: Code block, Layout Builder
Hi, we have encountered problem with Code Block in Layout Builder. HTML code inside the Code Block disappeared from frontend pages. It stays in admin part. We’ve resolved the issue by copying the HTML code to Text Block. Why is this happening? How can we prevent this behavior?
Martin
Hi Martin!
Thank you for contacting us!
Please make sure that your HTML tags are opened and closed properly.
If you would like us to look into it, please post your code here using http://pastebin.com/
Regards,
Yigit
This is the code. http://pastebin.com/nmF1AZHq
I don’t think it is due to unclosed tags. the code worked for 2 months in CODE BLOCK and suddenly stopped work? And it works again in TEXT BLOCK? I don’t see the point. Could it be related to hosting somehow?
Martin
Hi,
It’s very difficult to say, did someone change anything in the code? Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
…same problem.
But if I place a text-block above – the code inside the Code Block appears!