master
:javascript window.parent.CKEDITOR.tools.callFunction(#{params[:CKEditorFuncNum]}, '#{@resource.file.url.html_safe}', '');