Text Editor add target blank to link

Is it possible to add a classname and a target _blank to the link element created by the editor after the user inputs the link URL?

If so, how can i do this?



Not natively because it just uses native JS document.execCommand('createLink). You can try to listen for text editor's change` event and manually modify it

In editors like Wordpress you can add properties like the target or classnames in the form. Can you create this for a future version?