StevenDevooght / tinyMCE-mention

Mention/Autocomplete plugin for tinyMCE WYSIWYG editor.
http://stevendevooght.github.io/tinyMCE-mention/
220 stars 95 forks source link

Uncaught TypeError: rbuggyQSA.test is not a function at Function.Sizzle #64

Open PatmanAA opened 6 years ago

PatmanAA commented 6 years ago

I use tinymce with mention plugin in yii, When I enter @ my list box is geting fill with my source so it's all good but in chrome debuger I get this error:

Uncaught TypeError: rbuggyQSA.test is not a function at Function.Sizzle [as find] (jquery.js?v=1504808392:818) at jQuery.fn.init.find (jquery.js?v=1504808392:2792) at jQuery.fn.init (jquery.js?v=1504808392:2909) at jQuery (jquery.js?v=1504808392:75) at HTMLDocument. (index.php?r=space%2Fspace&sguid=4bcfe53f-6d04-40e1-8f35-d733a6247f82:166) at HTMLDocument.dispatch (jquery.js?v=1504808392:4737) at HTMLDocument.elemData.handle (jquery.js?v=1504808392:4549) at jquery.js?v=1504808392:1189 at assert (jquery.js?v=1504808392:909) at Sizzle.setDocument (jquery.js?v=1504808392:1183)

Any cue? Thanks Pat

StevenDevooght commented 6 years ago

Hi @PatmanAA,

Can't really tell what the problem might be... The stacktrace doesn't contain anything about the mention plugin.

Do you know where the rbuggyQSA.test function comes from?

PatmanAA commented 6 years ago

Hi Steven,

The error is in :

At line 818:

        // Take advantage of querySelectorAll
        if ( support.qsa &&
            !compilerCache[ selector + " " ] &&
        ----->>>>   (!rbuggyQSA || !rbuggyQSA.test( selector )) ) 
StevenDevooght commented 6 years ago

Hi, I haven't tested my plugin with jQuery v2.2.4. That could be the problem... Can you test with an older version of jQuery (e.g v1.8.3)?