I am using redactor for a text editor on a laravel project.
Whenever the editor is on the page, and is initialized, I get this error whenever I click anywhere.
Uncaught TypeError: $(...).closest(...).size is not a function(…)
Uncaught TypeError: $current.closest(...).size is not a function(…)
This is fired whenever I type in the editor, or just click anywhere on the page. The editor is getting initialized fine, and is working fine. I'm not sure why it's complaining about the blur event.
This is how I am initializing it:
$('#myInput').redactor({
'buttons': ['html', 'formatting', 'bold', 'italic', 'unorderedlist', 'orderedlist', 'link'],
'placeholder': 'Comments...'
});
It looks like this is one of the parts that is not happy:
$(document).on('mousedown.redactor-blur.'+this.uuid,
I'm using Redactor 10.2.5
Thank you for any suggestions!