Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
I was using the blur event to control when the editor is being used and suddenly some users started to report errors in chrome 33.0.1750.58, I found that the following demo doesn't work in chrome 33 but does work in chrome 32.
It's definitively a bug but I'm not sure if it's a bug in chrome or wysihtml5.
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<meta charset="utf-8">
<script src="/advanced.js"></script>
<script src="/wysihtml5-0.3.0.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
<form>
<textarea id="wysihtml5-textarea" placeholder="Enter your text ..." autofocus></textarea>
</form>
<script>
var editor = new wysihtml5.Editor("wysihtml5-textarea", { // id of textarea element
parserRules: wysihtml5ParserRules // defined in parser rules set
});
editor.on('blur', function () {
alert('blurreed');
});
</script>
</body>
</html>
I was using the blur event to control when the editor is being used and suddenly some users started to report errors in chrome 33.0.1750.58, I found that the following demo doesn't work in chrome 33 but does work in chrome 32.
It's definitively a bug but I'm not sure if it's a bug in chrome or wysihtml5.