This module is an extension to the CKEditor module.
It also supports CKEditor installed through the Wysiwyg module.
This module allows to easily create links to Drupal internal paths through CKEditor's Link button and dialog.
It is composed of 2 parts:
- A client-side CKEditor plugin that adds features to CKEditor's default Link plugin.
- A server-side input format filter that converts the raw paths added through the plugin into aliased and, if applicable, language prefixed URLs.
- Integrates with CKEditor's default Link button and dialog (no separate button/dialog)
- Adds a new option Internal path to the Link Type select box, that gets selected by default
- When Internal path is selected, displays an autocomplete textfield: just type some letters to get a list of suggestions!
- Natively supports linking to nodes, taxonomy terms, and menu item paths
- Exposes hooks for developers who want to extend the module
- Full multilingual support
- Link paths added through the plugin respect the standard URL format:
- The input format filter CKEditor Link Filter converts these raw paths into aliased URLs.
- A lot more!
The following modules extend CKEditor Link:
- CKEditor Link File adds support for linking to files.
- CKEditor Link User adds support for linking to users.
- CKEditor Link OG integrates CKEditor Link with Organic Groups.
Requirements and Compatibility
Currently, CKEditor Link needs the following to run:
- the CKEditor module or the Wysiwyg module
- the CKEditor editor
- Clean URLs need to be enabled.
ckeditor_link folder to your
admin/modules and enable the module.
admin/people/permissions and grant the CKEditor Link related permissions to the desired roles.
When using the CKEditor module
admin/config/content/ckeditor and edit the desired profile.
Under "Editor appearance" > "Plugins", check the "CKEditor Link" box.
When using the Wysiwyg module
admin/config/content/wysiwyg and edit the desired CKEditor-enabled input format.
Under "Buttons and plugins", check both "Link" and "CKEditor Link" boxes.
Set up CKEditor Link Filter
admin/config/content/formats and edit the desired text format.
Check the "CKEditor Link Filter" box.
If you use other path converting filters like Pathologic or Path Filter, make sure that CKEditor Link Filter comes before them:
Under "Filter processing order", drag and drop CKEditor Link Filter before these filters in the list.
Configure CKEditor Link
Change settings as desired.