# Rich Text Editor insert text

**URL:** <https://community.weweb.io/t/rich-text-editor-insert-text/9206>\
**Category:** Ask us anything\
**Created:** [June 19, 2024, 3:51pm UTC](https://community.weweb.io/t/rich-text-editor-insert-text/9206 "2024-06-19T15:51:11Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![saulo260](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@saulo260](https://community.weweb.io/u/saulo260)\
**Post date:** [July 24, 2024, 1:42pm UTC](https://community.weweb.io/t/rich-text-editor-insert-text/9206/6 "2024-07-24T13:42:33Z")

</div>

I think we need to emphasize this difficulty,  
I’m also having trouble interacting with the selected text within the rich text.

> [@How to Get Selected Text in Rich Text Editor?](https://community.weweb.io/t/how-to-get-selected-text-in-rich-text-editor/9905):
>
> Hello everyone, I need help with interacting with selected text within the rich text editor on the WeWeb platform. What I want is for the user to be able to select a fragment of the text and then send that fragment to ChatGPT. Could someone guide me on how to implement this functionality? I am looking for the best way to capture the text selection and send the selected content to an integration with ChatGPT. Here is an image example of what I am looking to achieve: @aurelie@Joyce …

---

_[View the full topic](https://community.weweb.io/t/rich-text-editor-insert-text/9206)._
