Take a look at our new Article and Redactor X editors.

toggle #

Arguments
type String

Format the selected content to the ul or ol.

Or unformat to the content if the selected text is a list.

this.app.api('module.list.toggle', 'ul');

or external call:

$R('#content', 'module.list.toggle', 'ul');

indent #

Indent the list item.

this.app.api('module.list.indent');

or external call:

$R('#content', 'module.list.indent');

outdent #

Outdent the list item.

this.app.api('module.list.outdent');

or external call:

$R('#content', 'module.list.outdent');