diff --git a/packages/block-library/src/pullquote/edit.js b/packages/block-library/src/pullquote/edit.js index 96efb4985520e..f0d82ee4856d3 100644 --- a/packages/block-library/src/pullquote/edit.js +++ b/packages/block-library/src/pullquote/edit.js @@ -14,6 +14,7 @@ import { useBlockProps, } from '@wordpress/block-editor'; import { Platform } from '@wordpress/element'; +import { verse } from '@wordpress/icons'; /** * Internal dependencies @@ -72,6 +73,7 @@ function PullQuoteEdit( { isSelected={ isSelected } attributes={ attributes } setAttributes={ setAttributes } + icon={ verse } label={ __( 'Pullquote citation text' ) } placeholder={ // translators: placeholder text used for the citation diff --git a/packages/block-library/src/quote/edit.js b/packages/block-library/src/quote/edit.js index 401bd92fd1cbf..49f2970b1e181 100644 --- a/packages/block-library/src/quote/edit.js +++ b/packages/block-library/src/quote/edit.js @@ -18,6 +18,7 @@ import { BlockQuotation } from '@wordpress/components'; import { useDispatch, useRegistry } from '@wordpress/data'; import { Platform, useEffect } from '@wordpress/element'; import deprecated from '@wordpress/deprecated'; +import { verse } from '@wordpress/icons'; /** * Internal dependencies @@ -110,6 +111,7 @@ export default function QuoteEdit( { attributes={ attributes } setAttributes={ setAttributes } __unstableMobileNoFocusOnMount + icon={ verse } label={ __( 'Quote citation' ) } placeholder={ // translators: placeholder text used for the diff --git a/packages/block-library/src/utils/caption.js b/packages/block-library/src/utils/caption.js index 15d76dd1c60b9..4cbff02f78986 100644 --- a/packages/block-library/src/utils/caption.js +++ b/packages/block-library/src/utils/caption.js @@ -31,6 +31,7 @@ export function Caption( { tagName = 'figcaption', addLabel = __( 'Add caption' ), removeLabel = __( 'Remove caption' ), + icon = captionIcon, ...props } ) { const caption = attributes[ attributeKey ]; @@ -75,7 +76,7 @@ export function Caption( { } ); } } } - icon={ captionIcon } + icon={ icon } isPressed={ showCaption } label={ showCaption ? removeLabel : addLabel } />