Bug fix for resource and other ckeditor plugins