Skip to content

Releases: mkaz/code-syntax-block

v3.2.1 - Allow theme.json to override CSS

08 May 11:01
Compare
Choose a tag to compare

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

02 May 02:06
Compare
Choose a tag to compare

Fix compatibility issue with WordPress 6.5

Fix in #138 thanks @chandan-tudu

v3.1.1 - Trailing comma

24 Jun 12:59
0826a0a
Compare
Choose a tag to compare

#133 Fixes issue with PHP 7 and trailing comma in function parameters

v3.1.0 - Settings page

23 Jun 14:17
c795368
Compare
Choose a tag to compare

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

29 Jan 15:49
f23a3ca
Compare
Choose a tag to compare
  • 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

31 Oct 14:14
a1623d5
Compare
Choose a tag to compare

Upgrades Prism version to 1.25.0

v2.1.1 - Fix undefined index issue

18 Sep 13:59
18a9d30
Compare
Choose a tag to compare
  • Fixes an issue on archive pages created by Beaver Builder #112
    Props to @DeveloperWil for reporting

v2.1.0 - Background color

17 Jul 02:54
aee25bf
Compare
Choose a tag to compare
  • 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

14 Jul 00:27
c0764c4
Compare
Choose a tag to compare
  • Fixes issue with pasting plain text (#105 and #104)
  • Removes formatting options in toolbar

v2.0.3 - More TT1 Compatibility Updates

26 Mar 23:04
dd68546
Compare
Choose a tag to compare

Fixes a couple of compatibility issues with TwentyTwentyOne theme

  • Default text not showing with dark mode enabled #98
  • Line numbers not showing #99