I’m using the CALLBACK_URL functionality included in y-websocket. I’m trying to receive a full representation of richtext in the YText object that was just modified, including attributes. However, the toJSON() function that the callback calls on the YText produces a string with no attributes. It’s the same string toString() produces.
Am I doing something wrong here, or how do I get the full attribute representation of YText richtext?
Thanks for any help!