SCEditor

hasStyling

hasStyling(element) Since: 1.4.4

Returns true if the passed element is not a p or div tag, has any inline CSS or has any CSS classes.

Syntax

var hasStyling = sceditor.dom.hasStyling(element);

Parameters

element
Type: HTMLElement

The DOM element to check.

Return

Type: boolean