// Create plain text node export function plain (text) { // clear if build mode is disabled if (this._build === false) { this.clear() } // create text node this.node.appendChild(document.createTextNode(text)) return this } // FIXME: Does this also work for textpath? // Get length of text element export function length () { return this.node.getComputedTextLength() }