Hey there, I'm trying to figure out how I can listen to content changes both in the RichTextView and the MarkdownView so that I can use the rendered HTML and update a form field with it. In other frameworks, you can add a callback when instantiating the editor or you can listen to custom events like data:change. I'm struggling to understand how Stacks-Editor allows users to react to state changes really. Would you mind clarifying this part, please?
Hey there, I'm trying to figure out how I can listen to content changes both in the RichTextView and the MarkdownView so that I can use the rendered HTML and update a form field with it. In other frameworks, you can add a callback when instantiating the editor or you can listen to custom events like
data:change. I'm struggling to understand how Stacks-Editor allows users to react to state changes really. Would you mind clarifying this part, please?