@cocreate/selection 1.4.12 → 1.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/index.js +1 -1
    
        package/CHANGELOG.md
    CHANGED
    
    | @@ -1,3 +1,10 @@ | |
| 1 | 
            +
            ## [1.4.13](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.12...v1.4.13) (2022-07-29)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
             | 
| 4 | 
            +
            ### Bug Fixes
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            * removed console.log ([d9cee14](https://github.com/CoCreate-app/CoCreate-selection/commit/d9cee14952326f2edf94594bf2a2be04e1ff2227))
         | 
| 7 | 
            +
             | 
| 1 8 | 
             
            ## [1.4.12](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.11...v1.4.12) (2022-06-18)
         | 
| 2 9 |  | 
| 3 10 |  | 
    
        package/package.json
    CHANGED
    
    
    
        package/src/index.js
    CHANGED
    
    | @@ -304,7 +304,7 @@ export function getStringPosition({string, target, position, attribute, property | |
| 304 304 | 
             
                    else
         | 
| 305 305 | 
             
                        element = dom.querySelector(selector);
         | 
| 306 306 | 
             
                    if (!element){
         | 
| 307 | 
            -
                        console.log('element could not be found using selector:', selector);
         | 
| 307 | 
            +
                        // console.log('element could not be found using selector:', selector);
         | 
| 308 308 | 
             
                        return;
         | 
| 309 309 | 
             
                    }
         | 
| 310 310 | 
             
                    let start = 0, end = 0;
         |