Skip to content

Instantly share code, notes, and snippets.

@jitendrapurohit
Created September 26, 2022 11:48
Show Gist options
  • Save jitendrapurohit/be76843783ca011a23c0ac4be83cede4 to your computer and use it in GitHub Desktop.
Save jitendrapurohit/be76843783ca011a23c0ac4be83cede4 to your computer and use it in GitHub Desktop.
diff --git a/src/BlazyAlter.php b/src/BlazyAlter.php
index e764945..86c1821 100644
--- a/src/BlazyAlter.php
+++ b/src/BlazyAlter.php
@@ -148,7 +148,7 @@ class BlazyAlter {
*/
public static function ckeditorCssAlter(array &$css, Editor $editor): void {
if (self::isCkeditorApplicable($editor)) {
- $path = Blazy::getPath('module', 'blazy', TRUE);
+ $path = Blazy::getPath('module', 'blazy');
$css[] = $path . '/css/components/blazy.media.css';
$css[] = $path . '/css/components/blazy.preview.css';
$css[] = $path . '/css/components/blazy.ratio.css';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment