@convertkit/selection-toolbar
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -1049,2 +1049,4 @@ import React, { Component } from 'react'; | ||
case "left": | ||
return targetRect.left - offsetRect.left; | ||
case "right": | ||
@@ -1066,2 +1068,4 @@ default: | ||
console.log("target", target); | ||
console.log("element", element); | ||
return children(new Position(target, element, props)); | ||
@@ -1068,0 +1072,0 @@ }; |
{ | ||
"name": "@convertkit/selection-toolbar", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A toolbar for the ConvertKit Editor that hovers over the selection.", | ||
@@ -31,3 +31,4 @@ "main": "index.js", | ||
"prop-types": "^15.6.2" | ||
} | ||
}, | ||
"gitHead": "02de975b0e1b6e4fd856ce77e4e8f54f46fddb1c" | ||
} |
@@ -5,3 +5,3 @@ import React, { Component } from "react"; | ||
import { isTextSelected } from "./utils"; | ||
import PositionElement from "./position-element"; | ||
import PositionElement from "../../../shared/components/position-element"; | ||
import SelectionRect from "./selection-rect"; | ||
@@ -8,0 +8,0 @@ import Toolbar from "./toolbar"; |
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
57691
13
1659