资 源 简 介
Light rtf editor plugin for jQuery.
Some examples:
Use with default settings:
$("#textareaID").LightEditor();
Configure with options parameter:
var options = { tbImage: "images/buttons.gif", buttons: "bold,italic,underline,strikethrough,|,justifycenter,|,removeformat", tbPozition: "top", //"bottom" width: "400px", height: "200px", css: "style.css" //css for edited text }; $("textarea").LightEditor(options);
Getting html text:
var html = $("#area2").LEhtml();
Setting text
$("#area2").LEhtml("
Light Editor Plugin
");