How to parse only marks?

Hello, I’m trying to create a parser for my schema. For the block content, I’m making a custom one, but for the marks in the text, I’d like to just use the default schema parser. Is there a way to do this currently or do I have to build the marks parser as well.

The topNode parse option allows you to parse into any node. If you pass one that allows the content you want to parse, you should be able to use the content of the resulting node to construct your document.