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.

when blurring "source toolbar " edit area,CKEDITOR.focusManager errors happend

See original GitHub issue

Hi, I use “ng2-ckeditor”: “^1.1.6”,and “@angular/cli”: “1.0.0”,

and

public ckeditorConfigJson = {uiColor: '#666666'};

     <ckeditor
      formControlName="ckContent"
      [config]="ckeditorConfigJson"
      debounce="500">
    </ckeditor>

When I click on the source button, enter the source mode, once the mouse left the edit area, this error occurs

zone.js:169 Uncaught TypeError: Cannot read property '$' of undefined
    at CKEDITOR.focusManager.d (ckeditor.js:238)
    at CKEDITOR.focusManager.<anonymous> (ckeditor.js:238)
    at ckeditor.js:28
    at ZoneDelegate.invokeTask (zone.js:398)
    at Zone.runTask (zone.js:165)
    at ZoneTask.invoke (zone.js:460)
    at timer (zone.js:1540)
d @ ckeditor.js:238
(anonymous) @ ckeditor.js:238
(anonymous) @ ckeditor.js:28
ZoneDelegate.invokeTask @ zone.js:398
Zone.runTask @ zone.js:165
ZoneTask.invoke @ zone.js:460
timer @ zone.js:1540
zone.js:169 Uncaught TypeError: Cannot read property '$' of undefined
    at CKEDITOR.focusManager.d (ckeditor.js:238)
    at CKEDITOR.focusManager.<anonymous> (ckeditor.js:238)
    at ckeditor.js:28
    at ZoneDelegate.invokeTask (zone.js:398)
    at Zone.runTask (zone.js:165)
    at ZoneTask.invoke (zone.js:460)
    at timer (zone.js:1540)
d @ ckeditor.js:238
(anonymous) @ ckeditor.js:238
(anonymous) @ ckeditor.js:28
ZoneDelegate.invokeTask @ zone.js:398
Zone.runTask @ zone.js:165
ZoneTask.invoke @ zone.js:460
timer @ zone.js:1540

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
kzimnycommented, May 6, 2018

Please use the full-all version with all included plugins: <script src="https://cdn.ckeditor.com/4.9.2/full-all/ckeditor.js"></script> Look at online ng2-ckeditor demo.

0reactions
l-ningcommented, Aug 10, 2018

@kzimny yes,Download this plug-in to report an error , It’s available online

Read more comments on GitHub >

github_iconTop Results From Across the Web

CKEditor.editable.blur or other scheme to detect user "left the ...
We have tried doing "force blur" but that seems to cause issues with intermediate editor data states. I noted there's a CKEditor.editable.blur ......
Read more >
Focus tracking - CKEditor 5 Documentation
Click the editable area of the editor and then click somewhere else — the isFocused property will change its value when you do...
Read more >
3856 (Pressing the source toolbar button doesn't focus right)
On focus the CKEditor should have a blue box around it. On blur it's gone. When clicking on the "edit source" button the...
Read more >
BLUR and FOCUS events not correct | CKEditor.com Forums
At 100, we still get issues with a button in our UI being executed before the editor's blur event fires and so we...
Read more >
Class Editor (CKEDITOR.editor) - CKEditor 4 API docs
CKEditor 4 API Documentation. The Class Editor. Represents an editor instance. This constructor should be rarely used in favor of the CKEDITOR editor...
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