-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Slot/Fill pattern with Toolbar #199 #11115
Merged
Merged
Changes from 14 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ec171db
Added support for native toolbar component
marecar3 2b21b1a
Merge branch 'master' into feature/native-toolbar-component
marecar3 ecf5da5
Expose BlockEdit to native
marecar3 8b4d948
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 8bf0d06
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 07646aa
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 1449764
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 237c9c7
Removed isSelected
marecar3 bf4fa94
Removed style from paragraph
marecar3 e52c994
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 7f49f78
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 5c26071
Fixed lint tests
marecar3 4f40a6d
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 0d3709b
Fixed lint
marecar3 90b13b7
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 cf5e3b4
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 211e3d2
Fix for iOS font crash
marecar3 ed31f31
Merge style with block code style
marecar3 4ab2b39
Merge branch 'master' into rnmobile/native-toolbar-component
marecar3 1a98cc8
Revert style
marecar3 5c9a7b5
Create edit.native.js file to bypass passing className from original one
marecar3 361166e
Fixed failing tests
marecar3 d9acc59
Disable styelint rule font-family-no-missing-generic-family-keyword f…
marecar3 2718990
Fixed tests
marecar3 5e9a9e5
Merge branch 'rnmobile/native-toolbar-component' of https://github.co…
marecar3 b8a9823
Merge
marecar3 4712418
Fix style little bit
marecar3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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.
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.
It would be good if we can re-use the work we did for the Inserter's SVGs case where we take the concatenated string passed in the props and convert it to proper
style
format. Can we make a utility function out of that work and use it here? (Same for thecode
block above, or elsewhere)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.
Is this class name ever converted to style properly with the Babel plugin that's used in the project?
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.
Hey @hypest @gziolo, I saw the solution for converting style string to style object, but when I look at the input (style string) and output (style object) it doesn't make sense for this case.
This is what I get as a style
"custom-class-1 custom-class-2 has-background has-drop-cap has-large-font-size has-vivid-red-background-color"'
I think that I don't want that to be converted into style, as I didn't pass it. What do you think about it? I am open for suggestions.