Skip to content

Commit

Permalink
Remove bootstrap5.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Dec 15, 2023
1 parent a279de4 commit 585d924
Show file tree
Hide file tree
Showing 20 changed files with 4,807 additions and 3,069 deletions.
6 changes: 3 additions & 3 deletions src/Asset/SummernoteAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public function init(): void

$language = Yii::$app->language;

$assetCss = YII_ENV === 'prod' ? 'css/summernote-bs5.min.css' : 'css/summernote-bs5.css';
$assetJs = YII_ENV === 'prod' ? 'js/summernote-bs5.min.js' : 'js/summernote-bs5.js';
$assetCss = YII_ENV === 'prod' ? 'css/summernote.min.css' : 'css/summernote.css';
$assetJs = YII_ENV === 'prod' ? 'js/summernote.min.js' : 'js/summernote.js';
$assetLang = YII_ENV === 'prod' ? "lang/summernote-$language.min.js" : "lang/summernote-$language.js";

$this->css[] = $assetCss;
Expand All @@ -54,7 +54,7 @@ public function init(): void
$only = array_merge(
$only,
YII_ENV === 'prod'
? ['css/summernote-bs5.min.css.map', 'js/summernote-bs5.min.js.map'] : ["lang/summernote-$language.js.map"]
? ['css/summernote.min.css.map', 'js/summernote.min.js.map'] : ["lang/summernote-$language.js.map"]
);

$this->publishOptions['only'] = $only;
Expand Down
Binary file modified src/Asset/css/font/summernote.eot
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Asset/css/font/summernote.hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9fe8a4284ea6542e5b857380d2288fbd
e678f5988d1e5c1be706eda1912bf3cb
1 change: 1 addition & 0 deletions src/Asset/css/font/summernote.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/Asset/css/font/summernote.ttf
Binary file not shown.
Binary file modified src/Asset/css/font/summernote.woff
Binary file not shown.
Binary file modified src/Asset/css/font/summernote.woff2
Binary file not shown.
Loading

0 comments on commit 585d924

Please sign in to comment.