convertElement

Type: Function

Converts an element to another, retaining attributes. Keeps all positions intact.

Refer to primitives for more information on how to include this primitive.

Arguments

  1. blueprint

    (Required)

    Type: Blueprint

  2. nodeToConvert

    (Required)

    Type: Node

  3. newElementName

    (Required)

    Type: String

  4. format

    (Required)

    Type: Format

Returns

Type: Boolean