froala / KMSFroalaEditorBundle

Symfony bundle for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
105 stars 33 forks source link

Modifying the obtainFolder function to obtain a correct path under Symfony 4 #52

Closed dferchaud closed 6 years ago

dferchaud commented 6 years ago

I realized that under Symfony 4 the image upload was still in the "web" folder and not in the "public" as the new SF4 architecture demanded.

sguionni commented 6 years ago

You're right, but we can't change the folder for all versions, we need to keep "web" for Sf2 and 3 until 3.x version (don't remember when the architecture has changed).

adrienlamotte commented 6 years ago

+1 A way to specify the folder would be great

jmsche commented 6 years ago

Submitted PR #63 to fix this.