CKEditor and Poltergeist / PhantomJS - [CKEDITOR.resourceManager.load] The resource name "default" was not found on the page "http://cdn.ckeditor.com".

[CKEDITOR.resourceManager.load] Resource name "default" was not found at "http://cdn.ckeditor.com/4.4.7/full/styles.js?t=F0RD".

I occasionally turn to this error when performing integration tests in Poltergeist. While investigating the problem, I saw some old topics with this problem related to the actual missing resources, but the library is loaded from the CDN, so I do not control the assets.

Any ideas?

+7
phantomjs ckeditor poltergeist
source share
1 answer

This was solved in my case:

 page.execute_script <<-SCRIPT var CKEDITOR_BASEPATH = '/assets/ckeditor/'; SCRIPT 
+1
source

All Articles