draft-js-side-toolbar-plugin-fixed-positioning
Advanced tools
Comparing version 2.0.2-alpha.1 to 2.0.2-alpha.2
@@ -66,3 +66,5 @@ 'use strict'; | ||
// attempt to find the node dynamically by traversing upwards. | ||
var editorRoot = _this.props.store.getItem('getEditorRef')().refs.editor; | ||
var editorRef = _this.props.store.getItem('getEditorRef')(); | ||
if (!editorRef) return; | ||
var editorRoot = editorRef.refs.editor; | ||
while (editorRoot.className.indexOf('DraftEditor-root') === -1) { | ||
@@ -69,0 +71,0 @@ editorRoot = editorRoot.parentNode; |
{ | ||
"name": "draft-js-side-toolbar-plugin-fixed-positioning", | ||
"version": "2.0.2-alpha.1", | ||
"version": "2.0.2-alpha.2", | ||
"description": "Toolbar Plugin for DraftJS", | ||
@@ -5,0 +5,0 @@ "author": { |
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
24444
407