src/AutoSizeTextarea.js
function getTextFromContent(contentNodes) {
  if (contentNodes === null) {
    return '';
  }
  const texts = [...contentNodes].map(node => node.textContent);
  const text = texts.join('').trim();
  return unescapeHtml(text);
}
function getTextFromContent(contentNodes) {
  if (contentNodes === null) {
    return '';
  }
  const texts = [...contentNodes].map(node => node.textContent);
  const text = texts.join('').trim();
  return unescapeHtml(text);
}
function getTextFromContent ( contentNodes ) { if ( contentNodes === null ) { return '' ; } const texts = [ ... contentNodes ] . map ( node => node . textContent ) ; const text = texts . join ( '' ) . trim ( ) ; return unescapeHtml ( text ) ; }
Return the text represented by the given content nodes.
Return the text represented by the given content nodes .