Initial value?See original GitHub issue
I see the initial value inside Client is set to
. How is the editor initialized with a non-empty array initial value? I’m seeing
Uncaught Error: Cannot get the start point in the node at path  because it has no start text node. with a basic setup.
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
Was able to figure it out - seems like adding initial content to the document is possible, but only after the component has mounted - otherwise, the YJS doc and slate
value may be out of sync.