Handsontable V8.2.0

Released: Nov 12, 2020

V8.2.0 での更新項目

機能

  • Improved the defense mechanism against XSS attacks by using DOMPurify library which sanitizes HTML.
    • This library has been implemented to be used as a helper method: Handsontable.helper.sanitize, you can use this function to remove unwanted parts based on DOMPurify’s configuration in order to sanitize text the way you need.
    • By default, the helper leaves HTML tags but removes any potentially dangerous attributes.
  • Improved plugins - Added the architectural solution introduced in Handsontable 8.0.0 into the sorting plugin, giving it a more stable and predictable system for index management.

不具合の修正

  • Fixed an issue where the container was not updated after trimming rows.
  • Fixed an issue where the htmlToGridSettings helper threw an error if a <table> with no rows was passed.
  • Fixed an issue where the sorting indicator moved incorrectly when a column was added.
  • Fixed an issue where untrimming previously trimmed rows would sometimes result in the table instance not refreshing its height, leaving the row headers improperly rendered.
  • Fixed an issue where the hidden columns plugin caused unintended scrolling when some cells were hidden.
  • Fixed an issue where an error was thrown while hovering over row/column headers.
  • Fixed an issue where table validation caused incorrect data rendering if the hidden rows/column plugin was enabled.
  • Fixed an issue where adding 0 rows to the table ended with doubled entries in index mappers’ collections.
  • Fixed a problem with the inconsistent behavior of the Context Menu’s “Clear column” disabled status.
  • Fixed an issue with parsing multiline cells on pasting text/html mime-type.