You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We abstracted the image / file upload for Create and other web editors in UploadFileHelper::getUploadResponse.
The logic is currently ported from the CreateBundle and improved at some points. We should investigate the response more, questions raised are:
I don't know much about how CkEditor works, so this may not be applicable, but shouldn't we be returning a "application/json" response and using a callback in the frontend to call functions rather than returning HTML? (dantleech)
We now return javascript directly for the ckeditor but could investigate when we implement the ckeditor for the CreateBundle - possibly also in combination with elfinder.
I wonder if it is a good idea to refer to an "editor" here. (in UploadFileHelper::getUploadResponse) Could we not use this upload thingy from a web form, or something else? (dantleech)
Can we think of a use case for this? (rmsint)
Current logic is here because we expected the automatic upload process mostly for web editors.
We abstracted the image / file upload for Create and other web editors in
UploadFileHelper::getUploadResponse
.The logic is currently ported from the CreateBundle and improved at some points. We should investigate the response more, questions raised are:
UploadFileHelper::getUploadResponse
) Could we not use this upload thingy from a web form, or something else? (dantleech)The text was updated successfully, but these errors were encountered: