hasStyleChanged
hasStyleChanged(
prevStyle
,thisStyle
,forTextSpans
):boolean
Defined in: src/util/misc/textStyles.ts:21
Parameters
prevStyle
Partial
<CompleteTextStyleDeclaration
>
first style to compare
thisStyle
Partial
<CompleteTextStyleDeclaration
>
second style to compare
forTextSpans
boolean
= false
whether to check overline, underline, and line-through properties
Returns
boolean
true if the style changed