-
aleksanderk
Hello, I was working on an article and I use the “Edit as HTML” option for certain paragraphs. It was working fine until it just wasn’t anymore, and now I get “This block has encountered an error and cannot be previewed.” every time I try to do so. I tried restarting the browser as well making sure that everything is up to date, but no luck. How can I find out what is exactly causing this?
-
Hi there,
if you’re editing a Blocks HTML then you’re most likely going to cause breakages.
The Block HTML gets validated and if it doesn’t match the block saved in the database then WP will throw it out.What are you changing in the paragraphs HTML ?
-
aleksanderk
Adjusting links to appear as blue hyperlinks, since the global color is different, but seems like I solved the issue by simply not selecting any text and just selecting the whole thing by clicking on the outside. For some reason, the block crashes every time I select the text specifically but not when being selected outside of it.
-
OK just be careful not to break things 🙂
Glad to hear you got it working
- You must be logged in to reply to this topic.