fix: support native clipboard image paste on mobile #181
Reference in New Issue
Block a user
Delete Branch "Khushvendra/flotilla:issue-54-paste-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes image pasting from clipboard on mobile WebViews where the standard HTML5 paste event does not provide image file data. The implementation adds a native clipboard fallback for Android and iOS while preserving normal paste behavior everywhere else.
Summary
This fixes image pasting from clipboard on mobile WebViews where the standard HTML5 paste event does not provide image file data. The implementation adds a native clipboard fallback for Android and iOS while preserving normal paste behavior everywhere else.
Closes #54
Changes
package.json:45package.json:45index.ts:43index.ts:283Behavior
Looks good, can you just move the clipboard utils to editor/clipboard to keep things clean?
7b206c0566to77784ffff5