Skip to content

block-visibility actually remove html from document to prevent Google crawler #163

@WybeBosch

Description

@WybeBosch

We got some feedback from a client that they liked our option to hide a column or column parent.
however they were upset that google could still see the content they had hidden. Since sometimes it would contain information that was not meant to go out to the public yet.

Thus in this PR we created for them a filter that would actually remove the hidden html from the document.
https://bitbucket.org/openwebconcept/gemeente-whitelabel/pull-requests/653

We should put the idea of that PR into the actual gutenberg-packages aswell.
related files that would be needed:
https://github.com/yardinternet/gutenberg-packages/blob/master/packages/deprecated/core/src/grid/components/block-visibility.js

https://github.com/yardinternet/gutenberg-packages/blob/master/packages/deprecated/core/src/grid/save.js#L60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions