Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-03-09T17:03:19.057Z
Answers.LastActivityDate: 2021-03-09T17:03:19.057Z
Answers.UserDisplayName: nstCactus
Body: <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>
  
Tags: <redactor>
Title: remove text from Redactor
ThreadText: # 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?):
  
  [![enter image description here](https://i.sstatic.net/dwDZy.png)](https://i.sstatic.net/dwDZy.png)
  
  **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.
  
  
  ---
  
  