-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ckeditor image upload functionality #62
Conversation
…ymfony-cmf/CreateBundle#issue/59
/cc @sjopet did you ever encounter this issue when working with elfinder? do you have a specific version of ckeditor (maybe an older one that did not do the change that makes create.js not play well? |
seems to be a known issue on create side actually: bergie/create#178 i guess we should try to help them to fix that and then update the create version we use. i will already merge the rest of this PR but not yet make ckeditor default. |
@@ -157,7 +157,17 @@ public function uploadAction(Request $request) | |||
|
|||
$this->manager->flush(); | |||
|
|||
return $this->generateUploadResponse($id, $image, $file); | |||
// file upload via CKEditor | |||
if ($request->query->get('CKEditor')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should probably be configured in the class rather.
we should look into these issues in #60 |
docs also need to be updated http://symfony.com/doc/master/cmf/bundles/create.html |
#59