stefanogualdi / grails-ckeditor

Grails CKEditor plugin
http://grails.org/plugin/ckeditor
Apache License 2.0
23 stars 32 forks source link

Doesn't work #13

Closed PhilippeRT closed 8 years ago

PhilippeRT commented 10 years ago

Hi all,

I install the plug-in in a grails 2.1.5 application, and the .js files does not load, except ckeditor.js. The issue is in org.gualdi.grails.plugins.ckeditor.utils.PluginUtils, the pluginManager in the Holders class does not reference the plugin.

I resolve this by replacing String pluginVersion = Holders.pluginManager.getGrailsPlugin(pluginName)?.version which give null by String pluginVersion = Holders.applicationContext.getBean('pluginManager').getGrailsPlugin(pluginName)?.version

Now it works.

jdgiotta commented 8 years ago

Same issue.

stefanogualdi commented 8 years ago

Closed with PR from John D Giotta. Thank you.