formly-js / angular-formly

JavaScript powered forms for AngularJS
http://docs.angular-formly.com
MIT License
2.23k stars 406 forks source link

ui-tinymce sample seems to be broken #665

Open x12a1f opened 8 years ago

x12a1f commented 8 years ago

The JS Bin on http://angular-formly.com/#/example/integrations/ui-tinymce seems to be broken. When I run the sample I get the following error:

Uncaught Error: [$injector:modulerr] Failed to instantiate module formlyExample due to: Error: [$injector:modulerr] Failed to instantiate module ui.tinymce due to: Error: [$injector:nomod] Module 'ui.tinymce' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

I tried to fix it but I don't see any obvious errors in the jsbin.

pseudo-su commented 7 years ago

It's an issue with MIME types which is stopping the ui-tinymce script from running, switching to using rawgit.com fixes it.

     <script src="//rawgit.com/angular-ui/ui-tinymce/master/src/tinymce.js"></script>