wysihtml5 icon indicating copy to clipboard operation
wysihtml5 copied to clipboard

Ctrl+A and line break on IE

Open m0x72 opened this issue 11 years ago • 4 comments

Hey there,

after selecting and deleting all text inside the editor with Ctrl+A, line breaks will get messed up on (seemingly) all IE Versions. (Tested on IE11, and "emualted" IE 10, 9 and 8 versions via Dev Tools)

On subsequent typing, pressing enter will cause new paragraphs instead of line breaks ( br ). Selecting and deleting the (visible) text with the mouse or shift + arrow keys works just as expected.

Can someone reproduce/confirm that?

(Ctrl+A works fine in Chrome/Firefox of course ;) )

m0x72 avatar Mar 07 '14 10:03 m0x72

I can replicate this in IE11. However it is worth pointing out that it does not occur in IE8-11, at least not for me when testing using the actual installed versions in a VM. Emulation mode is pretty unreliable so that could be why you were able to replicate it in emulated mode, @m0x72.

Also worth pointing out is that this project doesn't appear to be maintained any more, so this probably won't achieve much.

mrkipling avatar Aug 08 '14 14:08 mrkipling

Thanks for testing either way though @mrkipling! Good to know.

m0x72 avatar Aug 12 '14 08:08 m0x72

Not a problem. I actually stumbled across this after doing battle with WYSIHTML5 for the best part of a week.

I've seen things. Terrible things...

mrkipling avatar Aug 12 '14 08:08 mrkipling

Hahaha, brave man! :+1:

m0x72 avatar Aug 12 '14 08:08 m0x72