getItalicMethod = () => {
  const selectedElements = svgCanvas.getSelectedElements()
  const textElements = selectedElements.filter(el => el?.tagName === 'text')
  return textElements.every(el => el.getAttribute('font-style') === 'italic')
}
Check if all selected elements have an italic font style.
@function module:svgcanvas.SvgCanvas#getItalic
@returns {boolean} `true` if all selected elements are in italics, `false` otherwise.