mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-23 05:24:51 +00:00
cb8bbefb08
This pull request fixes an issue where the emitted utf16 events were wrong when deleting an emoji in wasm. The problem was caused by incorrect calculation of the event range. This PR updates the code to use the correct range and adds a new test case to ensure the issue is fixed. |
||
---|---|---|
.. | ||
checkout.test.ts | ||
event.test.ts | ||
misc.test.ts | ||
richtext.test.ts | ||
version.test.ts |