removeStyleByPath

fun removeStyleByPath(fromPath: List<Int>, toPath: List<Int>, attributesToRemove: List<String>)

Removes the attributes in attributesToRemove from the elements in the path range between fromPath and toPath.

Throws

if fromPath is ordered after toPath (JS SDK throws YorkieError for the same backwards range instead).

with ErrInvalidArgument if fromPath or toPath resolves to an index inside a UTF-16 surrogate pair.