From 7703fa5edd426a4ed9186e472be320901f2f49e7 Mon Sep 17 00:00:00 2001 From: Addison Stavlo Date: Wed, 7 Oct 2020 23:34:09 -0400 Subject: [PATCH] FSE Document actions - wrap with heading (#25874) Co-authored-by: Noah Allen --- .../header/document-actions/index.js | 29 ++++++++++++------- .../header/document-actions/style.scss | 7 +++++ 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/packages/edit-site/src/components/header/document-actions/index.js b/packages/edit-site/src/components/header/document-actions/index.js index 74da7e72488810..abdb1740b2d0d4 100644 --- a/packages/edit-site/src/components/header/document-actions/index.js +++ b/packages/edit-site/src/components/header/document-actions/index.js @@ -12,6 +12,8 @@ import { getBlockType, } from '@wordpress/blocks'; import { useSelect } from '@wordpress/data'; +import { VisuallyHidden } from '@wordpress/components'; + import { last } from 'lodash'; function getBlockDisplayText( block ) { @@ -84,17 +86,22 @@ export default function DocumentActions( { documentTitle } ) { > { documentTitle ? ( <> -
- { documentTitle } -
+

+ + { __( 'Edit template:' ) } + +
+ { documentTitle } +
+