Link Acquia DAM assets directly in rich text fields through the LinkIt plugin in CKEditor. When this integration is configured, content authors can use the Link option in CKEditor to search and select Acquia DAM media entities and insert links to them in body fields, long text fields, and other WYSIWYG components.
This guide describes how to configure LinkIt profiles and text formats so that CKEditor can use Acquia DAM media types through the LinkIt plugin.
Prerequisites
Before you begin, make sure that:
The Acquia DAM module is active and configured.
The LinkIt module is enabled and functional.
Acquia DAM media types and fields are configured as described in the main Acquia DAM integration page.
You have a user role with permission to:
Administer text formats and editors.
Administer LinkIt profiles.
Access Acquia DAM media types.
Configure a LinkIt profile for Acquia DAM media
Step 1: Create a LinkIt profile
In the admin toolbar, go to Administration → Configuration → Content authoring → Linkit.
Click + Add profile.
Enter a Profile name and Description to identify this profile as the one that supports Acquia DAM media links.
Click Save and manage matchers.
Step 2: Add a media matcher for Acquia DAM
On the profile page, select Add matcher.
Select Media as the matcher type, then click Save and continue.
On the media matcher configuration page:
Under Bundle restrictions, select the Acquia DAM media bundles you want to link. Such as:
Acquia DAM image
Acquia DAM video
Any custom Acquia DAM media type
Under URL substitution, select the appropriate substitution plugin for media entities. This controls the URL format LinkIt inserts for Acquia DAM media, such as entity URL, canonical path, or a custom substitution plugin that your site defines.
Configure additional field or label settings to improve the search experience.
Click Save changes.
Your LinkIt profile now includes a matcher that allows LinkIt to search and link Acquia DAM media.
Configure text formats to link Acquia DAM media
You must configure each text format that enables authors to create links to Acquia DAM media through LinkIt. Typical formats include basic HTML, full HTML, or any custom text format in use.
Step 1: Open text formats and editors
In the admin toolbar, go to Administration → Configuration → Content authoring → Text formats and editors.
Review the list of text formats, such as plain text, basic HTML, and full HTML.
Step 2: Configure a text format for LinkIt
Repeat these steps for each text format that should support links to Acquia DAM media.
On the Text formats and editors page, locate the desired text format, such as Full HTML.
In the Operations column, select Configure.
On the configuration page, confirm that Editor is set to CKEditor (CKEditor or CKEditor 5, depending on your Drupal version).
In the Toolbar configuration section, ensure that the Link button is present in the Active toolbar:
If necessary, drag the link from Available buttons into the Active toolbar.
In the Enabled filters section, check the Linkit URL converter filter.
Go to the CKEditor 5 plugin settings section.
Find the Linkit subsection.
From the Linkit profile list, choose the LinkIt profile that you configured for Acquia DAM media.
Go to the Filter settings section.
Find the Linkit URL converter subsection.
Under Media entity URL substitution, select the appropriate substitution plugin that should apply to Acquia DAM media entities.
Click Save configuration.
Repeat these steps for any additional text formats, such as basic HTML,that should allow links to Acquia DAM media.
Use LinkIt with Acquia DAM in CKEditor
After configuration, authors can create links to Acquia DAM media directly from CKEditor:
Edit content that uses a text field with CKEditor and a text format configured for LinkIt.
Select the text that should become a link.
Select the link in the toolbar.
In the LinkIt dialog, search for Acquia DAM media by name or other metadata.
Select the desired media entity from the results.
Apply the link and save the content.
On display, the link uses the URL format defined by your LinkIt profile and the configured substitution plugin.
Integrate Acquia DAM with LinkIt
Link Acquia DAM assets directly in rich text fields through the LinkIt plugin in CKEditor. When this integration is configured, content authors can use the Link option in CKEditor to search and select Acquia DAM media entities and insert links to them in body fields, long text fields, and other WYSIWYG components.
This guide describes how to configure LinkIt profiles and text formats so that CKEditor can use Acquia DAM media types through the LinkIt plugin.
Prerequisites
Before you begin, make sure that:
The Acquia DAM module is active and configured.
The LinkIt module is enabled and functional.
Acquia DAM media types and fields are configured as described in the main Acquia DAM integration page.
You have a user role with permission to:
Administer text formats and editors.
Administer LinkIt profiles.
Access Acquia DAM media types.
Configure a LinkIt profile for Acquia DAM media
Step 1: Create a LinkIt profile
In the admin toolbar, go to Administration → Configuration → Content authoring → Linkit.
Click + Add profile.
Enter a Profile name and Description to identify this profile as the one that supports Acquia DAM media links.
Click Save and manage matchers.
Step 2: Add a media matcher for Acquia DAM
On the profile page, select Add matcher.
Select Media as the matcher type, then click Save and continue.
On the media matcher configuration page:
Under Bundle restrictions, select the Acquia DAM media bundles you want to link. Such as:
Acquia DAM image
Acquia DAM video
Any custom Acquia DAM media type
Under URL substitution, select the appropriate substitution plugin for media entities. This controls the URL format LinkIt inserts for Acquia DAM media, such as entity URL, canonical path, or a custom substitution plugin that your site defines.
Configure additional field or label settings to improve the search experience.
Click Save changes.
Your LinkIt profile now includes a matcher that allows LinkIt to search and link Acquia DAM media.
Configure text formats to link Acquia DAM media
You must configure each text format that enables authors to create links to Acquia DAM media through LinkIt. Typical formats include basic HTML, full HTML, or any custom text format in use.
Step 1: Open text formats and editors
In the admin toolbar, go to Administration → Configuration → Content authoring → Text formats and editors.
Review the list of text formats, such as plain text, basic HTML, and full HTML.
Step 2: Configure a text format for LinkIt
Repeat these steps for each text format that should support links to Acquia DAM media.
On the Text formats and editors page, locate the desired text format, such as Full HTML.
In the Operations column, select Configure.
On the configuration page, confirm that Editor is set to CKEditor (CKEditor or CKEditor 5, depending on your Drupal version).
In the Toolbar configuration section, ensure that the Link button is present in the Active toolbar:
If necessary, drag the link from Available buttons into the Active toolbar.
In the Enabled filters section, check the Linkit URL converter filter.
Go to the CKEditor 5 plugin settings section.
Find the Linkit subsection.
From the Linkit profile list, choose the LinkIt profile that you configured for Acquia DAM media.
Go to the Filter settings section.
Find the Linkit URL converter subsection.
Under Media entity URL substitution, select the appropriate substitution plugin that should apply to Acquia DAM media entities.
Click Save configuration.
Repeat these steps for any additional text formats, such as basic HTML,that should allow links to Acquia DAM media.
Use LinkIt with Acquia DAM in CKEditor
After configuration, authors can create links to Acquia DAM media directly from CKEditor:
Edit content that uses a text field with CKEditor and a text format configured for LinkIt.
Select the text that should become a link.
Select the link in the toolbar.
In the LinkIt dialog, search for Acquia DAM media by name or other metadata.
Select the desired media entity from the results.
Apply the link and save the content.
On display, the link uses the URL format defined by your LinkIt profile and the configured substitution plugin.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Integrate Acquia DAM with LinkIt | Acquia DAM | Acquia Product Documentation
Acquia DAM
Integrate Acquia DAM with LinkIt
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.