Multiline Text ('\n) and Raphael.Export
Hi again,
I'm trying to export paper.text with multiline, and when i exports it so SVG it comes out as one line,
Do you have any idea how to fix it ?
I appreciate all your help,
BR, hez
Thanks hez. I've applied a fix although I'm not sure how accurate it is. Can you try it out and report back?
Sorry for the late respond, just so u know, im a huge fan of ur work..
The fix works great, thanks !!
Hi
Me too facing the same problem, with the latest version.
Trying to export the raphael paper having a text element with '\n' or '\u000a', and when I export it to SVG it comes out in a single line,
I applied a fix for newlines, you should be able to use \n again.
I am still getting the same issue with '\n' in my text element. When it exports it does creates two elements for '\n' but their x and y coordinates still remain same so the splitted text overlaps each other.