Ticket #8255 (closed New Feature: invalid)
Patch adding functionality for having an list of urls to select from in link dialog
|Reported by:||martinkronstad||Owned by:|
As the summary describes, this patch will make you ckeditor 3.6.1 able to display an list of links in the link dialog, under a new link type called "urlList".
Changes are done in two files. The major part of the changes is done in the link.js file inside /plugins/link/dialog/link.js.
The other file needing changes are config.js.
In config.js you need to add a line like:
config.urlList = [ [Name of link,url of link],[Name of link2,url of link2] ];
In my case I use a custom config-file, and use PHP for generating the config. This way I can load my link-list from the database.
Check out a demo here: http://ckeditor.web1.siteman.no