Answers.Body: <p>As per the <a href="https://github.com/craftcms/redactor#redactor-js-plugins" rel="nofollow noreferrer">documentation</a>, you can store your own plugins in the directory <code>/config/redactor/plugins/</code>. It isn't specifically mentioned, but plugins stored in the config directory take precedence before the bundled plugins. So you can overwrite any of the bundled plugins by copying them to that directory and modifying them there. This also allows you to put the modified plugins under version control, and they will persist through updates.</p>
  <ol>
  <li>Grab the <a href="https://imperavi.com/redactor/plugins/specialchars/" rel="nofollow noreferrer">original <code>specialchars</code> plugin from here</a>. You can also use the version bundled with the <code>craftcms/redactor</code> library, but that one is already minified, so it's harder to modify.</li>
  <li>Copy the file <code>specialchars.js</code> to <code>/config/redactor/plugins/specialschars.js</code>.</li>
  <li>If you haven't done so already, add the <code>specialchars</code> plugin to the list of active plugins in your <a href="https://github.com/craftcms/redactor#configuration" rel="nofollow noreferrer">redactor config file</a>.</li>
  </ol>
  <p>Now you can modify the plugin however you like, the redactor field will use the modified plugin from your config folder.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-11-02T10:18:33.563Z
Answers.LastActivityDate: 2021-11-02T10:18:33.563Z
Answers.UserDisplayName: MoritzLost
Body: <p>Is there a way to adjust Special Characters plugin's list of characters in Redactor settings (or in other config file)?</p>
  <p>I can make the changes I need (reduce plugins menu, add new characters) directly to specialcharacters.js. But this change vaporize with updates :-(</p>
  <p>Can't find any documentation neither here nor the imperavis's website.</p>
  <p>Anyone have some experience with redactor's plugin settings?</p>
  
Tags: <craft3><redactor><settings>
Title: Settings for redactor's plugin Special characters
ThreadText: # Settings for redactor's plugin Special characters
  
  (Asked by: username_0 on 2021-11-02)
  
  Is there a way to adjust Special Characters plugin's list of characters in Redactor settings (or in other config file)?
  
  I can make the changes I need (reduce plugins menu, add new characters) directly to specialcharacters.js. But this change vaporize with updates :-(
  
  Can't find any documentation neither here nor the imperavis's website.
  
  Anyone have some experience with redactor's plugin settings?
  
  **Tags:** craft3, redactor, settings
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-11-02. Score: 1
  
  As per the [documentation](https://github.com/craftcms/redactor#redactor-js-plugins), you can store your own plugins in the directory `/config/redactor/plugins/`. It isn't specifically mentioned, but plugins stored in the config directory take precedence before the bundled plugins. So you can overwrite any of the bundled plugins by copying them to that directory and modifying them there. This also allows you to put the modified plugins under version control, and they will persist through updates.
  
  1. Grab the [original `specialchars` plugin from here](https://imperavi.com/redactor/plugins/specialchars/). You can also use the version bundled with the `craftcms/redactor` library, but that one is already minified, so it's harder to modify.
  2. Copy the file `specialchars.js` to `/config/redactor/plugins/specialschars.js`.
  3. If you haven't done so already, add the `specialchars` plugin to the list of active plugins in your [redactor config file](https://github.com/craftcms/redactor#configuration).
  
  Now you can modify the plugin however you like, the redactor field will use the modified plugin from your config folder.
  
  
  ---
  
  