mvdkwast / obsidian-copy-as-html

Obsidian plugin: copy document as HTML, including images
MIT License
42 stars 11 forks source link

Mobile support #61

Open mvdkwast opened 2 months ago

mvdkwast commented 2 months ago

The title says all. This feature has been requested multiple times already.

mvdkwast commented 14 hours ago

I did some extensive testing, unfortunately my conclusion is that this is not going to work with Android : Android chromium just doesn't support navigator.clipboard.write() with a content-type of text/html, and I can't use the native Android API.

It might work with iOS, but I have no devices to test this. A small code change is required to handle internal paths, but the change in the feature/mobile branch should probably address that.

If anyone is willing to validate this, I could enable it for mobile, and display an error on Android.

mvdkwast commented 14 hours ago

Upstream issue : https://issues.chromium.org/issues/40851502

fetwar commented 1 hour ago

Damn! Potentially could the clipboard be copied to without the content type?

What would the effects of copying as plain text be?


This actually isn't a major issue for myself anymore, but willing to still try find solutions to it because I am sure many other people would really love it.