X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/afdb8fd05511c5280e8ee251389cb893786eb810..3ffb4cfcbc5dbbbe4926b48bd44ab73c037fe504:/platforma/static/js/main.js diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index 8b55af96..a044b87d 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -329,7 +329,8 @@ function reverseTransform(editor, cont, errorCont, dontBlock) { } setTimeout(function() { html2xml({ - xml: serializer.serializeToString($('#html-view div').get(0)), + htmlElement: $('#html-view div').get(0), + /* xml: serializer.serializeToString($('#html-view div').get(0)), */ success: function(text) { editor.setCode(text); if (!dontBlock) {