Handler
Specko93 opened this issue · 1 comments
Specko93 commented
Hello,
I modified TEditor, added one new button that will insert image into it. So my question is: How do I communicate between package(TEditor) and my project. I want to make when "InsertImage" is pressed, open dialog with custom list that I have in my project, which shows images and folders on server.
Problem is that I cant make one handler and call it in my project when that button is pressed. Any solutions for my issue?
Thanks.
jessejiang0214 commented
It's too hard to achieve this, first, you need to add this feature into JS file. Second, you need to find a way to show a popup, select image and load to the server, after server return uri then you insert to HTML file.