diff --git a/CHANGELOG.md b/CHANGELOG.md index 47ad256..188bf71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.22.4] - 2024-05-07 + +### Added +- added Font Awesome 5 as a library to codeview + + ## [0.22.3] - 2023-04-14 ### Fixed diff --git a/package.json b/package.json index 5a5768c..0adc9be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "templateq", - "version": "0.22.3", + "version": "0.22.4", "description": "Wordpress theme to power qnipsel", "main": "webpack.config.js", "scripts": { diff --git a/src/fractals/bulma/codeview.php b/src/fractals/bulma/codeview.php index de79557..6cc0703 100644 --- a/src/fractals/bulma/codeview.php +++ b/src/fractals/bulma/codeview.php @@ -37,6 +37,15 @@ function templateq_codeview_block($title, $html, $css, $css_libs, $js, $js_libs) + +
+
+
CSS
+
FA5
+
+
+ +
@@ -154,6 +163,10 @@ function templateq_codeview_block($title, $html, $css, $css_libs, $js, $js_libs) iframeDocument.write(''); + + iframeDocument.write(''); + + iframeDocument.write(''); diff --git a/src/functions.php b/src/functions.php index 35f3088..2614021 100644 --- a/src/functions.php +++ b/src/functions.php @@ -3,7 +3,7 @@ /** Set version * Used for cachebusting JS/CSS */ -$GLOBALS['qnipsel_version'] = '0.22.3'; +$GLOBALS['qnipsel_version'] = '0.22.4'; /** Custom Fields * Set up the Custom Fields plugin and define some fields. diff --git a/src/include/fields.php b/src/include/fields.php index a46b203..13ff618 100644 --- a/src/include/fields.php +++ b/src/include/fields.php @@ -106,6 +106,7 @@ function templateq_message_field() Field::make('multiselect', 'css_libs', 'CSS Libraries') ->add_options(array( 'bootstrap' => 'Bootstrap', + 'fa5' => 'Font Awesome 5', 'mmenu' => 'mmenu', 'slick' => 'Slick', 'swiper' => 'Swiper'