Answers.Body: <p>Right below that link is a set of dropdowns to select the advanced options.</p>
  <p><a href="https://i.sstatic.net/pFPqp.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/pFPqp.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-02T13:57:49.477Z
Answers.Text: hmmm... I don't see these options. I have an error in my browser console `Failed to load resource: the server responded with a status of 404 () -> /libraries/civicrm/core/ext/ckeditor4/js/ck-options.json"`. I installed CiviCRM on Drupal 9 with composer using civicrm/civicrm-asset-plugin to move javascipt into a web accessible folder which usually works well. May the problem be related to that configuration?
Answers.UserDisplayName: Tobias Krause
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-02T14:03:04.107Z
Answers.Text: I see this file in remaining in vendor/civicrm/civicrm-core/ext/ckeditor4/js/ck-options.json but it needs to be place in httpdocs/libraries... - why is this file not moved during composer install???
Answers.UserDisplayName: Tobias Krause
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-02T16:54:04.413Z
Answers.Text: See https://lab.civicrm.org/dev/civicrm-asset-plugin/-/blob/master/default-config.json. The idea is it doesn't copy _everything_ because that would be insecure, but json does seem safe here. You could put in a PR against that extension to update the list. See also you can do a local customization in your drupal root composer.json: https://lab.civicrm.org/dev/civicrm-asset-plugin/-/tree/master#options
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-03T07:19:54.510Z
Answers.Text: thank you so much!
Answers.UserDisplayName: Tobias Krause
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-02T11:56:08.807Z
Answers.LastActivityDate: 2022-05-02T11:56:08.807Z
Answers.UserDisplayName: Demerit
Answers.Body: <p>Thanks to Demerit.</p>
  <p>The solution for now is to add the file to the composer.json:</p>
  <pre><code>&quot;civicrm-asset&quot;: {
      &quot;path&quot;: &quot;httpdocs/libraries/civicrm&quot;,
      &quot;url&quot;: &quot;/libraries/civicrm&quot;,
      &quot;assets:core&quot;: {
          &quot;include&quot;: [&quot;js/**&quot;, &quot;css/**&quot;, &quot;ang/**&quot;, &quot;templates/**.png&quot;, &quot;templates/**.jpg&quot;, &quot;ext/ckeditor4/js/ck-options.json&quot;],
          &quot;exclude-dir&quot;: [&quot;.git&quot;, &quot;/CRM&quot;]
      }
  </code></pre>
  <p>After that run <code>composer civicrm:publish</code> and the options appear under /civicrm/admin/ckeditor.</p>
  <p>I created an issue for the plugin: <a href="https://lab.civicrm.org/dev/civicrm-asset-plugin/-/issues/20" rel="nofollow noreferrer">https://lab.civicrm.org/dev/civicrm-asset-plugin/-/issues/20</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-03T07:33:13.553Z
Answers.LastActivityDate: 2022-05-03T07:33:13.553Z
Answers.UserDisplayName: Tobias Krause
Body: <p>When I go to /civicrm/admin/ckeditor at the end of the page I see &quot;Adavanced options&quot; which simply links me to the Api documenation of CKEditor - but how can I define these advanced option in CiviCRM?</p>
  
Tags: <ckeditor><wysiwyg><editor>
Title: How to add advanced options for CKEditor
ThreadText: # How to add advanced options for CKEditor
  
  (Asked by: username_0 on 2022-05-02)
  
  When I go to /civicrm/admin/ckeditor at the end of the page I see "Adavanced options" which simply links me to the Api documenation of CKEditor - but how can I define these advanced option in CiviCRM?
  
  **Tags:** ckeditor, wysiwyg, editor
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2022-05-02. Score: 1
  
  Right below that link is a set of dropdowns to select the advanced options.
  
  [![enter image description here](https://i.sstatic.net/pFPqp.png)](https://i.sstatic.net/pFPqp.png)
  
  > **Comments:**
  > **username_0**: hmmm... I don't see these options. I have an error in my browser console `Failed to load resource: the server responded with a status of 404 () -> /libraries/civicrm/core/ext/ckeditor4/js/ck-options.json"`. I installed CiviCRM on Drupal 9 with composer using civicrm/civicrm-asset-plugin to move javascipt into a web accessible folder which usually works well. May the problem be related to that configuration?  
  > **username_0**: I see this file in remaining in vendor/civicrm/civicrm-core/ext/ckeditor4/js/ck-options.json but it needs to be place in httpdocs/libraries... - why is this file not moved during composer install???  
  > **username_1**: See https://lab.civicrm.org/dev/civicrm-asset-plugin/-/blob/master/default-config.json. The idea is it doesn't copy _everything_ because that would be insecure, but json does seem safe here. You could put in a PR against that extension to update the list. See also you can do a local customization in your drupal root composer.json: https://lab.civicrm.org/dev/civicrm-asset-plugin/-/tree/master#options  
  > **username_0**: thank you so much!  
  
  ---
  
  ### Answer by username_0 on 2022-05-03. Score: 1
  
  Thanks to username_1.
  The solution for now is to add the file to the composer.json:
  "civicrm-asset": {
      "path": "httpdocs/libraries/civicrm",
      "url": "/libraries/civicrm",
      "assets:core": {
          "include": ["js/**", "css/**", "ang/**", "templates/**.png", "templates/**.jpg", "ext/ckeditor4/js/ck-options.json"],
          "exclude-dir": [".git", "/CRM"]
      }
  
  After that run composer civicrm:publish and the options appear under /civicrm/admin/ckeditor.
  I created an issue for the plugin: https://lab.civicrm.org/dev/civicrm-asset-plugin/-/issues/20
  
  
  ---
  
  