copy-to-clipboard
copy-to-clipboard copied to clipboard
IE11 format: 'text/html' results in empty clipboard
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
it's probably an issue somewhere in if/else nesting, but would be so easier to probably debug using actual IE11 😦