This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
Releases: mkaz/code-syntax-block
Releases · mkaz/code-syntax-block
v3.2.1 - Allow theme.json to override CSS
Fixes #140 - Reduces CSS specificity for block to allow theme.json to override margin, padding, and borders.
Props to @andersnoren
v3.2.0 - Fix content preserving white space
Fix compatibility issue with WordPress 6.5
Fix in #138 thanks @chandan-tudu
v3.1.1 - Trailing comma
#133 Fixes issue with PHP 7 and trailing comma in function parameters
v3.1.0 - Settings page
This release adds a new settings page in the Dashboard that allows setting the global color scheme and a default language. The color scheme setting was moved out of the editor on a per block basis since it effects the whole site when changed.
- Update Prism to v1.28.0
v3.0.0 - Editor improvements
- Remove support pre WP 5.6
- Editor view: Show dark background
- Editor view: Show labels above code block
- Publish view: Fix line number alignment
- Publish view: Remove border from code Twentytwentytwo
- Chore: Update dependencies
v2.2.0 - Upgrade Prism to 1.25.0
Upgrades Prism version to 1.25.0
v2.1.1 - Fix undefined index issue
- Fixes an issue on archive pages created by Beaver Builder #112
Props to @DeveloperWil for reporting
v2.1.0 - Background color
- Applies background color to all pre.wp-block.code blocks
- Fixes issue with light color text on light background if no language specified, for example a site with existing code blocks
- Fixes #106 and #94
v2.0.4 - Paste Plain Text
- Fixes issue with pasting plain text (#105 and #104)
- Removes formatting options in toolbar
v2.0.3 - More TT1 Compatibility Updates
Fixes a couple of compatibility issues with TwentyTwentyOne theme
- Default text not showing with dark mode enabled #98
- Line numbers not showing #99