react-draft-wysiwyg
Advanced tools
Comparing version 1.12.11 to 1.12.12
@@ -126,1 +126,4 @@ # Changelog | ||
- Support for Japanese locale. | ||
## 4/3/2018 (1.12.11) | ||
- #621, variable declaration causes handlePastedText function error after js minified. |
{ | ||
"name": "react-draft-wysiwyg", | ||
"version": "1.12.11", | ||
"version": "1.12.12", | ||
"description": "A wysiwyg on top of DraftJS.", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-draft-wysiwyg.js", |
@@ -36,3 +36,6 @@ import React, { Component } from 'react'; | ||
const linkTab = window.open(url, 'blank'); // eslint-disable-line no-undef | ||
linkTab.focus(); | ||
// linkTab can be null when the window failed to open. | ||
if (linkTab) { | ||
linkTab.focus(); | ||
} | ||
}; | ||
@@ -39,0 +42,0 @@ |
@@ -230,3 +230,3 @@ /* @flow */ | ||
if (onBlur && this.focusHandler.isEditorBlur(event)) { | ||
onBlur(event); | ||
onBlur(event, this.getEditorState()); | ||
} | ||
@@ -233,0 +233,0 @@ }; |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
615780
8201
0