-
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: Use the default div tagName on native for the Quote block #30645
Conversation
Size Change: +19 B (0%) Total Size: 1.42 MB
ℹ️ View Unchanged
|
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.
Thanks for these changes @guarani I verified that the Quote block works as expected on Android and iOS. Doing the split resulted in the text going on a newline and the contents of HTML mode were as expected with no irregular cite or p tags. LGTM 🚢
Co-authored-by: Ceyhun Ozugur <[email protected]>
* Release script: Update react-native-editor version to 1.50.0 * Release script: Update with changes from 'npm run core preios' * Gutenberg Plugin: Remove deprecations planned for 10.3 release (#30417) * Gutenberg Plugin: Remove deprecations planned for 10.3 release * Docs: Add changelog entry * Closed changelog for 1.50.0 * Release script: Update react-native-editor version to 1.50.1 * Release script: Update with changes from 'npm run core preios' * RNMobile: Truncate rangecell screenreader decimals (#30678) Screenreaders (VoiceOver and TalkBack) were reading values of range-cells with too much precision. For example, a Column block with three columns would read widths as 33.33333333 when it should be read as 33.3. * [RNMobile] react native bridge UBE path fix (#30650) * Fixed the asset path for the unsupported-block-editor * symlink update. * Use the default div tagName on native (#30645) Co-authored-by: Ceyhun Ozugur <[email protected]> * Fix crash from non-adjustable unit RangeCell a11y activation (#30636) * Avoid invoking possible null callback Previously, the unit picker callback was always invoked when a11y tools activated the element. This caused the app to crash whenever the element did not have adjustable units. * Add test coverage for RangeCell accessibility actions * Re-added symlink update. * Update changelog for react-native-editor Co-authored-by: Greg Ziółkowski <[email protected]> Co-authored-by: Joel Dean <[email protected]> Co-authored-by: Ceyhun Ozugur <[email protected]> Co-authored-by: David Calhoun <[email protected]>
Description
Fixes: #30548
See wordpress-mobile/gutenberg-mobile#3352
This PR prevents the
tagName
prop from being passed to the Quote block citation on mobile. While it was added in #30190 for both web and mobile, it resulted in a regression.Not passing in the
tagName
appears to be the best solution we have at hand, although it isn't ideal since thetagName
should correspond to the tag that the rich text represents i.e. a<cite>
tag here.How has this been tested?
Types of changes
Bug fix.
Checklist:
*.native.js
files for terms that need renaming or removal).