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

IE11 format: 'text/html' results in empty clipboard #106

Open
jjrdevspace01 opened this issue Sep 19, 2020 · 1 comment
Open

IE11 format: 'text/html' results in empty clipboard #106

jjrdevspace01 opened this issue Sep 19, 2020 · 1 comment

Comments

@jjrdevspace01
Copy link

jjrdevspace01 commented Sep 19, 2020

in ie11

copy('<p>test</p>', {
		format: 'text/plain',
});

results in <p>test</p> being copied to clipboard and pasted into ms-word

copy('<p>test</p>', {
		format: 'text/html',
});

results in empty clipboard. Other browsers behave as expected with rick text being added to ms-word

@sudodoki
Copy link
Owner

it's probably an issue somewhere in if/else nesting, but would be so easier to probably debug using actual IE11 😦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants