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

Raptor.registerUi: Uncaught ReferenceError: Raptor is not defined #150

Closed felixpage closed 10 years ago

felixpage commented 10 years ago

I have tried to add a new button and I got this error. To be sure it's not because of my code, I have tried the CREATING A BASIC RAPTOR BUTTON code example in your example.html file and I got the same error.

I guess you have changed something and your documentation is not up to date.

Petah commented 10 years ago

Hi, this method will only be available when API methods are exposed.

There is an option for this in the download builder. This is fine for basic plugins, however for more complicated ones its probably better to build it in.

felixpage commented 10 years ago

I tell you thanks for the fast answer and for the great job you have done with Raptor.

Also, I can help you to translate it in French :)

2014-05-12 18:00 GMT-04:00 David Neilsen notifications@github.com:

Hi, this method will only be available when API methods are exposed.

There is an option for this in the download builder. This is fine for basic plugins, however for more complicated ones its probably better to build it in.

— Reply to this email directly or view it on GitHubhttps://github.com/PANmedia/raptor-editor/issues/150#issuecomment-42894120 .

Petah commented 10 years ago

Awesome, the translations are here:

https://github.com/PANmedia/raptor-locales/blob/master/fr.js

Feel free to update and send pull requests.

felixpage commented 10 years ago

Oh so I though you need help, but it's already done, no?

2014-05-19 18:29 GMT-04:00 David Neilsen notifications@github.com:

Awesome, the translations are here:

https://github.com/PANmedia/raptor-locales/blob/master/fr.js

Feel free to update and send pull requests.

— Reply to this email directly or view it on GitHubhttps://github.com/PANmedia/raptor-editor/issues/150#issuecomment-43566534 .

Petah commented 10 years ago

Yea it been done, but as Raptor get updated, new plugins added etc it needs updating too.

Feel free to have a look from time to time.

felixpage commented 10 years ago

What's de best way to stay in touch with you developers?

2014-05-19 19:09 GMT-04:00 David Neilsen notifications@github.com:

Yea it been done, but as Raptor get updated, new plugins added etc it needs updating too.

Feel free to have a look from time to time.

— Reply to this email directly or view it on GitHubhttps://github.com/PANmedia/raptor-editor/issues/150#issuecomment-43569513 .

Petah commented 10 years ago

Feel free to report issues here on GitHub, or contact us via our website:

https://www.raptor-editor.com/contact

felixpage commented 10 years ago

I actually have an issue with Firefox. Let me upload and I'll show you.

2014-05-19 19:13 GMT-04:00 David Neilsen notifications@github.com:

Feel free to report issues here on GitHub, or contact us via our website:

https://www.raptor-editor.com/contact

— Reply to this email directly or view it on GitHubhttps://github.com/PANmedia/raptor-editor/issues/150#issuecomment-43569779 .

felixpage commented 10 years ago

Look at the edit button in Firefox:

http://webeniste.com/cfad/admin/

2014-05-19 19:16 GMT-04:00 Félix-Antoine Pagé felix.antoine.page@gmail.com :

I actually have an issue with Firefox. Let me upload and I'll show you.

2014-05-19 19:13 GMT-04:00 David Neilsen notifications@github.com:

Feel free to report issues here on GitHub, or contact us via our website:

https://www.raptor-editor.com/contact

— Reply to this email directly or view it on GitHubhttps://github.com/PANmedia/raptor-editor/issues/150#issuecomment-43569779 .

Petah commented 10 years ago

Looks like it failed to detect the center of the element with zooming/scaling.

I have added a seperate issue for this: https://github.com/PANmedia/raptor-editor/issues/151

Ill have a look when I get some time, as I don't think its going to be an easy fix.