{"id":18107877,"date":"2024-10-31T17:02:37","date_gmt":"2024-10-31T17:02:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/data-table-empty-link\/"},"modified":"2024-10-31T17:02:37","modified_gmt":"2024-10-31T17:02:37","slug":"data-table-empty-link","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/data-table-empty-link\/","title":{"rendered":"Data Table empty link"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello, <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">since version 6.0.8 when using Data Table with content type: Textarea for the cell, when Link is empty, it creates an empty link &lt;a&gt;&lt;\/a&gt; in the code, causing styling issues (since its now treating this like a link) and validation errors. This was working as expected with version 6.0.7. Using content type: Editor works fine. <br \/><br \/>You can easily reproduce this, by just adding a widget Data Table with default prefilled fields. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the link field is empty, it should not create an empty anchor tag (<code>&lt;a &gt;&lt;\/a&gt;<\/code>). Should be as it was with <code>&lt;div class=\"td-content\"&gt;&lt;\/div&gt;<\/code><br \/><br \/><a href=\"https:\/\/imgur.com\/a\/qyi7KV1\">https:\/\/imgur.com\/a\/qyi7KV1<\/a><\/p>\n","protected":false},"template":"","class_list":["post-18107877","topic","type-topic","status-publish","hentry","topic-tag-data-table"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18107877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18107877\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18107877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}