Zephyr-Editor is a lightweight rich text editor . Based on jQuery.
git clone https://github.com/Cherish-xzw/zephyr-editor.git
cd zephyr-editor
npm install
gulp
First of all , you need to create a dom element called textarea.
<textarea id="text"></textarea>
Then , add the zephyr.js to your HTML script tag . Note that , you need to import jQuery first.
<script src="jquery.js"></script>
<script src="jquery.zephyr.js"></script>
<script>
$(document).ready(function(){
$("#text").zephyr();
});
</script>