Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…rg-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
  • Loading branch information
daniloercoli committed Sep 19, 2019
2 parents 4e7118f + 829f09c commit dc6feee
Show file tree
Hide file tree
Showing 6 changed files with 1,294 additions and 1,284 deletions.
1,278 changes: 641 additions & 637 deletions bundle/android/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/android/App.js.map

Large diffs are not rendered by default.

1,292 changes: 648 additions & 644 deletions bundle/ios/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/ios/App.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gutenberg-mobile",
"version": "1.11.0",
"version": "1.12.0",
"private": true,
"config": {
"jsfiles": "./*.js src/*.js src/**/*.js src/**/**/*.js",
Expand Down
2 changes: 2 additions & 0 deletions react-native-aztec/ios/RNTAztecView/RCTAztecView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,14 @@ class RCTAztecView: Aztec.TextView {

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

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

textStorage.addAttribute(.font, value: newFont, range: subrange)
}
textStorage.endEditing()

refreshTypingAttributesAndPlaceholderFont()
}
Expand Down

0 comments on commit dc6feee

Please sign in to comment.