Closed ghost closed 10 years ago
Nevemind, here's how... :)
if(that.searchInput.is(':visible'))
$('textarea').redactor('selectionSave');// Added
And...
insertAwesome:function(s){
this.selectionRestore();// Added
Thanks again for the great plugin.
Thanks for the feedback! :)
Thank you for the great plugin! Works a treat, but any idea how to insert the icons at the last cursor position / block ?
It loses position when you click the icon search box.
I tried playing with selectionSave, to no avail... http://imperavi.com/redactor/docs/api/#api-selectionSave