🎨 style(nodeToolbarComponent): add noopener and noreferrer attributes to documentation link

The noopener and noreferrer attributes were added to the documentation link to improve security by preventing the linked page from having access to the window.opener object and to prevent the referrer header from being sent to the linked page, respectively.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-27 18:26:01 -03:00
commit 0200b22189

View file

@ -82,6 +82,7 @@ const NodeToolbarComponent = (props) => {
: " text-foreground")
)}
target="_blank"
rel="noopener noreferrer"
href={props.data.node.documentation}
// deactivate link if no documentation is provided
onClick={(event) => {