<p>If you just want to add YouTube or Vimeo videos to your page, you'd be better off using a dedicated plugin such as <a href="https://plugins.craftcms.com/embeddedassets" rel="nofollow noreferrer">Embedded assets</a>.</p>
<p>It allows you to treat videos as regular assets.</p>

CC BY-SA 4.0
2021-03-09T17:03:19.057Z
2021-03-09T17:03:19.057Z
nstCactus
<p>Was just wondering how (or if) you can remove text from redactor:</p>
<p>(there might be a better way to deal with this all together - im option to suggestions)</p>
<p>the use case is I just want to have the video option (youtube links) for a specific field.</p>
<p>I have altered my config.json file for redactor:</p>
<pre><code> {
  &quot;buttons&quot;: [&quot;video&quot;],
  &quot;plugins&quot;: [&quot;video&quot;],
  &quot;linkNewTab&quot;: true,
  &quot;toolbarFixed&quot;: true
}
</code></pre>
<p>But this still allows text to added (so maybe this is not possible?):</p>
<p><a href="https://i.sstatic.net/dwDZy.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dwDZy.png" alt="enter image description here" /></a></p>

<redactor>
remove text from Redactor
# remove text from Redactor

(Asked by: username_0 on 2021-03-09)

Was just wondering how (or if) you can remove text from redactor:
(there might be a better way to deal with this all together - im option to suggestions)
the use case is I just want to have the video option (youtube links) for a specific field.
I have altered my config.json file for redactor:
 {
  "buttons": ["video"],
  "plugins": ["video"],
  "linkNewTab": true,
  "toolbarFixed": true
}

But this still allows text to added (so maybe this is not possible?):

**Tags:** redactor


---

## 1 answers

### Answer by username_1 on 2021-03-09. Score: 2

If you just want to add YouTube or Vimeo videos to your page, you'd be better off using a dedicated plugin such as [Embedded assets](https://plugins.craftcms.com/embeddedassets).

It allows you to treat videos as regular assets.


---

