GodSVG icon indicating copy to clipboard operation
GodSVG copied to clipboard

Implement Web Support for Reference Images

Open Qainguin opened this issue 1 year ago • 4 comments

Add support for reference images for web import. Currently, it hides the reference image button for web users, which is more of a band-aid than anything.

Qainguin avatar May 20 '24 15:05 Qainguin

I tried doing some work on this and I got to the point of where I could open the import native dialog but the problem was that loading it would not return a PackedByteArray with JavaScript but it would return a string.

Qainguin avatar May 28 '24 15:05 Qainguin

I don't know how to do this.

MewPurPur avatar May 29 '24 12:05 MewPurPur

We might just have to shelve it for now, at least until someone knows how to. Keep the issue up though, so if someone knows how to do it they can do it.

Qainguin avatar May 29 '24 14:05 Qainguin

Ig this would be a task for me as i added svg opening on web

Kiisu-Master avatar May 29 '24 15:05 Kiisu-Master

Ideally, a PR for this would also replace the JavaScriptBridge eval with get_interface to make it easier to read.

Qainguin avatar Oct 18 '24 13:10 Qainguin