Adding support for inserting links with custom text (without selection)

User now will be able to insert link even without text selected.