How can I filter my selector by what the user has selected???
I'm trying to find specific elements inside what the user has highlighted.
$('.item', document.selection) ?
$('.item', editor.getSelection().getRanges()[0]) ?
How can I filter my selector by what the user has selected???
I'm trying to find specific elements inside what the user has highlighted.
$('.item', document.selection) ?
$('.item', editor.getSelection().getRanges()[0]) ?
This might help. Maybe push it into a hidden element and then have jQuery reference that