@cocreate/selection
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -0,1 +1,8 @@ | ||
## [1.2.1](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.2.0...v1.2.1) (2021-11-05) | ||
### Bug Fixes | ||
* if el is singleton fixed returning start or end position ([c5b9d85](https://github.com/CoCreate-app/CoCreate-selection/commit/c5b9d85fb87a4554ffea1d150f5bfa8bdfd57ac6)) | ||
# [1.2.0](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.1.7...v1.2.0) (2021-11-05) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/selection", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -368,3 +368,2 @@ import {cssPath, domParser} from '@cocreate/utils'; | ||
element.insertAdjacentElement('afterend', findEl); | ||
angle = '>'; | ||
if (dom.tagName == 'HTML') | ||
@@ -371,0 +370,0 @@ start = dom.outerHTML.indexOf("<findelement></findelement>"); |
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
79132
520