question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TestComponent.html:29 ERROR TypeError: co.onReady is not a function

See original GitHub issue

Hi, I am insall ng2-ckeditor using cli :- npm install ng2-ckeditor Then Include CKEditor javascript files in my index file :- <script src="https://cdn.ckeditor.com/4.5.11/full/ckeditor.js"></script> Then write a code in my appliction :-

<ckeditor
    [(ngModel)]="ckeditorContent"
    [config]="{uiColor: '#99000'}"
    (change)="onChange($event)"
    (ready)="onReady($event)"
    (focus)="onFocus($event)"
    (blur)="onBlur($event)"
    debounce="500">
  </ckeditor>

But show error in console :-

ERROR TypeError: co.onReady is not a function
    at Object.eval [as handleEvent] (TestComponent.html:33)
    at handleEvent (core.es5.js:11826)
    at callWithDebugContext (core.es5.js:13041)
    at Object.debugHandleEvent [as handleEvent] (core.es5.js:12629)
    at dispatchEvent (core.es5.js:8777)
    at core.es5.js:10654
    at SafeSubscriber.schedulerFn [as _next] (core.es5.js:3840)
    at SafeSubscriber.__tryOrUnsub (Subscriber.js:236)
    at SafeSubscriber.next (Subscriber.js:185)
    at Subscriber._next (Subscriber.js:125)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Vishaalpatwaricommented, Jun 4, 2018

@kzimny Thank you. It’s working now. I’d to clear the browser cache to make it work.

1reaction
chymzcommented, May 16, 2017

Did you define onReady method on your component ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR TypeError: _co.onCLk is not a function - Stack Overflow
HTML: app.html - i am trying to show the student details. I have a list of items in angular app.component.ts file which i...
Read more >
What is the reason for error typeerror _co.onclick is not a ...
Most likely the function that you're attaching the onclick to, doesn't exist on your component class.
Read more >
TJAL1de1.pdf.txt - TDX
Reproduction with lucrative aims is not authorized neither its spreading and ... Error Probability Constant False Alarm Rate Characteristic Function ...
Read more >
INNOVATION PROGRAMMES FOR BIO-BASED VALUE ...
A problem-driven innovation approach has been adopted to structure and analyse the selected bioeconomy concepts. The idea was to broaden the ...
Read more >
(PDF) Angular from theory to practice | Andrei Stanciu
Fixed error in the description of the useExisting provider type, this does return ... We covered: Environment How to use plnkr.co to write...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found