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

index a9a13a2..8dec611 100644 (file)
             style = extractStyle(node);
             Roo.log(style);
             var tags = new Array;
-
+            
+            var text = node.attrs['text'].split('\n');
+            Roo.log(text);
             map(node.attrs['text'].split('\n'), function (text, iterable, line) {
                 line = line || 0;
                 tags.push(tag(