Okay
  Public Ticket #2203339
Bug: "Classic" block after reload > Invalid Content
Closed

Comments

  • forceWERK started the conversation

    Hi there,

    there seems to be a bug with the "Classic" block. Every time I add this block in order to copy/paste some paragraphs from an external source, I publish the site and the paragraphs are being shown. However, when I go back to edit the page the block says "this block contains unexpected or invalid content" (event though there might just be a single word in it, nothing else). (screenshot attached)

    The paragraph block as an alternative is just horrendous, because it makes a new block for every single paragraph you copy/paste into it. Absolute useless. I don't know what the WordPress developers were thinking...

    Do you know a third party plugin which provides the functionality of a classic text editor, which actually works?

    Thans a lot!

    Michael

  •  1,973
    Support replied

    Hello Michael

    We chose Gutenberg because it stores all blocks settings inline in the html content therefore is suitable for ajax page transitions.

    Regarding the classic block make sure you have a valid content there, we did not have any problems so far with it. or use CustomHTML block from Formatting category.

    https://wp-tutoring.com/adding-html-to-gutenberg-wordpress-5-0/

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • forceWERK replied

    Hi there, thanks for your reply. I've figured out what was causing the problem: The Font Awesome tag I am using.

    For instance:
    <i class="fas fa-info-circle"></i>

    Every other time I update/save the folio item, the closing </i> tag gets either automatically deleted by WordPress or it goes randomly somewhere else within the block. Both is messing up the proper syntax obviously and causing the problems.

    I found a workaround, fingers crossed: <i class="fas fa-info-circle"> </i>

    As soon as there is something within the tag, WordPress doesn't seem to cause this issue anymore.

    Thought I let you.

    Thanks again!
    Michael

  •  1,973
    Support replied

    hmm, good to know indeed

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy