-
Notifications
You must be signed in to change notification settings - Fork 58
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
1264 - Activate Preformatted block #1442
1264 - Activate Preformatted block #1442
Conversation
Increment gb-mobile version to 1.14.0 Update bundle files
# Conflicts: # package.json
# Conflicts: # gutenberg
…pens_safari Don't allow interactions with URL in Aztec text blocks. # Conflicts: # gutenberg
…witching to HTML mode
…issing-on-long-posts-in-html-mode
…Content-is-missing-on-long-posts-in-html-mode Fix/1268 content is missing on long posts in html mode
# Conflicts: # gutenberg
# Conflicts: # bundle/android/App.js # bundle/android/App.js.map # bundle/ios/App.js # bundle/ios/App.js.map # gutenberg # react-native-aztec/ios/Cartfile # react-native-aztec/ios/Cartfile.resolved # react-native-gutenberg-bridge/android/src/main/java/org/wordpress/mobile/WPAndroidGlue/WPAndroidGlueCode.java
# Conflicts: # gutenberg
@daniloercoli and @etoledom do you mind review this PR? |
# Conflicts: # gutenberg # react-native-aztec/ios/RNTAztecView/RCTAztecView.swift
@daniloercoli and @etoledom do you mind to give it another look, now that all the issues are sorted. |
# Conflicts: # gutenberg
# Conflicts: # gutenberg # react-native-aztec/ios/RNTAztecView/RCTAztecView.swift
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 on iOS
# Conflicts: # gutenberg
…ith invalid PRE block content sent to the JS side under some circumstances, even without actually changing the content of the block. Ref: wordpress-mobile/AztecEditor-Android#869 (comment)
….com/wordpress-mobile/gutenberg-mobile into issue/1264_activate_pre_format_block
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.
LGTM!
Fixes #1264
GB PR: WordPress/gutenberg#17906
AztecEditor-Android PR: wordpress-mobile/AztecEditor-Android#869
WP-Android PR: wordpress-mobile/WordPress-Android#10764
WP-iOS PR: wordpress-mobile/WordPress-iOS#12934
This PR add the preformated block to the list of available blocks.
To make this work some changes were needed in Aztec and on the refreshFont code to be able to handle scenarios were the active font is not the default font, because pre elements need to use a monospace font.
At the moment this PR also needs an Android Dev to make sure that the pre element is formatted correctly on Android.
To test:
Update release notes:
RELEASE-NOTES.txt
.