How to add inline text editing for a custom component?

Please fill out as many of the following questions as possible so we can help you promptly! If you don’t know how to answer or it does not apply, feel free to remove it or leave it blank.

Builder content link

Builder public api key

What are you trying to accomplish
I want to add inline text editing to my custom Text component. There doesn’t seem to be any documentation or topic on the forum on this subject. I did check the Github of the React SDK and I tried to copy the code from the core Text component but it did not work.

Is there an official way to implement this?
What is the point of automatically adding a field to enable inline text editing if it does not work?

Code stack you are integrating Builder with
React and Next.js

Reproducible code example
Here’s the link to the core Text component which support inline text editing:

Hi @francois Welcome to Forum!

Here’s official documentation on this topic Adding Children to Custom Components -

Feel free to reach out if this doesn’t help!

This link has nothing to do with inline text editing.