Trumbowyg

代码分享

Trumbowyg - A lightweight WYSIWYG editor by Alex-D / Alexandre Demode

This the minimal code to transform a simple div into the amazing WYSIWYG editor which is Trumbowyg.


$('#trumbowyg-demo').trumbowyg();
            

If you want to set options to Trumbowyg, add an object which contains your options as parameters.


$('#trumbowyg-demo').trumbowyg({
    btns: [['strong', 'em',], ['insertImage']],
    autogrow: true
});
            
实时描述: Trumbowyg is a very small jQuery plugin for creating a powerful WYSIWYG editor
访问原网页抓取测试返回