Ignore style nodes while converting HTML to text

This commit is contained in:
Jiří Černý 2019-04-05 09:45:14 +02:00
parent 811de7bf92
commit 1a6113efa4

View file

@ -544,6 +544,7 @@ ComposerPageState.htmlToText = function(root) {
}
break;
case "#comment":
case "style":
break;
default:
text += ComposerPageState.htmlToText(node);