From b418bf7556d5bae373c30e2bd2084da9fcc41d13 Mon Sep 17 00:00:00 2001 From: Cameron Voell Date: Mon, 31 Aug 2020 14:55:16 -0700 Subject: [PATCH] [RNMobile] Remove dev only restriction for pullquote block on Android (#24921) * Remove dev only restriction for pullquote block on Android * Lint exception to keep iOS only function * Updated changelog --- packages/block-library/src/index.native.js | 3 ++- packages/react-native-editor/CHANGELOG.md | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/index.native.js b/packages/block-library/src/index.native.js index 9405fe952a53c7..6e842a54765232 100644 --- a/packages/block-library/src/index.native.js +++ b/packages/block-library/src/index.native.js @@ -157,6 +157,7 @@ const registerBlockVariations = ( block ) => { // eslint-disable-next-line no-undef const devOnly = ( block ) => ( !! __DEV__ ? block : null ); +// eslint-disable-next-line no-unused-vars const iOSOnly = ( block ) => Platform.OS === 'ios' ? block : devOnly( block ); @@ -219,7 +220,7 @@ export const registerCoreBlocks = () => { cover, socialLink, socialLinks, - iOSOnly( pullquote ), + pullquote, ].forEach( registerBlock ); registerBlockVariations( socialLink ); diff --git a/packages/react-native-editor/CHANGELOG.md b/packages/react-native-editor/CHANGELOG.md index 55e7dded87a628..68285083a547df 100644 --- a/packages/react-native-editor/CHANGELOG.md +++ b/packages/react-native-editor/CHANGELOG.md @@ -12,6 +12,10 @@ For each user feature we should also add a importance categorization label to i ## Unreleased * [**] Reflect changes of slider in block settings immediately. +## 1.36.0 + +* [**] [Android] Removed pullquote dev only restriction in Android + ## 1.35.0 * [***] Fixed empty text fields on RTL layout. Now they are selectable and placeholders are visible.