You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught TypeError: Cannotreadproperty'concat'ofnullatsplit-type.js:567atArray.reduce(<anonymous>)
at splitSingleElement (split-type.js:512)
at split-type.js:875
at Array.forEach (<anonymous>)
at SplitType.split (split-type.js:872)
at new SplitType (split-type.js:839)
at pen.js:7
The text was updated successfully, but these errors were encountered:
Description
SplitType fails with an error when the target element contains
<br>
tags. This only occurs when splitting text into both lines and words.Steps to reproduce
HTML
Javascript
Live example
Expected result
It should respect
<br>
tags when splitting text into lines. The above code should produce the following htmlActual result
The text was updated successfully, but these errors were encountered: