fix https://github.com/daviferreira/medium-editor/issues/227
Merge pull request #228 from OmniaGM/fix-empty-link

fix bug in create link