When trying to select text and add a link to it, the link button is always disabled. I found out that the problem is that the angular editor service always returns "selectedText" as undefined. I managed to programatically remove the disabled attribute from the link button, which made it work, but as soon as I selected some text and clicked the link, the text would turn into "undefined". The link would be there correctly, just the text changed.