Resets all character based formatting attributes of the selected text to its default values. If nothing or more than one paragraph is selected, all paragraph based formatting attributes are also reset.

<void> Selection.removeFormatting([<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.