CKEditor and Poltergeist/PhantomJS - [CKEDITOR.resourceManager.load] Resource name "default" was not found at "http://cdn.ckeditor.com
Asked Answered
C

1

7

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

I intermittently run into this error while running integration tests in Poltergeist. While researching the issue I've seen some older threads with this problem related to actual missing assets, but the library is being loaded from the CDN so I have no control over the assets.

Any ideas?

Checkoff answered 21/3, 2015 at 14:38 Comment(0)
L
1

This solved in my case:

page.execute_script <<-SCRIPT
  var CKEDITOR_BASEPATH = '/assets/ckeditor/';
SCRIPT
Lawannalawbreaker answered 10/8, 2017 at 13:28 Comment(1)
What context did you do this in? What file is that line of code in?Zingg

© 2022 - 2024 — McMap. All rights reserved.