#1744: go back after chunk edit,
[redakcja.git] / redakcja / static / js / wiki / view_editor_wysiwyg.js
index a3f4278..0179f40 100644 (file)
             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);