Properly format SVG source from and to the editor

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@313 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-07-13 02:57:11 +00:00
parent 8e8f44861d
commit d1a011d5d3
3 changed files with 10 additions and 8 deletions

View File

@@ -411,7 +411,6 @@ function svg_edit_setup() {
};
// TODO: prevent 'u' from showing up in the textarea
// TODO: prevent extra carriage returns
// TODO: properly size the text area during resize
// TODO: properly handle error conditions (error msg dialog)
// TODO: prevent @style showing up on the svg element
@@ -420,7 +419,6 @@ function svg_edit_setup() {
if (editingsource) return;
editingsource = true;
var str = svgCanvas.getSvgString();
console.log(str);
$('#svg_source_textarea').val(str);
$('#svg_source_editor').fadeIn();
properlySourceSizeTextArea();