PANmedia / raptor-editor

Raptor, an HTML5 WYSIWYG content editor!
www.raptor-editor.com
GNU General Public License v3.0
533 stars 136 forks source link

Does raptor-editor work with jQuery 2.10.0? #159

Closed dparsons86 closed 10 years ago

dparsons86 commented 10 years ago

I am having troubles getting raptor-editor to work unless I use the no-conflict version. It keeps saying, in my code, that TypeError: $(...).raptor is not a function And it also says this: TypeError: g.widget is not a function ...ct"){k=g.extend(i.options.buttons,k);if(!k.browse){i.browse_button.button("disab... raptor.js (line 1314)

My code to initialize looks like this: $('#raptor-editable').raptor(); and I have a div with that name.

My project has jQuery - 2.10.0 and jQuery UI - v1.10.4

I don't really want to use the no-conflict version if I can avoid it, considering my project already has jquery and jquery-ui included.

Thanks! Daniel

Petah commented 10 years ago

I just tried Raptor with the latest jQuery (2.1.1) and jQuery UI (1.11.0) and it seemed to initialise fine.

So it looks like something else is going on, do you have an example page I could see this on?

Just a few things to note:

dparsons86 commented 10 years ago

It's not an external-facing site and it's buried in partial views. I'll try implementing it again, loading it in the parent of all the pages, right after jquery/ui and see what happens.

Petah commented 10 years ago

Closing as I couldn't reproduce this, let me know if you still having issues.