I have created a slice with a RichText field, the model is saved locally and pushed Prismic.
Whilst in the CMS however, after adding the RichText slice to a document, I am unable to fill in any content longer than the first text / element.
When adding a RichText field to a document (not through slice machine) I can successfully use line returns, add additional headers and paragraphs as expected.
There is a console error being raised:
Uncaught TypeError: Cannot read property 'validContent' of undefined
at t.canSplit (main.js:370)
at Array.B (main.js:334)
at main.js:334
at n.<anonymous> (main.js:456)
at main.js:456
at k.someProp (main.js:456)
at N.keydown (main.js:456)
at HTMLDivElement.e.dom.addEventListener.e.eventHandlers.<computed> (main.js:456)
at HTMLDivElement.a (main.js:329)
The project was created using slice-library-starter-next.
I've just added a richText field with a different field ID, but the editable rich text fields when editing the document within the CMS still throw the same error.