Skip to content

Support for grapheme clusters in drafty.

Latest
Compare
Choose a tag to compare
@or-else or-else released this 29 Apr 23:25
  • Fix: correct parsing of grapheme clusters (thanks @dilshans2k)

The fix relies on Intl.Segmenter which is not supported by Firefox 124 and older. A polyfill must be used such
https://github.com/tinode/webapp/blob/7b15cf1f19eebe1ed98a244af2df36c256f30773/index.html#L26

<script crossorigin="anonymous" src="https://polyfill-fastly.io/v3/polyfill.min.js?features=Intl.Segmenter"></script>

If you use the SDK but not the official TinodeWeb app, then you have to update your app with the polyfill or it will fail in older FF. Or ask your users to upgrade FF to 125 (released April 15, 2024).

Full Changelog: v0.22.12...v0.22.13