Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Releases: mkaz/code-syntax-block

v2.0.2 - Compatibility updates

19 Dec 15:24
64d9471
Compare
Choose a tag to compare
  • Remove default font sizes, allows to be set in editor
  • Tested for WP 5.6
  • Update package dependencies
  • Restore assets/prism.css for backward compatibility

v2.0.1 - Fix alignment

29 Oct 15:55
c580e25
Compare
Choose a tag to compare
  • Fix alignment in TwentyTwenty

v2.0.0 - Color schemes

27 Oct 02:26
dad08e7
Compare
Choose a tag to compare
  • Adds ability to switch color schemes in editor
  • Upgrade to Prism 1.22
  • Fixes compatibility issue with WP 5.6 and Gutenberg 9.2 plugin

v.1.3.6 - Update languages

19 Oct 13:57
2ef0c55
Compare
Choose a tag to compare

This updates the Prism language components adding support for new languages, this step was missed during the Prism 1.21 update.

v1.3.5 - Rusty!

06 Sep 14:16
24f6c75
Compare
Choose a tag to compare
  • Upgrade Prism to 1.21
  • Fix issue with CSS in title
  • Add Rust as part of default languages (h/t @ddziaduch)

v1.3.4 - Fix default language

12 Aug 21:48
Compare
Choose a tag to compare

PR #78 - Fix default language filter, add useEffect hook to set default languages. Fixes #77

v1.3.3 - Fix block validation and user roles

31 May 13:54
Compare
Choose a tag to compare
  • Add kses filter to allow lang attrib in code tag - This fixes and issue for posts authored by a user role with low permissions the language attribute when be stripped out leading to a block invalidation error.

v1.3.2 - Fix empty posts

26 May 15:35
a702d75
Compare
Choose a tag to compare
  • Fixes issue with PHP warning when no posts (#72)
    Props @dd32

v1.3.1 - Compatibility Fix

22 Apr 20:25
Compare
Choose a tag to compare
  • Fixes a compatibility with Gutenberg 7.9 and the new light wrapper
  • Removes in editor syntax preview

v1.3.0 - Live Preview

14 Mar 15:41
56561ce
Compare
Choose a tag to compare
  • Add live preview to see syntax highlighting in editor
  • Upgrade Prism to 1.19