Open buiquangduc opened 5 years ago
Hi there,
Thanks for your great product, I am using it to embed whiteboard to our site and it is working great.
There is a small problem, in the online drawing page (https://sketchpad.pro/B25E53E0B13653F667F:z6y9x2pn), I see an upload image feature and it is working fine on this page:
But in demo advanced page (https://developers.sketchpad.pro/advanced.html), the upload feature seems only work on json file and do not accept images/pdf files.
I took a look at the source code and here are what I found on demos/js/advanced.js:
Can you please tell me how to edit these lines so I can upload the images/pdf files to the whiteboard (working the same way with online drawing page).
Thanks.
Hi there,
Thanks for your great product, I am using it to embed whiteboard to our site and it is working great.
There is a small problem, in the online drawing page (https://sketchpad.pro/B25E53E0B13653F667F:z6y9x2pn), I see an upload image feature and it is working fine on this page:
But in demo advanced page (https://developers.sketchpad.pro/advanced.html), the upload feature seems only work on json file and do not accept images/pdf files.
I took a look at the source code and here are what I found on demos/js/advanced.js:
Can you please tell me how to edit these lines so I can upload the images/pdf files to the whiteboard (working the same way with online drawing page).
Thanks.