When an anchor element is inserted, and it is the only content in its line, or the immediately adjacent lines (before or after), the anchor and the highlighted content disappears.
Steps to reproduce:
- In ezoe, add a word, highlight it, click the anchor button and press "OK" with the default value.
- Verify that the highlighted content disappears, and that there is no anchor icon in its place.
- Again, add a word, and add a second word around it - in the same line, in the previous line, or in the next line. Highlight the initial word and add an anchor once more.
- Verify that the anchor icon is present.