富文本编辑期Quill
官方网站
http://quilljs.com/
使用方法
<!-- Create the toolbar container --> <div id="toolbar"> <button class="ql-bold">Bold</button> <button class="ql-italic">Italic</button> </div> <!-- Create the editor container --> <div id="editor"> <div>Hello World!</div> </div> <!-- Include the Quill library --> <script src="http://quilljs.com/js/quill.js"></script> <!-- Initialize Quill editor --> <script> var editor = new Quill('#editor'); editor.addModule('toolbar', { container: '#toolbar' }); </script>