Gutenberg Anchor data-type and data-id removed
-
It seems that Yoast removes the Gutenberg added data-type and data-id from anchors in the editor.
Besides Gutenberg uses this data, I use the data (front-end) to be able to gather some information (ajax) based on the post-id and post-type added to an (internal) anchor.
More information can be found here:
https://github.com/WordPress/gutenberg/issues/26911
https://github.com/Yoast/wordpress-seo/issues/17035
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Gutenberg Anchor data-type and data-id removed’ is closed to new replies.