copy-to-clipboard icon indicating copy to clipboard operation
copy-to-clipboard copied to clipboard

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

Open jjrdevspace01 opened this issue 4 years ago • 1 comments

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

jjrdevspace01 avatar Sep 19 '20 08:09 jjrdevspace01

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

sudodoki avatar Sep 20 '20 14:09 sudodoki