🎨 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:
parent
f3e22b0080
commit
0200b22189
1 changed files with 1 additions and 0 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue