Skip to content

Commit

Permalink
Merge branch 'develop' into issue/1773_add_option_to_change_caret_color
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsnyder committed Jan 24, 2020
1 parent 13ece3f commit 74acf9b
Show file tree
Hide file tree
Showing 14 changed files with 1,789 additions and 1,758 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Then, open `chrome://inspect` in Chrome to attach the debugger (look into the "R

## Writing and Running Unit Tests

This project is set up to use [jest](https://facebook.github.io/jest/) for tests. You can configure whatever testing strategy you like, but jest works out of the box. Create test files in directories called `__tests__` or with the `.test.js` extension to have the files loaded by jest. See an example test [here](https://github.com/wordpress-mobile/gutenberg-mobile/blob/develop/src/app/App.test.js). The [jest documentation](https://facebook.github.io/jest/docs/en/getting-started.html) is also a wonderful resource, as is the [React Native testing tutorial](https://facebook.github.io/jest/docs/en/tutorial-react-native.html).
This project is set up to use [jest](https://facebook.github.io/jest/) for tests. You can configure whatever testing strategy you like, but jest works out of the box. Create test files in directories called `__tests__` or with the `.test.js` extension to have the files loaded by jest. See an example test [here](https://github.com/wordpress-mobile/gutenberg-mobile/blob/develop/src/index.test.js). The [jest documentation](https://facebook.github.io/jest/docs/en/getting-started.html) is also a wonderful resource, as is the [React Native testing tutorial](https://facebook.github.io/jest/docs/en/tutorial-react-native.html).

## UI Tests

Expand Down
4 changes: 2 additions & 2 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
1.21.0
------
* [Android] Reduced padding around text
* Fixed intermittent crash that occurred with very long posts
* Reduced padding around text on Rich Text based blocks.
* [Android] Improved stability on very long posts.

1.20.0
------
Expand Down
1,754 changes: 884 additions & 870 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 change: 1 addition & 0 deletions bundle/android/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
<string name="gutenberg_native_take_a_video" tools:ignore="UnusedResources">Take a Video</string>
<string name="gutenberg_native_tap_here_to_show_help" tools:ignore="UnusedResources">Tap here to show help</string>
<string name="gutenberg_native_tap_to_hide_the_keyboard" tools:ignore="UnusedResources">Tap to hide the keyboard</string>
<string name="gutenberg_native_template_preview" tools:ignore="UnusedResources">Template Preview</string>
<string name="gutenberg_native_title" tools:ignore="UnusedResources">Title:</string>
<string name="gutenberg_native_translate" tools:ignore="UnusedResources">Translate</string>
<string name="gutenberg_native_ungroup" tools:ignore="UnusedResources">Ungroup</string>
Expand Down
1,768 changes: 891 additions & 877 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.

1 change: 1 addition & 0 deletions bundle/ios/GutenbergNativeTranslations.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ private func dummy() {
_ = NSLocalizedString("Take a Video", comment: "")
_ = NSLocalizedString("Tap here to show help", comment: "")
_ = NSLocalizedString("Tap to hide the keyboard", comment: "")
_ = NSLocalizedString("Template Preview", comment: "")
_ = NSLocalizedString("Title:", comment: "")
_ = NSLocalizedString("Translate", comment: "")
_ = NSLocalizedString("Ungroup", comment: "")
Expand Down
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.20.0",
"version": "1.21.0",
"private": true,
"config": {
"jsfiles": "./*.js src/*.js src/**/*.js src/**/**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion react-native-aztec/ios/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "wordpress-mobile/AztecEditor-iOS" "1.14.1"
github "wordpress-mobile/AztecEditor-iOS" "1.15.0"
2 changes: 1 addition & 1 deletion react-native-aztec/ios/Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "wordpress-mobile/AztecEditor-iOS" "1.14.1"
github "wordpress-mobile/AztecEditor-iOS" "1.15.0"
4 changes: 2 additions & 2 deletions react-native-aztec/ios/RNTAztecView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
7ECFA94221C39BBB00FC131B /* BlockModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7ECFA94121C39BBB00FC131B /* BlockModel.swift */; };
F121467D20ED2F81003DD17B /* RCTAztecViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F121467C20ED2F81003DD17B /* RCTAztecViewManager.m */; };
F13BF4A020ECF5450047D3F9 /* RCTAztecViewManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = F13BF49F20ECF5450047D3F9 /* RCTAztecViewManager.swift */; };
F166A38020EE6DF3008E7C9F /* Aztec.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F166A37B20EE6DD7008E7C9F /* Aztec.framework */; };
F1A879D020EE90C000FABD31 /* RCTAztecView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1A879CF20EE90C000FABD31 /* RCTAztecView.swift */; };
FF0DC1C523CDD21D0060074D /* Aztec.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F166A37B20EE6DD7008E7C9F /* Aztec.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -70,7 +70,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F166A38020EE6DF3008E7C9F /* Aztec.framework in Frameworks */,
FF0DC1C523CDD21D0060074D /* Aztec.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
1 change: 1 addition & 0 deletions react-native-aztec/ios/RNTAztecView/RCTAztecView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ class RCTAztecView: Aztec.TextView {
}

func commonInit() {
Configuration.headersWithBoldTrait = true
delegate = self
textContainerInset = .zero
contentInset = .zero
Expand Down

0 comments on commit 74acf9b

Please sign in to comment.