Skip to content

Commit

Permalink
Merge pull request #20005 from wordpress-mobile/gutenberg/disable-sto…
Browse files Browse the repository at this point in the history
…ry-block

[Gutenberg] Disable Story block
  • Loading branch information
fluiddot authored Jan 26, 2024
2 parents d1e9ff2 + a127530 commit 6311d54
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,6 @@ private GutenbergPropsBuilder getGutenbergPropsBuilder() {
false,
false,
false,
false,
true,
false,
!isFreeWPCom,
Expand All @@ -2513,7 +2512,6 @@ private GutenbergPropsBuilder getGutenbergPropsBuilder() {
SiteUtils.supportsEmbedVariationFeature(mSite, SiteUtils.WP_INSTAGRAM_EMBED_JETPACK_VERSION),
SiteUtils.supportsEmbedVariationFeature(mSite, SiteUtils.WP_LOOM_EMBED_JETPACK_VERSION),
SiteUtils.supportsEmbedVariationFeature(mSite, SiteUtils.WP_SMARTFRAME_EMBED_JETPACK_VERSION),
SiteUtils.supportsStoriesFeature(mSite, mJetpackFeatureRemovalPhaseHelper),
mSite.isUsingWpComRestApi(),
enableXPosts,
isUnsupportedBlockEditorEnabled,
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ext {
automatticRestVersion = '1.0.8'
automatticStoriesVersion = '2.4.0'
automatticTracksVersion = '3.3.0'
gutenbergMobileVersion = 'v1.111.1'
gutenbergMobileVersion = 'v1.112.0-alpha3'
wordPressAztecVersion = 'v2.0'
wordPressFluxCVersion = '2.61.0'
wordPressLoginVersion = '1.10.0'
Expand Down
2 changes: 1 addition & 1 deletion config/gradle/included_builds.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gradle.ext.fluxCBinaryPath = "org.wordpress:fluxc"
gradle.ext.wputilsBinaryPath = "org.wordpress:utils"
gradle.ext.gutenbergMobileBinaryPath = "org.wordpress-mobile.gutenberg-mobile:react-native-gutenberg-bridge"
gradle.ext.gutenbergMobileBinaryPath = "org.wordpress.gutenberg-mobile:react-native-gutenberg-bridge"
gradle.ext.includedBuildGutenbergMobilePath = null
gradle.ext.loginFlowBinaryPath = "org.wordpress:login"
gradle.ext.storiesAndroidPath = "com.automattic:stories"
Expand Down
1 change: 1 addition & 0 deletions libs/editor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ repositories {
content {
includeGroup "org.wordpress"
includeGroup "org.wordpress.aztec"
includeGroup "org.wordpress.gutenberg-mobile"
includeGroupByRegex "org.wordpress.react-native-libraries.*"
// 'org.wordpress-mobile' group is deprecated. It's kept for now for smoother transition
// but it should be removed soon (within couple weeks)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ data class GutenbergPropsBuilder(
private val enableInstagramEmbed: Boolean,
private val enableLoomEmbed: Boolean,
private val enableSmartframeEmbed: Boolean,
private val enableMediaFilesCollectionBlocks: Boolean,
private val enableMentions: Boolean,
private val enableXPosts: Boolean,
private val enableUnsupportedBlockEditor: Boolean,
Expand All @@ -43,7 +42,6 @@ data class GutenbergPropsBuilder(
enableInstagramEmbed = enableInstagramEmbed,
enableLoomEmbed = enableLoomEmbed,
enableSmartframeEmbed = enableSmartframeEmbed,
enableMediaFilesCollectionBlocks = enableMediaFilesCollectionBlocks,
enableMentions = enableMentions,
enableXPosts = enableXPosts,
enableUnsupportedBlockEditor = enableUnsupportedBlockEditor,
Expand Down

0 comments on commit 6311d54

Please sign in to comment.