rich icon indicating copy to clipboard operation
rich copied to clipboard

Rich not working on the form element and getting js errors

Open mdunbavan opened this issue 11 years ago • 1 comments

Hi,

I have installed the gem as suggested for Active Admin, all the rich js is being added to my head in the admin area which is great.

The only issue I have is the editor is not loading on my text area. The js errors are as follows:

Failed to load resource: the server responded with a status of 404 (Not Found) http://0.0.0.0:3000/ckeditor/config.js?t=D08E Failed to load resource: the server responded with a status of 404 (Not Found) http://0.0.0.0:3000/ckeditor/skins/moono/editor.css?t=D08E Failed to load resource: the server responded with a status of 404 (Not Found) http://0.0.0.0:3000/ckeditor/lang/en.js?t=D08E Failed to load resource: the server responded with a status of 404 (Not Found) http://0.0.0.0:3000/ckeditor-contrib/plugins/richfile/plugin.js?t=D08E Failed to load resource: the server responded with a status of 404 (Not Found) http://0.0.0.0:3000/ckeditor-contrib/plugins/MediaEmbed/plugin.js?t=D08E Uncaught [CKEDITOR.resourceManager.load] Resource name "richfile" was not found at "/ckeditor-contrib/plugins/richfile/plugin.js?t=D08E". ckeditor.js?body=1:180

I am using rails 4 and in my active admin js I have this line:

= require rich

Can anyone tell my why I get this error?

Thanks, Mark

mdunbavan avatar Feb 12 '14 17:02 mdunbavan

See Issue https://github.com/bastiaanterhorst/rich/issues/88#issuecomment-32362067, it helped me.

stansidel avatar Feb 25 '14 09:02 stansidel