• wordpress 5.4.2
    “This block contains unexpected or invalid content”
    RowBlock HTML output has “two” class attribute

    
    <!-- wp:ultimate-bootstrap-blocks/block-row -->
    <div class="row " class="wp-block-ultimate-bootstrap-blocks-block-row">
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author GutenbergLab

    (@gutenberglab)

    Hello @featflex

    Which version are you using?

    We have just released v1.2. Please update and check if it works….

    Thread Starter featflex

    (@featflex)

    I was using 1.1.2. When I upgrade to 1.2, there is a breaking change. block-column(1.1.2) –> block-columns(1.2)

    **v1.2 still has this issue.**

    I have checked the js code and I guess the following line is not good.

    return wp.element.createElement("div",{class:"row "+e.attributes....

    class may not be a proper attribute. I think the following should work:

    return wp.element.createElement("div",{className:"row "+e.attributes....

    Plugin Author GutenbergLab

    (@gutenberglab)

    The row block was updated with custom classes and row classes. The latest update has everything you would need for row block. This is the final release for the row element unless bootstrap changes anything. I have a solution to your problem. Let me create a video for it.

    • This reply was modified 4 years, 8 months ago by GutenbergLab.
    Thread Starter featflex

    (@featflex)

    The error hint only shows up with WordPress 5.4.2.

    I believe that the row block has all the functions that it should have.

    But as you can see, the output of a row block is not a valid piece of html, so I think there must be something wrong with the save(output) method.

    Plugin Author GutenbergLab

    (@gutenberglab)

    Updated block with the following fixes.

    = Updates V1.2.2 =
    -Fixed row block
    -Removed grid classes from editor.css

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Something wrong with RowBlock’ is closed to new replies.