I have added a custom plugin on CKEDITOR it work well on development mode and every time I update the config.js it reload correctly on my local environnement.
I have decided to deploy it on my server in production mode but I have no idea why my plugin doesn't appear in production mode.
I tried to delete all my public/assets and clean the cache with RAILS_ENV=production rake assets:clean and RAILS_ENV=production rake tmp:cache:clear I also cleaned the cache by using Rails.cache.clear in the RAILS_ENV=production rails c.
And then precompile the assets again but it doesn't change the config.js in the inspector keep showing me:
Hello,
I have added a custom plugin on
CKEDITOR
it work well on development mode and every time I update theconfig.js
it reload correctly on my local environnement.I have decided to deploy it on my server in production mode but I have no idea why my plugin doesn't appear in production mode.
In my
config.js
on my server I have thisbut when I take a look in the source file in the inspector on my website I have
I have precompiled the assets in production mode and I can find in
public/assets/ckeditor/plugin
the repository of my pluginlinkfile
.Also if I take a look to
public/assets/ckeditor/config.js
I have the correct following line:I tried to delete all my
public/assets
and clean the cache withRAILS_ENV=production rake assets:clean
andRAILS_ENV=production rake tmp:cache:clear
I also cleaned the cache by usingRails.cache.clear
in theRAILS_ENV=production rails c
.And then precompile the assets again but it doesn't change the
config.js
in the inspector keep showing me:I restart my passenger server by doing
touch tmp/restart.txt
but I also didsystemctl restart apache2
I have clear the cache in my browser but didn't work.
I have tried to do all of this manipulation by removing the youtube plugin
And I kept having
I have followed this but it didn't work for me.
CKEDITOR 4, RAILS 5