Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add support for custom mime types #35

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

ryangjchandler
Copy link
Owner

$clipboard(
	el.outerHTML,
	'text/html',
)

Will copy the outerHTML to the clipboard with the HTML mime-type. This will allow it to be pasted into rich text editors, etc.

@ryangjchandler ryangjchandler added the enhancement New feature or request label Oct 5, 2023
@ryangjchandler ryangjchandler merged commit 7586632 into main Oct 5, 2023
@ryangjchandler ryangjchandler deleted the feature/mime-types branch October 5, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant