Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'restIOHandler' of undefined #8

Open
smansj opened this issue May 26, 2016 · 1 comment
Open

Comments

@smansj
Copy link

smansj commented May 26, 2016

Getting this error, What am I doing wrong?

This issue was logged by: coops-connector --> plugin.js

on this line:
this._ioHandler = editor.config.coops.restIOHandler||new DefaultIOHandler(editor);

@anttileppa
Copy link
Member

You probably haven't defined "coops" on CKEditor config.

This should of course be null-checked but you will need to define at least a serverUrl directive so it wouldn't work without the config anyway. (See demo for example https://github.com/foyt/coops-demo/blob/master/public/editdoc.js)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants