hasTextDecorationMethod = (value) => {
  const selectedElements = svgCanvas.getSelectedElements()
  const textElements = selectedElements.filter(el => el?.tagName === 'text')
  return textElements.every(el => (el.getAttribute('text-decoration') || '').includes(value))
}
Check if all selected text elements have the given text decoration value or not.
@returns {boolean} Indicates whether or not elements have the text decoration value