Skip to content

Releases: KevinBatdorf/code-block-pro

1.22.0

23 Jul 01:24
a0e32de
Compare
Choose a tag to compare
  • Feature: Added tab support in the editor, with spacing options
  • Feature: Added a way to convert back into a core code block
  • Feature: Added the Non-Ligature version of Jetbrains Mono
  • Fix: Fixed a spacing issue with tabs + line numbers
  • Fix: Fixed a bug where the line highlighter would calc the longest highlighted line rather than longest line
  • Tweak: Added pointer-events none to line blurs that are not removed on hover

1.21.0

10 Jul 00:16
230998d
Compare
Choose a tag to compare
  • Feature: Added a second copy button to choose from
  • Feature: Added a tab size setting for when using the editor to add code. Defaults to 2 spaces.
  • Tweak: Adjusts the highlight offset for comic mono

1.20.0

26 Jun 00:18
8ae92d9
Compare
Choose a tag to compare
  • Feature: Added the following languages: Ledger (Beancount), Cypher (cql), Glimmer js/ts, JSONL, Narrat (nar), Nextflow (nf), Vyper (vy)
  • Fix: Fixes an issue in the editor where some languages output an empty span tag that breaks the line number flow.

1.19.0

19 Jun 02:52
b633319
Compare
Choose a tag to compare
  • Feature: Add Fantasque Sans Mono (https://github.com/belluzj/fantasque-sans)
  • Feature: Add Comic Mono font (https://github.com/dtinth/comic-mono-font)
  • Tweak: Default to Jetbrains Mono font
  • Tweak: Rename the "Styling" panel to "Font Styling"
  • Tweak: Remove line highlights on hover when blurred
  • Tweak: Add minor adjustments for fonts to normalize line heights
  • Fix: Block will be auto-focused on insert - WP6.2 regression
  • Fix: Line highlight hover width was not rendering correctly
  • Fix: Line highlighter will find the longest line to use as the highlighter width

1.18.0

29 May 02:22
02e158d
Compare
Choose a tag to compare
  • Feature: Adds option to output html entities
  • Tweak: Creates a new button settings area to support more buttons (coming soon)
  • Tweak: Changes copying class to cbp-copying
  • Fix: Fixed a bug where default settings weren't saving

1.17.0

07 May 00:01
Compare
Choose a tag to compare
  • Feature: Add line highlighting on hover
  • Tweak: Updated the line highlighting sidebar language to be more clear (hopefully)
  • Fix: Removed pointer events from line highlights so you can select text under it
  • Fix: Adds styling to avoid CLS in the editor on page load

1.16.1

01 May 12:47
176a669
Compare
Choose a tag to compare
  • Tweak: Removes the filtering of bash and zsh filtering
  • Fix: Better language sorting (by label instead of key)
  • Fix: Fix typo in Wolfram language key

1.16.0

30 Apr 23:55
4b1b529
Compare
Choose a tag to compare
  • Feature: Added new language grammars: GD Script, GD Resource, GD Shader, GLSL, Http, Jison, JSON5, Kusto (kql), Protocol Buffers (.proto), Windows Registry (.reg), V, WGSL, and Wolfram
  • Tweak: Removed toolbar language select and added functionality to focus on the sidebar setting
  • Refactor: Moved header/footer settings out of the language select into their own panels

1.15.0

09 Apr 02:23
6dc9c4a
Compare
Choose a tag to compare
  • Feature: Add notice to users who do not have permission to update
  • Feature: Added hooks to allow users to add their own themes (or via the theme pack)
  • Feature: Add plaintext option to allow rendering as text

1.14.0

27 Mar 00:08
ad5c2d7
Compare
Choose a tag to compare
  • Feature: Added theme identifier to toolbar
  • Feature: Added some filters for attributes and buttons
  • Tweak: Updated various styles
  • Testing: Updated Cypress to test against latest RC on main push
  • Testing: Integration tests now run concurrently to isolate flakey failures
  • Fix: Added custom endpoint for settings, allowing edit_post cap users
  • Fix: Removed a type conversion to false, causing dirty posts on focus
  • Accessibility: Added keydown events to frontend copy button