Body: <p>This is a fresh install of a site which I've migrated data to from an outdated Drupal7/civi site we've used for years. I've installed Drupal-9 using Composer and civicrm (5.64) as well and am using php8.1 on a Ubuntu 22 Linode server. I installed ckeditor5 v1.5 downloaded from CiviCRM into ext folder and enabled through admin &gt; settings &gt; extensions. I then selected 'ckeditor5 with uploaded images (recommended)' from the display preferences. When I try to edit a mailing template by adding an image from the PC I'm working from, the image shows up in the editor but when I save, I get a saved alert but the image disappears. Any text or html changes persist. The image does not appear where I have set them. The upload directory is set to [civicrm.files]/persist/contribute/images/. I am working as the admin user. The image folder is owned by www-data:www-data with 775. I tried copying a .png file to the folder and pointing a browser to <a href="https://subdomain.siteimworkingon.org/sites/default/files/civicrm/persist/contribute/images/gbc.png" rel="nofollow noreferrer">https://subdomain.siteimworkingon.org/sites/default/files/civicrm/persist/contribute/images/gbc.png</a> it displays the image. If I use developer tools and watch Network tab while I am saving the template there is no obvious post errors or anything I can see. I've also tried summernote editor with similar results. I believe it must be a path or permission issue but I've reached the end of my troubleshooting skills. Any help will be much appreciated!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-02T10:11:22.590Z
Comments.Text: Anyone have an idea?
Comments.UserDisplayName: Alan McColl
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-08-06T07:16:33.367Z
Comments.Text: I have the same issue on one of the my client sites right now. I will hope to find a solution.
Comments.UserDisplayName: Jaap Jansma - CiviCooP
Tags: <permissions><drupal-9><images><ckeditor5>
Title: ckeditor5 not saving images in civicrm / Drupal9
ThreadText: # ckeditor5 not saving images in civicrm / Drupal9
  
  (Asked by: username_0 on 2023-08-21)
  
  This is a fresh install of a site which I've migrated data to from an outdated Drupal7/civi site we've used for years. I've installed Drupal-9 using Composer and civicrm (5.64) as well and am using php8.1 on a Ubuntu 22 Linode server. I installed ckeditor5 v1.5 downloaded from CiviCRM into ext folder and enabled through admin > settings > extensions. I then selected 'ckeditor5 with uploaded images (recommended)' from the display preferences. When I try to edit a mailing template by adding an image from the PC I'm working from, the image shows up in the editor but when I save, I get a saved alert but the image disappears. Any text or html changes persist. The image does not appear where I have set them. The upload directory is set to [civicrm.files]/persist/contribute/images/. I am working as the admin user. The image folder is owned by www-data:www-data with 775. I tried copying a .png file to the folder and pointing a browser to <https://subdomain.siteimworkingon.org/sites/default/files/civicrm/persist/contribute/images/gbc.png> it displays the image. If I use developer tools and watch Network tab while I am saving the template there is no obvious post errors or anything I can see. I've also tried summernote editor with similar results. I believe it must be a path or permission issue but I've reached the end of my troubleshooting skills. Any help will be much appreciated!
  
  **Tags:** permissions, drupal-9, images, ckeditor5
  
  > **Comments:**
  > **username_0**: Anyone have an idea?  
  > **username_1**: I have the same issue on one of the my client sites right now. I will hope to find a solution.  
  
  ---
  
  ## 0 answers
  
  