Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Blank speces in search and copy and paste search terms › Reply To: Blank speces in search and copy and paste search terms
September 4, 2017 at 11:10 am
#14588
Hi!
After some experimenting I may have found a possible solution. It looks like it is possible to attach an event handler to the paste event, even if the tooltip menu is used.
Try adding this custom code to the functions.php file in your active theme directory (copy from line 3):
This will trigger a search API event whenever a paste is detected.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)