File tree Expand file tree Collapse file tree
libs/editor/src/main/java/org/wordpress/android/editor/gutenberg Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
3325.1
44-----
5-
5+ * [*] [internal] Block editor: Add onContentUpdate bridge functionality [https://github.com/wordpress-mobile/gutenberg-mobile/pull/20852]
66
7725.0
88-----
Original file line number Diff line number Diff line change 2323 automatticAboutVersion = ' 1.4.0'
2424 automatticRestVersion = ' 1.0.8'
2525 automatticTracksVersion = ' 5.0.0'
26- gutenbergMobileVersion = ' v1.119.0 '
26+ gutenbergMobileVersion = ' v1.120.0-alpha1 '
2727 wordPressAztecVersion = ' v2.1.3'
2828 wordPressFluxCVersion = ' trunk-a9a471914d3ebd1093986d3d0a95c2a29b29dca0'
2929 wordPressLoginVersion = ' 1.15.0'
Original file line number Diff line number Diff line change 66import android .view .ViewGroup ;
77
88import androidx .activity .OnBackPressedCallback ;
9+ import androidx .annotation .NonNull ;
910import androidx .annotation .Nullable ;
1011import androidx .core .util .Consumer ;
1112import androidx .core .util .Pair ;
@@ -311,6 +312,10 @@ public void onRedoPressed() {
311312 mWPAndroidGlueCode .onRedoPressed ();
312313 }
313314
315+ public void onContentUpdate (@ NonNull String content ) {
316+ mWPAndroidGlueCode .onContentUpdate (content );
317+ }
318+
314319 public void updateCapabilities (GutenbergPropsBuilder gutenbergPropsBuilder ) {
315320 // We want to make sure that activity isn't null
316321 // as it can make this crash to happen: https://github.com/wordpress-mobile/WordPress-Android/issues/13248
You can’t perform that action at this time.
0 commit comments