Skip to content

Commit dc6feee

Browse files
committed
Merge branch 'develop' of https://github.com/wordpress-mobile/gutenberg-mobile into add/autosave-monitor
* 'develop' of https://github.com/wordpress-mobile/gutenberg-mobile: [iOS]Fix: Oddly formatted text hangs Gutenberg (#1352) Remove redundant bg color within button appender (#1348) Update bundles Update package.json version to 1.12.0 # Conflicts: # bundle/android/App.js # bundle/android/App.js.map # bundle/ios/App.js # bundle/ios/App.js.map
2 parents 4e7118f + 829f09c commit dc6feee

File tree

6 files changed

+1294
-1284
lines changed

6 files changed

+1294
-1284
lines changed

bundle/android/App.js

+641-637
Large diffs are not rendered by default.

bundle/android/App.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/ios/App.js

+648-644
Large diffs are not rendered by default.

bundle/ios/App.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gutenberg-mobile",
3-
"version": "1.11.0",
3+
"version": "1.12.0",
44
"private": true,
55
"config": {
66
"jsfiles": "./*.js src/*.js src/**/*.js src/**/**/*.js",

react-native-aztec/ios/RNTAztecView/RCTAztecView.swift

+2
Original file line numberDiff line numberDiff line change
@@ -508,12 +508,14 @@ class RCTAztecView: Aztec.TextView {
508508

509509
let fullRange = NSRange(location: 0, length: textStorage.length)
510510

511+
textStorage.beginEditing()
511512
textStorage.enumerateAttributes(in: fullRange, options: []) { (attributes, subrange, stop) in
512513
let oldFont = font(from: attributes)
513514
let newFont = applyFontConstraints(to: oldFont)
514515

515516
textStorage.addAttribute(.font, value: newFont, range: subrange)
516517
}
518+
textStorage.endEditing()
517519

518520
refreshTypingAttributesAndPlaceholderFont()
519521
}

0 commit comments

Comments
 (0)