You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, I'm trying to integrate an LLM-generated response into my project, but I'm stuck on a issue.
I want to select a chunk of text and send it off to an LLM, and it comes back in Markdown form. The trouble starts when I decode that Markdown with ParchmentMarkdownCodec().decode because I have no idea how to actually replace the selected text in the editor with all the styling intact. If it were just a simple string, I'd have no problem.
Im not finding enough details in the documentation to handle the Markdown output properly.
How to make the editor’s controller update with the newly styled content?
Thanks
The text was updated successfully, but these errors were encountered:
Hello everyone, I'm trying to integrate an LLM-generated response into my project, but I'm stuck on a issue.
I want to select a chunk of text and send it off to an LLM, and it comes back in Markdown form. The trouble starts when I decode that Markdown with
ParchmentMarkdownCodec().decode
because I have no idea how to actually replace the selected text in the editor with all the styling intact. If it were just a simple string, I'd have no problem.Im not finding enough details in the documentation to handle the Markdown output properly.
How to make the editor’s controller update with the newly styled content?
Thanks
The text was updated successfully, but these errors were encountered: