setTextContentMethod = (val) => {
  svgCanvas.changeSelectedAttribute('#text', val)
  svgCanvas.textActions.init(val)
  svgCanvas.textActions.setCursor()
}
Updates the text element with the given string.
@function module:svgcanvas.SvgCanvas#setTextContent
@param {string} val - String with the new text
@returns {void}