Skip to content

Commit

Permalink
Merge pull request #340 from KevinBatdorf/release/1.26.6
Browse files Browse the repository at this point in the history
Release 1.26.6
  • Loading branch information
KevinBatdorf authored Sep 30, 2024
2 parents 471fbe4 + 322fc41 commit 964c8f7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code-block-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://code-block-pro.com/?utm_campaign=plugin&utm_source=author-uri
* Requires at least: 6.0
* Requires PHP: 7.0
* Version: 1.26.5
* Version: 1.26.6
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: code-block-pro
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"postcss-safe-important": "2.0.1",
"prettier": "3.3.3",
"replace-in-file": "8.2.0",
"rtlcss-webpack-plugin": "^4.0.7",
"tailwindcss": "3.4.13",
"typescript": "5.6.2",
"webpack": "^5.95.0"
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: kbat82, dcooney
Tags: block, code, syntax, highlighter, php
Tested up to: 6.6
Stable tag: 1.26.5
Stable tag: 1.26.6
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -313,6 +313,9 @@ Themes are rendered inside the editor as you type or make changes, so the code b

== Changelog ==

= 1.26.6 - 2024-09-30 =
- Fixes a bug related to rtl being applied by the webpack wp config

= 1.26.5 - 2024-09-30 =
- Adds option to disable php shortcode rendering
- Updates test element targeting to target new WP classes
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
const defaultConfig = require('@wordpress/scripts/config/webpack.config');
// eslint-disable-next-line no-undef
const CopyPlugin = require('copy-webpack-plugin');
// eslint-disable-next-line no-undef
const RtlCssPlugin = require('rtlcss-webpack-plugin');

// eslint-disable-next-line no-undef
module.exports = {
Expand All @@ -12,7 +14,9 @@ module.exports = {
host: 'wordpress.test',
},
plugins: [
...defaultConfig.plugins,
...defaultConfig.plugins.filter(
(filter) => !(filter instanceof RtlCssPlugin),
),
new CopyPlugin({
patterns: [
{ from: 'node_modules/shiki', to: 'shiki' },
Expand Down

0 comments on commit 964c8f7

Please sign in to comment.