Extends Arte.Text area to add rich text commands
Make the selected text bold
var arte = $(".editor").Arte();
arte.bold();
Make the selected text italic
arte.italic();
Make the selected text underlined
arte.underline();
Make the selected text bold
arte.align("left");
Change the size of the selected text
arte.backgroundColor("#123456");
Make the selected text italic
arte.fontSize("12px");
Make the selected text italic
arte.fontFamily("arial");
Make the selected text italic
arte.color("#123456");
Override the global configuration to apply bold using B tags
arte.bold({ tagName: "B" });
Override the global configuration to apply bold using Strong tags
arte.bold({ tagName: "STRONG" });
Override the global configuration to apply bold using a className
arte.bold({ className: "arte-font-weight-bold" });
Apply the command using the styleName
arte.bold({ styleName: "font-weight", styleValue: "bold" });