Add link for embedding

This commit is contained in:
Thomas Weber committed 2020-09-01 23:43:44 -05:00
1 parent f7ffca055b
commit 8c2fb52afe
1 file changed
+8
+8
View File
@@ -102,6 +102,7 @@ const ariaMessages = defineMessages({
const openSourceCodeLink = () => window.open('https://github.com/TurboWarp', '_blank');
const openPrivacyLink = () => window.open('/privacy.html', '_blank');
const openEmbedLink = () => window.open('https://github.com/TurboWarp/scratch-gui/wiki/Embedding', '_blank');
const openAdvancedHelp = () => window.open('https://github.com/TurboWarp/scratch-gui/wiki/Advanced-Settings', '_blank');
const MenuBarItemTooltip = ({
@@ -682,6 +683,13 @@ class MenuBar extends React.Component {
id="tw.links.privacy"
/>
</MenuItem>
<MenuItem onClick={openEmbedLink}>
<FormattedMessage
defaultMessage="Embed"
description="Text for embed in the Links dropdown"
id="tw.links.embed"
/>
</MenuItem>
</MenuSection>
</MenuBarMenu>
</div>