toXml() {
        const node = [];
        for (let i = 0; i < this._node.length; i++) {
            node.push(this._node[i].toXml());
        }
        return node.concat(this._remainingNodes);
    }
Convert the rich text to an XML object.
@returns {Array.<{}>} The XML form.
@ignore