UI Extension || Field extension || Customize RTF to open any link in a new window

I have created a new UI field extension for RTF.

Trying to customize it with the following document

So It is only rendering the RTF and the hyperlink dialog is not completely visible. So does anyone know how to make changes for this?

I want to give liberty to the author to be able to specify for each link, the ability to open any link in a new window/tab or not.

I am also following this thread but I have not got any solution for this