editor-link: keep style of first child node when replacing link text