-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lorotext.toDelta must be attached? #661
Comments
resolve lorotext.toDelta must be attached? #661
It will be fixed in the next version. |
* fix: detached loro text issues resolve lorotext.toDelta must be attached? #661 * chore: changeset and update test * chore: fix warnings
i tried 1.4.4, but the error still occurs. |
You're probably using a local cached version of Loro. If you're using vite, please use |
Oh, sorry, it's not released yet. Will be fixed in 1.4.5 |
ok. |
np |
version:1.4.3
let lt=new LoroText
lt.insert(0,"abcdef")
console.log('delta',lt.toDelta())
throws:
loro_wasm_bg.js:6384 panicked at crates/loro-internal/src/handler.rs:1346:17:
not implemented: Detached text container does not have version id
Stack:
Error
at __wbg_new_abda76e883ba8a5f (http://localhost:5173/node_modules/.vite/deps/chunk-ZPNZOQIA.js?v=07954cb6:6507:15)
at wasm://wasm/00b9e10a:wasm-function[1327]:0x1844a2
at wasm://wasm/00b9e10a:wasm-function[8802]:0x2bee43
...
toDelta() need the container attached?
The text was updated successfully, but these errors were encountered: