Open foo6 opened 8 years ago
I have the same issue
You can try this temporal fix:
$(function() {
var placeholder = 'Enter text ...';
var contentFix = '<span></span>';
$('.wysihtml-editor')
.on('blur', function(event) {
if (event.target.innerHTML === contentFix) {
$(this).html(placeholder);
}
})
.on('focus', function(event) {
var text = event.target.innerText;
if (text === '' || text === placeholder) {
$(this).html(contentFix);
}
});
});
Only with IE,when we deleting the text using BACKSPACE into control and reach the start point of the control content, an extra BACKSPACE will to delete the DIV container.