• Resolved chichi2015

    (@chichi2015)


    Hello!
    First, thanks for this great plugin.
    I heavily use the summary block in my site. However, there’s a small problem with the block.
    This block can be inserted into post and works well. But, the next time I reload the post to edit, this block always shows a notification “This block contains unexpected or invalid contents”. The developer console (chrome) shows an error “Block validation: Block validation failed for advgb/summary“:
    Expected:

    <ul class=”wp-block-advgb-summary advgb-toc alignnone”><li class=”toc-level-1″ style=”margin-left:20px”>A header goes here<li class=”toc-level-1″ style=”margin-left:20px”>A header goes here

    Actual:

    <div class=”wp-block-advgb-summary alignnone”><div class=”advgb-toc-header collapsed”>N?i dung</div><ul class=”advgb-toc alignnone” style=”display:none”><li class=”toc-level-1″ style=”margin-left:20px”>A header goes here<li class=”toc-level-1″ style=”margin-left:20px”>A header goes here</div>

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

    (@joomunited)

    Hi,

    Thanks for contacting us.
    We’ve identified the issue thanks to your report, we’ll include the fix in the upcoming version (today).

    Cheers,

    Thread Starter chichi2015

    (@chichi2015)

    Thank you very much! It fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Summary block error when reloading post’ is closed to new replies.