XAM-Consulting / TEditor

MIT License
63 stars 45 forks source link

Handler #11

Open Specko93 opened 7 years ago

Specko93 commented 7 years ago

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 7 years ago

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.