Is there any way to add react component in marks? if not possible then how I can convert marks to node scheme?
Ref:
return ['a', attrs];
No, that is not supported. Also, these may only be plain wrapper elements, so there is really to need to use React to create them.
How can we achieve this?