diff --git a/README.md b/README.md index e2876c1e2..49822f47c 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Loro is a [CRDTs(Conflict-free Replicated Data Types)](https://crdt.tech/) libra **Supported CRDT Algorithms** - πŸ“ Text Editing with [Fugue] -- πŸ“™ [Peritext-like Rich Text CRDT](https://loro.dev/blog/loro-richtext) +- πŸ“™ [Rich Text CRDT](https://loro.dev/blog/loro-richtext) - 🌲 [Moveable Tree](https://loro.dev/docs/tutorial/tree) - πŸš— [Moveable List](https://loro.dev/docs/tutorial/list) - πŸ—ΊοΈ [Last-Write-Wins Map](https://loro.dev/docs/tutorial/map) @@ -142,7 +142,6 @@ test('sync example', () => { Loro draws inspiration from the innovative work of the following projects and individuals: -- [Ink & Switch](https://inkandswitch.com/): The principles of Local-first Software have greatly influenced this project. The [Peritext](https://www.inkandswitch.com/peritext/) project has also shaped our approach to rich text CRDTs. - [Diamond-types](https://github.com/josephg/diamond-types): The [Event Graph Walker (Eg-walker)](https://loro.dev/docs/advanced/event_graph_walker) algorithm from @josephg has been adapted to reduce the computation and space usage of CRDTs. - [Automerge](https://github.com/automerge/automerge): Their use of columnar encoding for CRDTs has informed our strategies for efficient data encoding. - [Yjs](https://github.com/yjs/yjs): We have incorporated a similar algorithm for effectively merging collaborative editing operations, thanks to their pioneering work. @@ -152,4 +151,3 @@ Loro draws inspiration from the innovative work of the following projects and in [local-first]: https://www.inkandswitch.com/local-first/ [Fugue]: https://arxiv.org/abs/2305.00583 -[Peritext]: https://www.inkandswitch.com/peritext/ diff --git a/crates/loro-internal/src/container/richtext/richtext_state.rs b/crates/loro-internal/src/container/richtext/richtext_state.rs index ef7365a60..0cea11d35 100644 --- a/crates/loro-internal/src/container/richtext/richtext_state.rs +++ b/crates/loro-internal/src/container/richtext/richtext_state.rs @@ -1611,7 +1611,8 @@ impl RichtextState { result } - /// Find the best insert position based on algorithm similar to Peritext. + /// Find the best insert position based on the rich-text CRDT algorithm. + /// /// The result is only different from `query` when there are style anchors around the insert pos. /// Returns the right neighbor of the insert pos and the entity index. /// diff --git a/crates/loro-wasm/README.md b/crates/loro-wasm/README.md index bdf8f83b8..3f9da8c6e 100644 --- a/crates/loro-wasm/README.md +++ b/crates/loro-wasm/README.md @@ -56,7 +56,7 @@ Loro is a [CRDTs(Conflict-free Replicated Data Types)](https://crdt.tech/) libra **Supported CRDT Algorithms** - πŸ“ Text Editing with [Fugue] -- πŸ“™ [Peritext-like Rich Text CRDT](https://loro.dev/blog/loro-richtext) +- πŸ“™ [Rich Text CRDT](https://loro.dev/blog/loro-richtext) - 🌲 [Moveable Tree](https://loro.dev/docs/tutorial/tree) - πŸš— [Moveable List](https://loro.dev/docs/tutorial/list) - πŸ—ΊοΈ [Last-Write-Wins Map](https://loro.dev/docs/tutorial/map) @@ -137,7 +137,6 @@ test('sync example', () => { Loro draws inspiration from the innovative work of the following projects and individuals: -- [Ink & Switch](https://inkandswitch.com/): The principles of Local-first Software have greatly influenced this project. The [Peritext](https://www.inkandswitch.com/peritext/) project has also shaped our approach to rich text CRDTs. - [Diamond-types](https://github.com/josephg/diamond-types): The [Event Graph Walker (Eg-walker)](https://loro.dev/docs/advanced/event_graph_walker) algorithm from @josephg has been adapted to reduce the computation and space usage of CRDTs. - [Automerge](https://github.com/automerge/automerge): Their use of columnar encoding for CRDTs has informed our strategies for efficient data encoding. - [Yjs](https://github.com/yjs/yjs): We have incorporated a similar algorithm for effectively merging collaborative editing operations, thanks to their pioneering work. @@ -147,4 +146,3 @@ Loro draws inspiration from the innovative work of the following projects and in [local-first]: https://www.inkandswitch.com/local-first/ [Fugue]: https://arxiv.org/abs/2305.00583 -[Peritext]: https://www.inkandswitch.com/peritext/