<p>This isn't really related to Craft specifically, but to allow a user to link to an asset, you will need to enable the feature in the redactor configuration file.</p>

<p>For example, within this file:</p>

<pre><code>/craft/config/redactor/Standard.json
</code></pre>

<p>You will see something like this:</p>

<pre><code>{
    "buttons": [
    "html",
    "formatting",
    "bold",
    "italic",
    ...
</code></pre>

<p>You will need to add <code>file</code> to that list so that it looks like this:</p>

<pre><code>    {
    "buttons": [
    "html",
    "formatting",
    "bold",
    "italic",
    "file"
    ...
</code></pre>

<p>Make sure to clear out your cache to make sure that Craft can see your updated file. </p>

<p>Now when you highlight some text, you can choose "file" and then select an asset from one of your asset sources.</p>

CC BY-SA 3.0
2016-01-27T18:10:11.860Z
2016-01-27T18:10:11.860Z
Damon
<p>I have some content on my entry like this:</p>

<pre><code>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis rutrum dolor.
</code></pre>

<p>I know I can link to an Entry or Category, but I would like to link to an Asset. For example, a PDF.</p>

<p>I would like to highlight <code>Lorem ipsum</code> and link that text to a PDF. I can change over to HTML view and manually enter the link, but that seems risky to ask a client who may not know any HTML. Is there a preferred way to select some text and link it to an asset?</p>

<assets><redactor>
How can I link to an Asset from the Rich Text editor?
# How can I link to an Asset from the Rich Text editor?

(Asked by: username_0 on 2016-01-27)

I have some content on my entry like this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus quis rutrum dolor.

I know I can link to an Entry or Category, but I would like to link to an Asset. For example, a PDF.
I would like to highlight Lorem ipsum and link that text to a PDF. I can change over to HTML view and manually enter the link, but that seems risky to ask a client who may not know any HTML. Is there a preferred way to select some text and link it to an asset?

**Tags:** assets, redactor


---

## 1 answers

### Answer by username_0 on 2016-01-27. Score: 15 | Accepted answer

This isn't really related to Craft specifically, but to allow a user to link to an asset, you will need to enable the feature in the redactor configuration file.
For example, within this file:
/craft/config/redactor/Standard.json

You will see something like this:
{
    "buttons": [
    "html",
    "formatting",
    "bold",
    "italic",
    ...

You will need to add file to that list so that it looks like this:
    {
    "buttons": [
    "html",
    "formatting",
    "bold",
    "italic",
    "file"
    ...

Make sure to clear out your cache to make sure that Craft can see your updated file. 
Now when you highlight some text, you can choose "file" and then select an asset from one of your asset sources.


---

