Intercept editor button clicks
willkara opened this issue · comments
Is it possible to intercept button clicks in the editor? I was hoping to host my photos in S3 and was thinking I could try and intercept the photo button click. Then I'd handle the uploads in my own fashion and return the URL to use in the editor.
Click button > call intercepted and file uploaded > URL returned > inserted into photo markdown template.
Thoughts?
My plan is to implement the feature similar to Github
. We can dragging & dropping or pasting from the clipboard, then i will call the upload function that you defined on the component to get the final url. And this feature is in processing.
@lon-yang sounds exactly what I'd like. Let me know if you want me to look into anything!