From b05e881eeec39237e28f06b06bf6a59cd8424907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 8 Jul 2019 22:47:38 +0200 Subject: [PATCH] Precompile CKEditor dialog plugins In some cases, in the production environment the dialogs for links, images and tables didn't work, because these plugins were not precompiled. --- config/initializers/ckeditor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/ckeditor.rb b/config/initializers/ckeditor.rb index 338cea974..9710c59ae 100644 --- a/config/initializers/ckeditor.rb +++ b/config/initializers/ckeditor.rb @@ -8,5 +8,5 @@ Ckeditor.setup do |config| config.authorize_with :cancan config.assets_languages = Rails.application.config.i18n.available_locales.map{|l| l.to_s.downcase} - config.assets_plugins = %w[copyformatting tableselection scayt wsc] + config.assets_plugins = %w[copyformatting image link magicline scayt table tableselection wsc] end