Skip to content

Commit

Permalink
Implement return docs button
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jul 29, 2023
1 parent d60d39d commit 350d965
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/containers/blocks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ class Blocks extends React.Component {
window.open(docsURI, '_blank');
}
});
toolboxWorkspace.registerButtonCallback('OPEN_RETURN_DOCS', () => {
window.open('https://docs.turbowarp.org/return', '_blank');
});

// Store the xml of the toolbox that is actually rendered.
// This is used in componentDidUpdate instead of prevProps, because
Expand Down

0 comments on commit 350d965

Please sign in to comment.