Skip to content

Commit

Permalink
Update summernote.php
Browse files Browse the repository at this point in the history
  • Loading branch information
robiso authored Feb 3, 2019
1 parent 15eb962 commit 694be24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/summernote/summernote.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function initialSummerNoteVariables($contents) {
function loadSummerNoteJS($args) {
if (wCMS::$loggedIn) {
$script = <<<'EOT'
<script src="https://cdn.jsdelivr.net/npm/[email protected].11/dist/summernote.min.js" integrity="sha384-PhgMYQdqAZv2QCETJ8/VeYtc0g2UWXtMhJ8ADFdVLi/4k+czJ5TT6mEnrZSnkYFJ" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].8/dist/summernote.min.js" integrity="sha384-rv18XCwOLyh2rO/6Vz9eKWaSP+ljKfFed/npYlSg476id+996jfNDF+5iC3W5KKJ" crossorigin="anonymous"></script>
<script src="plugins/summernote/js/admin.js"></script>
EOT;
}
Expand All @@ -60,4 +60,4 @@ function loadSummerNoteCSS($args) {
}
$args[0].=$script;
return $args;
}
}

0 comments on commit 694be24

Please sign in to comment.