Line break before and after inline contenteditable element in IE
问题 I need to make inline element contenteditable . It works fine for Chrome/Firefox, but IE (11 at least) inserts line break before and after span if it's contenteditable . Link to fiddle: https://jsfiddle.net/nokpy02g/1/ This is how it looks like in Chrome: And this is IE: Is there is any way to fix it? UPD: My IE version: IE mode on my fiddle page: Also, I am using Windows 7 Professional, 64bit 回答1: Be aware: contentEditable is extremely buggy and inconsistent across all browsers and even