Add image from uploaded files in text editor

how can I add image from uploaded files in text editor?

Where are you trying to do this? Which page?

The text editor we have in erp

This is a surprisingly good question! I can’t make it happen. You have obviously figured out a workaround. If it is a major issue for you, you CAN change editors. Sorry I can’t help more.

We wanted to give users some already uploaded images that they can use so I thought it might be good if we can insert already uploaded images, as it is for normal users so the solution of html is not possible in my case.

Also can you tell me that is there a way to resize the uploaded images in text editors?

what happens if you click on the image icon?

I sucessfully did this
https://github.com/frappe/frappe/issues/10546

And I am also trying to implement this feature to use the uploaded files.

it opens my computer files to choose from