0
다음 예외가 발생한 이유는 무엇입니까?'SVGTextContentElement'에서 'getStartPositionOfChar'을 (를) 실행하지 못했습니다.
DOMException: Failed to execute 'getStartPositionOfChar' on 'SVGTextContentElement': The charnum provided (0) is greater than or equal to the maximum bound (0).
실제로 저는 https://github.com/nlplab/brat을 내 자신의 생성 된 백엔드와 통합하려고합니다. jquery.svg.min.js 및 jquery.svgdom.min.js와 함께 svg를 사용합니다. 하지만이 예외가 붙어 있습니다. 텍스트
로<text x="0" y="0">Some Text</text>
및 firstChar=0
입니다
text.getStartPositionOfChar(firstChar).x;
로 통화를하면서 exeption는 SVG 텍스트 요소에서 발생할.