/** * A utility to add a back button to the editor toolbar. */ /** * WordPress dependencies */ import { __ } from '@wordpress/i18n'; import { Button, Tooltip } from '@wordpress/components'; import { subscribe } from '@wordpress/data'; import domReady from '@wordpress/dom-ready'; import { createRoot } from '@wordpress/element'; import { arrowUpLeft } from '@wordpress/icons'; /** * Internal dependencies */ import './style.scss'; const WRAPPER_ID = 'newspack-editor-toolbar-wrapper'; const ToolbarButton = ( { href }: { href: string } ) => (