Kindeditor is my favorite visual editor, but lacks the "automatic typesetting" and "find and replace" functions, so I took the time to make this plugin, if you like it, use it.
Introducing css on the page
<link rel="stylesheet" href="plugin.css" />
Reference plugin JS on the page
<script src="plugin.js"></script>
Initialization
var options = {
items : ['source', '|', 'autoFormat', 'findReplace', 'about']
};
var editor;
KindEditor.ready(function(K) {
editor = KindEditor.create('#demo', options);
});
Licensed under The MIT License