plugins/raphael.export.js
authorEdward <edward@roojs.com>
Wed, 9 Jan 2019 08:44:13 +0000 (16:44 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Jan 2019 08:44:13 +0000 (16:44 +0800)
plugins/raphael.export.js

index 3916c71..e0e3ae8 100644 (file)
             map(node.attrs['text'].split('\n'), function (text, iterable, line) {
                 content.push(tag('tspan',
                     {
-//                        x: node.attrs.x,
+                        x: node.attrs.x,
                         dy: computeTSpanDy(style.font.size, line + 1, node.attrs['text'].split('\n').length)
                     },
                     null,