When activating AdvAgg on https://biolin.com everyithing is OK except the fact that CKEditor is no longer Working on my PRoducts pages !

Wysiwyg version : 7.x-2.4
CKEDITOR version (located in the folder sites/all/libraries ) : CKEditor 3.6.1.7072

Any idea what could be wrong ?

It's quite embarrassing as for every product changes I need to deactivate AdvAgg module ... Grrr....

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aumcara created an issue. See original summary.

aumcara’s picture

Priority: Major » Normal
mikeytown2’s picture

You can always hit a page with ?advagg=-1 to completely disable advagg if needed.

When you created this issue did you see this? Could you go to your Products page and get a HAR or zip of the webpage as well as any console errors?

(bug report/support request)

aumcara’s picture

Thanks Mikey

No I didn't ...

I will look into it and get back.

I LOVE DRUPAL !

mikeytown2’s picture

Could be an issue with jsmin; see #2928777: Jsmin pecl: CKEditor does not always load

mikeytown2’s picture

Status: Active » Postponed (maintainer needs more info)
mikeytown2’s picture

Any updates on this? Can you reproduce it and capture it (see #3).

mikeytown2’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Reopen if you can reproduce and capture this (har file).

IshaDakota’s picture

Status: Closed (cannot reproduce) » Active
FileSize
14.78 KB
260.76 KB
356.76 KB

Piggy backing this issue as it seems to be the same problem. With (certain parts) of AdvAgg enabled, the CKeditor does not render in the text area.

I encounter this issue with the latest version of the CKEditor module (version 7.x-1.8) and the latest CKeditor library (//cdn.ckeditor.com/4.5.4/full-all). Following the instructions at: https://groups.drupal.org/node/517292.

I can also confirm that the issue only happens after completing the "AdvAgg Modifier" step. When choosing "Use recommended (optimized) settings", the issue occurs; but when choosing "Use default (safe) settings", it does not.

- HAR, HTML, and console screenshot attached.

mbatterton’s picture

I was able to pinpoint this to:

/admin/config/development/performance/advagg/mod

Adjust javascript location and execution: Move JS to the footer
change: "All but JavaScript Libraries" to "All but what is in the $all_in_footer_list"

I hope this is useful to someone else.

mikeytown2’s picture

Version: 7.x-2.30 » 7.x-2.x-dev
Status: Active » Needs review
FileSize
586 bytes

This should fix the first console error from #9. Hopefully with the har file I can test it.

  • mikeytown2 committed a3fb00c on 7.x-2.x
    Issue #2938635 by mikeytown2, IshaDakota: CKEDITOR not working when...
mikeytown2’s picture

Status: Needs review » Fixed

After going though the har file from #9 patch in #11 has a decent chance of fixing the issue. There might be some oddities with the minified ckeditor but hard to tell. When not using the full ckeditor it loads the editor. 499kb js ckeditor works; 545kb js ckeditor is broken still. This is for 4.5.4. Going to mark this as fixed though as this appears to have been the issue; not using jquery update with ckeditor.

https://github.com/ckeditor/ckeditor4/tree/4.5.4

https://ckeditor.com/ckeditor-4/download/releases/
https://download.cksource.com/CKEditor/CKEditor/CKEditor%204.5.4/ckedito...

https://ckeditor.com/ckeditor-4/download/
https://download.cksource.com/CKEditor/CKEditor/CKEditor%204.5.4/ckedito...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.