react-edit-text
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -0,1 +1,8 @@ | ||
## [2.1.3](https://github.com/bymi15/react-edit-text/compare/v2.1.2...v2.1.3) (2020-11-17) | ||
### Bug Fixes | ||
* **EditTextarea:** fix newline not showing in view mode bug ([6a21fa4](https://github.com/bymi15/react-edit-text/commit/6a21fa4dd4b78c5ccb02e87ebc3d049d16170733)) | ||
## [2.1.2](https://github.com/bymi15/react-edit-text/compare/v2.1.1...v2.1.2) (2020-11-16) | ||
@@ -2,0 +9,0 @@ |
@@ -1292,3 +1292,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
savedText: props.value, | ||
savedTextLines: props.value ? props.value.split('/\r?\n/') : [], | ||
savedTextLines: props.value ? props.value.split(/\r?\n/) : [], | ||
editMode: false | ||
@@ -1295,0 +1295,0 @@ }; |
@@ -1290,3 +1290,3 @@ import React from 'react'; | ||
savedText: props.value, | ||
savedTextLines: props.value ? props.value.split('/\r?\n/') : [], | ||
savedTextLines: props.value ? props.value.split(/\r?\n/) : [], | ||
editMode: false | ||
@@ -1293,0 +1293,0 @@ }; |
{ | ||
"name": "react-edit-text", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Simple editable text component for React", | ||
@@ -5,0 +5,0 @@ "author": "Brian Min <bymi15@yahoo.com> (https://github.com/bymi15)", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
282706