[FIX] web_editor: remove empty table ligne when paste content

This commit is contained in:
Christophe Matthieu
2016-01-20 13:23:23 +01:00
parent 366980e550
commit 86b80689d7
@@ -156,6 +156,12 @@ define([
}
});
// remove empty table row and td
var $tdr;
while(($tdr = $node.find('tr:empty, td:empty, th:empty, tbody:empty, t-head:empty, table:empty')) && $tdr.length) {
$tdr.remove();
}
/*
reset architecture HTML node and add <p> tag
*/