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?
Thanks
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?
Thanks
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?