You can change the entire look and feel, can able to add button / event / can do anything with it. Read documentation here or more example here
HTML:
<div id="editor" placeholder="Type here ... "></div>
CSS:
<link rel="stylesheet" href="path_to/easyeditor.css">
JS:
<script src="path_to/jquery.min.js"></script>
<script src="path_to/jquery.easyeditor.js"></script>
<script>
EasyEditor.prototype.aside = function(){
var _this = this;
var settings = {
buttonIdentifier: 'aside',
buttonHtml: 'Wrap selected text with <aside> tag with a class and custom style',
clickHandler: function(){
// keepHtml true, means it will not strip HTML tag in selected text
_this.wrapSelectionWithNodeName({ nodeName: 'aside', style: 'color: #ff0000', class: 'your-custom-class', keepHtml: true });
}
};
_this.injectButton(settings);
};
jQuery(document).ready(function($) {
new EasyEditor('#editor', {
buttons: ['bold', 'italic', 'link', 'aside']
});
});
</script>