Skip to content

Releases: yairEO/tagify

v4.36.0

17 Jan 19:13

Choose a tag to compare

  • README typos fixes 2bb3f89
  • updated basic example to showcase content HTML escaping 1d488c7
  • fixes #1411 - Fix XSS vulnerability in tag content rendering 097451e
  • Refactor code formatting in index.html to improve readability and consistency; update class attributes for syntax highlighting and escape HTML entities in JavaScript snippets. bb0a7f1
  • Update Prism.js and CSS theme versions; adjust code block formatting in section.njk to escape injected JS content so strings won't suddenly become HTML tags. this also solves #1439 611cda3
  • Add watchHomepage task to gulpfile for monitoring homepage changes b2b46bb
  • updated packages & browserlist 1de456e
  • fixes #1486 - Mix mode: allow pasted content to be converted into a tags (if exists in the whitelist) 733bb7d
  • fixes #1482 - Backspace key does not remove tag in mix-mode 679cec1
  • added .cursor files bb17daf
  • added to gitignore e2a7451
  • CSS: Correct capitalization of translateX 5a65c20
  • Update README.md f5f0006
  • Improved implementation of a11y.inputAriaLabel 9ba7fe4
  • Implemented improvements 4f468d5
  • Add new label setting for accessibility d041b5f

v4.35.6...v4.36.0

v4.35.6

15 Nov 16:37

Choose a tag to compare

  • fixes #1480 - Tab key does not change focus when there is nothing to add 43545b0
  • fixes #1478 - should not fire "remove" event on initialization c0516e4
  • Refactor injectAtCaret and appendMixTags methods da01636
  • Remove debug log from events.js 2af8763

v4.35.5...v4.35.6

v4.35.5

02 Nov 07:22

Choose a tag to compare

  • fixes #1476 - added "min-height" for the input element, which is relative to the (inherited) line-height. 05a8920
  • fixes #1475 - Pressing Tab enters tag correctly but tagify input loses focus 224be27

v4.35.4...v4.35.5

v4.35.4

28 Aug 09:47

Choose a tag to compare

  • fixes #1480 - prevent new line creation when a tag is added in the events handler b0e38e1
  • fixes #1469 - "add" event not fired in mix-mode 8a9d01c
  • fixes #1470 - removed wrongly documented function which does not exists 661b768

v4.35.3...v4.35.4

v4.35.3

21 Jul 17:07

Choose a tag to compare

  • fixes #1465 - originalInputValueObserverInterval reading should be safer using this.listeners?.main?.originalInputValueObserverInterval 6d95cd3
  • fixes #1466 - injectAtCaret should be protected against injections outside the current tagify instance abc647e

v4.35.2...v4.35.3

v4.35.2

12 Jul 13:13

Choose a tag to compare

  • fixes #1458 - fix press enter to break line before a tag in mixed mode 4a0fb41
  • minor improv 9a661c7
  • fixes #1454 - setting readonly to false (when initially was true) does not re-bind events 213853d
  • fixes #700 - removing tags when the style --tag-hide-transition: 0s is set does not trigger the remove event before the tagify.value is actually modified dadc927
  • fixes #700 - removing tags when the style --tag-hide-transition: 0s is set does not trigger the remove event before the tagify.value is actually modified 80c0cd7
  • refactor: update update method to accept a callback and added a call to tgigger the 'remove' event when removeAllTags is called ccb350f
  • moved UPDATE_DELAY to the constants file and trigger 'remove' event in removeAllTags db48a47

v4.35.1...v4.35.2

v4.35.1

08 May 10:26

Choose a tag to compare

  • Fix "TypeError: Cannot destructure property 'added' of 'compareStrings(...)' as it is undefined." bug eef4bac

v4.35.0...v4.35.1

v4.35.0

23 Apr 13:42

Choose a tag to compare

  • refactor: simplify isNodeTag function for improved readability 5f1c50d
  • fixed readonly & disabled so it is now impossible to interact with the Tagify component when these states are set. It was previously possible to edit things when tabbing "into" them 704b3b7
  • refactor: remove unnecessary data-can-editable attribute from tag template 1290dee
  • undid last change. the user should control this from the outside. fbd51e6
  • fix: if userInput is false, only set dropdown.enabled = 0 if dropdown.enabled setting was not intentionally set to false/null/undefined, which indicates the user does not want to show it no matter what 4fb2331
  • refactor: update contenteditable attributes to use data-can-editable so "setContentEditable" method could work properly regardless of the contenteditable attribute existance ced5432
  • disabled tagify with a placeholder should still show the placeholder text, but only if there are no tags c69ec4d

v4.34.0...v4.35.0

v4.34.0

09 Apr 17:17

Choose a tag to compare

  • fixes #1434 - className prop can be undefined which throws an error when calling "compareStrings" in the className useEffect 281946e
  • fixes #1443 - readonly select-mode is focusable and editable by being focused-into using "tab" 7bdc781
  • fixes #1444 - if the tagify field has a fixed width with an overflow and it is set not to wrap the tags, (then the new) focusInputOnRemove setting should be set to false 0716ed8
  • fixes #1261 - tags do not align as expected when the tagify container with height set to it 8b3a30b
  • fixes #1261 - tags do not align as expected when the tagify container with height set to it 6930e19
  • fixes #1383 - if tagify container has padding, the dropdown is opened and closed immediately f060eae

v4.33.2...v4.34.0

v4.33.2

26 Jan 10:55

Choose a tag to compare

  • fixes #1435 - added /src/tagify.scss file to the "exports" property in package.json file 311dc0e

v4.33.1...v4.33.2