fix tinymce link type test