From: Edward Date: Wed, 9 Jan 2019 08:47:56 +0000 (+0800) Subject: plugins/raphael.export.js X-Git-Url: http://git.roojs.org/?p=raphael;a=commitdiff_plain;h=f3f105cfd749b28c23a5df20bda4e742fdec0cb4 plugins/raphael.export.js --- diff --git a/plugins/raphael.export.js b/plugins/raphael.export.js index 97dfed6..ef5bb7d 100644 --- a/plugins/raphael.export.js +++ b/plugins/raphael.export.js @@ -154,6 +154,9 @@ var content = []; + Roo.log(node.attrs['text']); + Roo.log(node.attrs['text'].split('\n')); + map(node.attrs['text'].split('\n'), function (text, line, iterable) { Roo.log([text, iterable, line]); Roo.log([style.font.size, line + 1, node.attrs['text'].split('\n').length]);