Last active
June 16, 2020 21:44
-
-
Save drbyte/5e36419a4582080f530c92e1f4a6809f to your computer and use it in GitHub Desktop.
ckeditor fix for very old implementations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Look at your /admin/includes/ckeditor.php file | |
// REMOVE THESE TWO LINES: | |
<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> | |
// REPLACE THEM WITH THIS LINE: | |
<script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"><\/script>');</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment