Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: typo in reactive text (#9260)

Saul-Mirone17e6e7fedeaf
diff --git a/blocksuite/framework/store/src/reactive/text.ts b/blocksuite/framework/store/src/reactive/text.ts
index 758161f34e..2fe8e45dac 100644
--- a/blocksuite/framework/store/src/reactive/text.ts
+++ b/blocksuite/framework/store/src/reactive/text.ts
@@ -160,7 +160,7 @@ export class Text {
'Failed to insert text! Index or length out of range, index: ' +
index +
', length: ' +
- length +
+ content.length +
', text length: ' +
this._yText.length
);