# Place file into the content with a "text:" attribute

**URL:** <https://forum.getkirby.com/t/place-file-into-the-content-with-a-text-attribute/17938>\
**Category:** Questions\
**Tags:** v3\
**Created:** [April 19, 2020, 12:32pm UTC](https://forum.getkirby.com/t/place-file-into-the-content-with-a-text-attribute/17938 "2020-04-19T12:32:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolasbulb](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/nicolasbulb/32/1674_2.png) [@nicolasbulb](https://forum.getkirby.com/u/nicolasbulb)\
**Post date:** [April 19, 2020, 12:32pm UTC](https://forum.getkirby.com/t/place-file-into-the-content-with-a-text-attribute/17938/1 "2020-04-19T12:32:24Z")

</div>

When I select a part of a text in a text area, and then click on **file** , the text is completely replaced with the file name.  
For example:  
With a file name like: 2016-06-09-un-sedicesimo-corraini-contratto-un16mo-ingl.pdf  
and a text: This is the document.  
When I want to have the file linked to “document” only, I have to manually add (file:2016-06-09-un-sedicesimo-corraini-contratto-un16mo-ingl.pdf text: document)

I can’t find a way to simplify the process with the **files** like it’s the case with **links** and the “Link text” field available when creating the link.

I’ve searched for some plugins as well but with no luck. ;(

Thanks for your help & stay at home.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [April 19, 2020, 12:56pm UTC](https://forum.getkirby.com/t/place-file-into-the-content-with-a-text-attribute/17938/2 "2020-04-19T12:56:09Z")

</div>

This is possible with the markdown field: [https://github.com/sylvainjule/kirby-markdown-field](https://github.com/sylvainjule/kirby-markdown-field)

As far as I can see it doesn’t support the textarea’s upload option.

---

<div class="post-metadata">

**Author:** ![nicolasbulb](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/nicolasbulb/32/1674_2.png) [@nicolasbulb](https://forum.getkirby.com/u/nicolasbulb)\
**Post date:** [April 19, 2020, 1:26pm UTC](https://forum.getkirby.com/t/place-file-into-the-content-with-a-text-attribute/17938/3 "2020-04-19T13:26:51Z")

</div>

Many thanks for the quick answer, I’ve spotted that one earlier but it wasn’t clear to me to be the perfect match at first. 🙂

If I have files: true attribute in my blueprint then it shouldn’t be an issue then.

Take care.
