From bf29d5764203f2a2f46995e26ae425e29e08ba13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=28Greg=29=20Zi=C3=B3=C5=82kowski?= Date: Mon, 9 Apr 2018 13:48:34 +0200 Subject: [PATCH] Blocks: Revert the default fonti size changes for Paragraph (#6075) --- blocks/library/paragraph/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/blocks/library/paragraph/index.js b/blocks/library/paragraph/index.js index daae920fb7beb..9a4e7cc326b16 100644 --- a/blocks/library/paragraph/index.js +++ b/blocks/library/paragraph/index.js @@ -104,8 +104,6 @@ class ParagraphBlock extends Component { if ( customFontSize ) { return customFontSize; } - - return FONT_SIZES.regular; } setFontSize( fontSizeValue ) { @@ -190,7 +188,7 @@ class ParagraphBlock extends Component { this.setFontSize( value ) } min={ 12 } max={ 100 } @@ -239,7 +237,7 @@ class ParagraphBlock extends Component { style={ { backgroundColor: backgroundColor, color: textColor, - fontSize: fontSize !== FONT_SIZES.regular ? fontSize + 'px' : undefined, + fontSize: fontSize ? fontSize + 'px' : undefined, textAlign: align, } } value={ content }