Part of the Linkit ecosystem · 4 projects
Linkit enhances rich-text editors with an autocomplete interface for linking to internal and external content. It supports various content types and offers advanced configuration options for link suggestions, custom profiles, and metadata display.
Summary
Linkit provides an autocomplete interface for internal and external linking in rich-text editors. Linkit supports nodes, users, taxonomy terms, files, comments and basic support for all types of entities that define a canonical link template.
As of version 11.3, Drupal core provides link autocomplete suggestions in CKEditor similar to what this module does. Sites using or considering using Linkit should evaluate whether they can use the core solution instead of Linkit. Here is a list of features Linkit has that aren't currently included in Drupal core's version:
- Ability to configure which types of links will be shown in autocomplete suggestions, and how to group them
- Ability to create multiple Linkit "profiles" to be used on different text formats
- Linkit-styled autocomplete suggestions for link fields (core already has this, but it's entity suggestions don't have the configuration options below)
- Ability to configure metadata (with token support) for autcomplete suggestions; for example, showing the authoring information, published state for each suggestion
- Ability to configure the number of suggestions shown
- Ability to toggle published/unpublished entities in suggestions
- A Drupal form element for hyperlinks, allowing developers to use autocomplete functionality in custom Field Widgets
- An extendable plugin type for "Matchers," which determine what types of links can be suggested. Linkit includes a front page matcher, external link matcher, email address matcher, as well as matchers for user, taxonomy, media, and contact form entities.
- An extendable plugin type for "Substitutions" to customize what a match should render as
- For media entities, the ability to configure whether to link to the media entity URL or direct download
Configuration
- After installation, create a Linkit profile. The profile will contain information about which plugins to use. Profiles can be created at
/admin/config/content/linkit. - Enable the Linkit plugin on the text format you want to use. Formats are found at
admin/config/content/formats. - Link media to the actual file
- Remove links to unpublished or non-existent pages
- Use Linkit with menu links
- Use Linkit with link fields
Related modules
- To add link attributes (rel, target), see Editor Advanced link.
Version Status
- 7.0.x (Drupal >10.1 and Drupal 11; drops CKEditor 4 support)
- 6.1.x (Drupal 10.1-10.4; note: a packaging issue caused 6.1.7 to allow installation with Drupal 10.5.x; do not use version 6.1.7!: Supported until November 2025)
- 6.0.x (Drupal 9.5.x and 10.0): No further development
- 8.x-5.x: No further development.
- 8.x-4.x: No further development.
- 7.x-3.x: Drupal 7 compatible. Maintenance only.
Ask your assistant about Linkit
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
13 tracked projects depend on this one
- Linkit Media Library 5,470 sites
- LocalGov Page Components 510 sites
- Droopler 233 sites
- Civictheme 218 sites
- Seeds Editor 149 sites
- Dropsolid Rocketship Core 89 sites
- Link Tree 48 sites
- OpenFed 4 sites
- Access Unpublished Linked Nodes 3 sites
- Linkit Search by Id or Name
- Btester Core
- CKEditor Entity Link by Field
- CS Gov
More in the Linkit ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 7.0.0 | Stable | 10–11 | Dec 11, 2024 | ||
| 6.1.6 | Stable | 10 | Oct 17, 2024 | ||
| 6.1.5 | Stable | 10 | Oct 11, 2024 | ||
| 7.0.0-alpha2 | Pre-release | 10–11 | Oct 11, 2024 | ||
| 7.0.0-alpha1 | Pre-release | 10–11 | May 16, 2024 | ||
| 7.x-dev | Dev | 10–11 | May 8, 2024 | ||
| 6.1.4 | Stable | 10 | May 8, 2024 | ||
| 6.1.3 | Stable | 10 | Mar 15, 2024 | ||
| 6.1.2 | Stable | 10 | Oct 9, 2023 | ||
| 6.0.2 | Stable | 7–9 | Oct 9, 2023 |