CKEditor 4.
Need to make a few changes to the Link plugin. I want to:
- Remove the automatic addition of http:// to typed or pasted links.
- Remove the option to create mailto: links.
- Add a field to allow entry or modification of the link text (that which comes between <a> and </a> in the HTML)
- Make it that a target of null (same window) is the default for local files, but a target of _blank is the default for links beginning with http(s):// i.e. offsite links.
1 & 2 I have figured out how to do, but 3 and 4 are proving harder. In particular I cannot identify the variable or property which contains the link text. Anyone got the lowdown on this?