X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/77d054cf52faf3ac0a56040cb29f40016a3c7453..2f9c60b76f3ab4e69d794a6bb14388a81ff29eb7:/redakcja/static/js/wiki/view_editor_wysiwyg.js diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index a3f42786..0179f408 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -637,7 +637,8 @@ return _finalize(failure); html2text({ - element: $('#html-view div').get(0), + element: $('#html-view').get(0), + stripOuter: true, success: function(text){ self.doc.setText(text); _finalize(success);