Hello at Kriesi,
I have a problem with the code block element. After pasting code into it parts of the code are deleted when saving the page. It gets <p> and more tags which where not there before.
I have tried it with the text block element with no results.
Can you help?
Regards
Hello,
I have found a solution by adding the code to a widget and add this to the page layout.
Despite that it would be interesting to know why the ALB is editing the code.
Best Regards
Hi,
Thanks for your question and your login, I’m glad that you fould a solution but when I login to your site on the pages that you linked to I don’t see a code block, I imagine this is due to you finding a solution using the widgets, but when I check your widgets I’m not sure which one is the issue.
Please create a test page with the code block and link to it with a screenshot, to add a screenshot please try using an Screenshot service and pasting the image URL in your post.
Then link to a version of the same page without the code block using your solution so we can investigate and see your issue.
Best regards,
Mike
Hi Mike,
I dont know why, but now it works even in the code block. If you are interested I have pasted you the information in the private section.
Best
Hi,
Glad to hear this is working for you, I tested your code on my test site and it also worked for me, so I was unable to recreate the p tag, and I’m not sure what would cause this.
Unless there is anything else we can assist with on this issue, shall we close this then?
Best regards,
Mike
Thanks Mike, you can close the topic.
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike