Advanced Gutenberg version: 2.4.1
WordPress version: 5.5
After upgrading to WordPress 5.5 a table that is an Advanced Gutenberg table and frequently modified became uneditable. Other Advanced Gutenberg tables on the page could be edited.
If the problematic table was followed by another table, they were grouped together as one block and only the second table cells could be changed. If a paragraph was after the problem table, the table appeared as part of the paragraph block and only the paragraph could be edited.
Ran page through w3 code validator without issue. Checked html code and saw no issue.
While experimenting an example minimal code to recreate the table issue is:
<!-- wp:advgb/table {"changed":true,"align":"left"} -->
<table class="wp-block-advgb-table alignleft advgb-table-frontend"><tbody><tr><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000">TEST 1</td></tr></tbody></table>
<!-- /wp:advgb/table -->
<!-- wp:paragraph -->
<p>Test 2</p>
<!-- /wp:paragraph -->
To remove the issue I found changing the html code of the problem table to the following fixes the issue (Changing from left align to centre align fixed the issue):
<!-- wp:advgb/table {"changed":true,"align":"center"} -->
<table class="wp-block-advgb-table aligncenter advgb-table-frontend"><tbody><tr><td style="border-top-color:#000;border-right-color:#000;border-bottom-color:#000;border-left-color:#000">TEST 1</td></tr></tbody></table>
<!-- /wp:advgb/table -->
While editing the page in wp-admin, developer tools console is reporting errors: reloading editor by Advanced Gutenberg plugin (anonymous) @ editor.jsx:79
and then going on to report all the core blocks are already registered
blocks.min.js Block “core/paragraph” is already registered.
…
`
-
This reply was modified 4 years, 7 months ago by
okrogerthat.