Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.26.6 #340

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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