Commit b5aa5e25 authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

Fixing Froala

parent faa69768
......@@ -51,7 +51,7 @@ class ResizeUploadedImagesSubscriber implements EventSubscriberInterface
public function preSubmit(FormEvent $event)
{
if ($this->mediaService === null) {
throw new \Exception('MediaService not present');
return;
}
$content = $event->getData();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment