[]
Removes specified CSS class from the range.
public void RemoveClass(string className)
Type | Name | Description |
---|---|---|
string | className | Class to remove. |
This example, if the value is True, marks the selected text as topic, using a "topic" CSS class, or, if the value is False, removes the "topic" class from the selected text.
function SetTopic(bool value)
{
if (value)
_editor.Selection.ApplyClass("topic");
else
_editor.Selection.RemoveClass("topic");
}