[FIX] summernote lib: some browsers raise when select a range to target a node like an image or a br; createFromNode can't select a node withe more or less of one item. For eg: <div>text <span>one</span></div> the range selected is only 'text '
[FIX] summernote lib: the prevent default for mousedown image to prevent ie and ff default 'features' must set the range because the cursor is used for edition.

Modify the code to use the dom range. Warning for picture because the browser can't target the image but the container.