• Resolved adityajejurkar

    (@adityajejurkar)


    Hello There,
    I want to restrict a column that of course a part of a page by using the shortcode. I tried doing that in post using Gutenberg editor but it showed me this message.
    “This block contains unexpected or invalid content.”
    Let me what’s the exact step.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mark l chaves

    (@mlchaves)

    Hey @adityajejurkar,

    We’re sorry you’re getting that “invalid content” error. Let’s try to figure out what’s going on.

    That error message usually means there’s a syntax error in that block.

    Here’s what we can do:

    1) We can have a look at that block’s code if you want to copy/paste and email the text content that you’re using before you see that error.

    You can email it to us https://code-atlantic.com/contact/

    Please link back to this forum post in your message to save time.

    2) Or, you can try to troubleshoot by first doing a baseline test. Here’s how.

    In that same page, add a new shortcode block, then copy/paste example #2 in this gist.

    https://gist.github.com/marklchaves/230ba030334d9f3984cedd71e1dc9193#2-for-anyone-logged-in

    Hit preview. If you don’t get any errors, start adding the column content that was giving you trouble before. Try to add 1 piece of content at a time until you see the error message again (if you don’t see the error anymore, you’re done!).

    If you still see the error you should now know which content has the problem. If you need help analyzing that content, please post it here or via our contact form.

    Let us know how that goes 🙂

    Plugin Support mark l chaves

    (@mlchaves)

    Hey @adityajejurkar,

    We’re going to mark this thread as resolved since we haven’t heard back from you.

    Please feel free to start a new thread or submit a help request 🙂

    https://code-atlantic.com/contact/

    Have a great day!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Restrict a gutenberg column/block’ is closed to new replies.