Sensei
- Join Date:
- Jan 2004
- Posts:
- 63,513
- Plugin Contributions:
- 176
CKEditor stopped working?
You can also install the updated plugin which not only skips Google's outdated jsapi but also calls CKE from their CDN
Views: 8,854
Sensei
You can also install the updated plugin which not only skips Google's outdated jsapi but also calls CKE from their CDN
New Zenner
<?php /* ****** commented out as jsapi loader has been deprecated by Google ****** <script type="text/javascript" src="<?php echo (strstr(HTTP_SERVER, 'ttps:') ? 'https' : 'http'); ?>://www.google.com/jsapi"></script> <script type="text/javascript">if (typeof jQuery == 'undefined') google.load("jquery", "1");</script>Ryk:
It's Google's fault!
The CKEditor problem (and likely the others) is caused by loading modules with the jsapi loader being deprecated by Google, thus leaving the editor missing a required jQuery library.
That said, we've found it only affects ZC versions prior to 155 so it's not entirely Google's fault - you can't blame them if you're running relatively ancient software.
Uploading the newer CK Editor is unlikely to fix the problem on ZC154 so if you're not going to upgrade the site, you can fix the old module (v3.7e )
admin/includes/ckeditor.php
Replace lines 20/21 with
*/ ?>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>>
>
>
Thanks Ryk, now working fine in 1.5.1 version.
Tell staff why this post should be reviewed.