Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

draft-js-side-toolbar-plugin-fixed-positioning

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draft-js-side-toolbar-plugin-fixed-positioning - npm Package Compare versions

Comparing version 2.0.2-alpha.1 to 2.0.2-alpha.2

4

lib/components/Toolbar/index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc