Documentation / API Reference

Inline

set #

Arguments
params Object

Wraps the selected text in the specified inline tag.

this.app.inline.set({ tag: 'b' });

Wraps the selected text in the specified inline tag with attributes.

this.app.inline.set({
    tag: 'span',
    classname: 'red',
    style: { 'font-size': '24px' }
});