Skip to content

Syntax.js v3.1.0 - Improved options! UI enhancements! Fixes!

Latest
Compare
Choose a tag to compare
@william-troup william-troup released this 06 Sep 12:33
60ad74c

Building Options:

  • BREAKING: All "highlight" binding options have now been moved into a new object called "highlight" (for example, "highlight.keywords").
  • BREAKING: All "button" binding options have now been moved into a new object called "buttons" (for example, "buttons.showCopy" and "buttons.maximum").
  • The binding option "maximumButtons" (now "buttons.maximum") is now checked as larger or equal to so that the buttons can be hidden for the Copy/Print buttons by default.

UI Improvements:

  • When tabbing is enabled, switching tabs now shows a nice fade-in transition.

General Improvements:

  • Added new rules to enforce stricter types across the code base.
  • Added missing types in the "constant.ts" file.
  • Added an ignore path for ".DS_Store" files when packing the NuGet package.
  • Moved from ES2016 to ES2020.
  • Updated all the NPM packages to the latest versions.
  • Improved the way that custom button classes are assigned to the custom buttons.
  • Improved the way that events are assigned.

Fixes:

  • Fixed an issue that caused the buttons in the display to use the wrong font.