diff --git a/packages/block-library/src/pullquote/editor.scss b/packages/block-library/src/pullquote/editor.scss index d0f9c518b5e143..5a92486c11e30c 100644 --- a/packages/block-library/src/pullquote/editor.scss +++ b/packages/block-library/src/pullquote/editor.scss @@ -24,8 +24,8 @@ transform: translateX(-50%); } - & > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before, - & > .editor-rich-text p { + & blockquote > .block-library-pullquote__content .editor-rich-text__tinymce[data-is-empty="true"]::before, + & blockquote > .editor-rich-text p { font-size: 24px; line-height: 1.6; } diff --git a/packages/block-library/src/pullquote/index.js b/packages/block-library/src/pullquote/index.js index 15324812c8f0f2..9241e47c3a6a56 100644 --- a/packages/block-library/src/pullquote/index.js +++ b/packages/block-library/src/pullquote/index.js @@ -55,33 +55,35 @@ export const settings = { const { value, citation } = attributes; return ( -
- setAttributes( { - value: fromRichTextValue( nextValue ), - } ) - } - /* translators: the text of the quotation */ - placeholder={ __( 'Write quote…' ) } - wrapperClassName="block-library-pullquote__content" - /> - { ( ! RichText.isEmpty( citation ) || isSelected ) && ( +
+ ); }, diff --git a/packages/block-library/src/pullquote/style.scss b/packages/block-library/src/pullquote/style.scss index 2467adff4e5437..7bc4b66cdc4408 100644 --- a/packages/block-library/src/pullquote/style.scss +++ b/packages/block-library/src/pullquote/style.scss @@ -4,14 +4,14 @@ &.alignleft, &.alignright { - max-width: 400px; + max-width: $content-width / 2; - > p { + p { font-size: 20px; } } - > p { + p { font-size: 24px; line-height: 1.6; }