@Override protected void actionPerformed(final ActionEvent e, final NodeModel node) { final String nodeText = node.getText(); if (HtmlUtils.isHtmlNode(nodeText)) { ((MTextController) TextController.getController()) .setNodeText(node, HtmlUtils.htmlToPlain(nodeText)); } }
@Override public String toString() { return HtmlUtils.htmlToPlain(getText()); }