-
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
Add pre to list of block wrappers #21255
Conversation
Size Change: +9 B (0%) Total Size: 866 kB
ℹ️ View Unchanged
|
👋 @SergioEstevao , this indeed fixes the issue but I wonder, do we need to keep a separate list of elements? Can't we have |
packages/block-editor/src/components/block-list/block-elements.js
Outdated
Show resolved
Hide resolved
This still looks good to me. @ZebulanStanphill , not sure if you'd like to make another pass now that your feedback has been addressed? In the meantime @SergioEstevao , looks like the PR needs updating since there's a merge conflict reported on the |
# Conflicts: # packages/block-editor/src/components/block-list/block-wrapper.js
@hypest conflict sorted. |
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.
One minor nitpick, but otherwise this looks good to me!
packages/block-editor/src/components/block-list/block-wrapper.js
Outdated
Show resolved
Hide resolved
packages/block-editor/src/components/block-list/block-wrapper.native.js
Outdated
Show resolved
Hide resolved
@ZebulanStanphill ready for another look. |
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.
Looks good, works great, and all feedback seems to have been handled! 🎉
* Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase
…1352) * Revert revert of dark mode impl * Add pre to list of block wrappers (#21255) * Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase Co-authored-by: Marko Savic <savicmarko1985@gmail.com> Co-authored-by: Sérgio Estêvão <sergioestevao@gmail.com>
…1352) * Revert revert of dark mode impl * Add pre to list of block wrappers (#21255) * Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase Co-authored-by: Marko Savic <savicmarko1985@gmail.com> Co-authored-by: Sérgio Estêvão <sergioestevao@gmail.com>
* Add pre to list of block wrappers (#21255) * Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase * Fix the TS used for the GB-Mobile project. (#21324) * Fix the TS used for the GB-Mobile project. Make sure only types inside node_modules/@types are used. This avoids TS to find the ../node_modules/@types inside the gb-mobile repo that lives one path level up of gutenberg root. * Framework: Fix configuration spacing * Change to types node. * Revert "Change to types node." This reverts commit bfb8b7b. Co-authored-by: Andrew Duthie <andrew@andrewduthie.com> * [RNMobile] Dark mode on Android put on the v1.25.0 native release (#21352) * Revert revert of dark mode impl * Add pre to list of block wrappers (#21255) * Add pre to list of block wrappers * Share the elements definition between web and native. * Make constant name all uppercase. * Rename constant name to be all uppercase * Rename elements constant to all uppercase Co-authored-by: Marko Savic <savicmarko1985@gmail.com> Co-authored-by: Sérgio Estêvão <sergioestevao@gmail.com> Co-authored-by: Andrew Duthie <andrew@andrewduthie.com> Co-authored-by: Stefanos Togoulidis <stefanostogoulidis@gmail.com> Co-authored-by: Marko Savic <savicmarko1985@gmail.com>
Description
Add pre to the list of block wrappers in RN.
How has this been tested?
Using this Gutenberg-mobile PR: wordpress-mobile/gutenberg-mobile#2083
Types of changes
Checklist: