-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RNMobile] Fix: Add default value to format when start and end are undefined #22741
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Size Change: +1.38 kB (0%) Total Size: 1.11 MB
ℹ️ View Unchanged
|
dratwas
changed the title
add default vale to format when start and end are undefined
[RNMobile] Fix: Add default vale to format when start and end are undefined
May 29, 2020
2 tasks
mchowning
reviewed
May 29, 2020
mchowning
approved these changes
May 29, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working well for me. Thanks @dratwas !
dratwas
changed the title
[RNMobile] Fix: Add default vale to format when start and end are undefined
[RNMobile] Fix: Add default value to format when start and end are undefined
May 29, 2020
mchowning
pushed a commit
that referenced
this pull request
May 29, 2020
…defined (#22741) * add default vale to format when start and end are undefined * revert lint changes
5 tasks
mchowning
added a commit
that referenced
this pull request
Jun 1, 2020
* Remove Keyboard.dismiss() when deleting block * Move selection to end of link after insertion. (#22652) Make sure the selection is refreshed after changed. * Only show pullquote block on iOS. * Allow pullquote block to show on Android Dev builds * Change indentifier type in Button, correct concatenation in merge function (#22708) * [RNMobile] Fix footer appender in buttons block (#22711) * add renderFooterAppender to the extraData to re-render list * small refactor * Add onDeleteBlock to the extra data to re-render when it has changes (#22716) * add renderFooterAppender to the extraData to re-render list * small refactor * Add onDeleteBlock to the extra data to re-render when it has changes * add renderFooterAppender to the extraData to re-render list * small refactor * Add onDeleteBlock to the extra data to re-render when it has changes * [RNMobile] Correct color selection in color settings (#22736) * [RNMobile] Fix: Add default value to format when start and end are undefined (#22741) * add default vale to format when start and end are undefined * revert lint changes * Fix lint issue Co-authored-by: lukewalczak <[email protected]> Co-authored-by: Sérgio Estêvão <[email protected]> Co-authored-by: Drapich Piotr <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes wordpress-mobile/gutenberg-mobile#2334
gutenberg-mobile PR: wordpress-mobile/gutenberg-mobile#2336
In this PR i added a default value to the
onFormatChange
because at the first render they areundefined
which is the cause of not applied formatting. The rest of changes are autogenerated by prettier/linter.I still investigate this issue - wordpress-mobile/gutenberg-mobile#2154 but since they are related. However, i think it should be done in separate PR.
How has this been tested?
Screenshots
Types of changes
Checklist: