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
In formatting.js (composer) add picture: function() as follows:
var formattingDispatchTable = {
picture: function () {
var postContainer = this;
postContainer.find('#pictures').click();
},
upload: function () {
var postContainer = this;
postContainer.find('#files').click();
},
In composer.tpl (that I copied from redactor ;) ) add input with id=pictures:
Hi @julianlam
Please consider adding accept to the file input:
A better way is to use the ACP defined mime types for files and pictures, but I have not been able to find such field in config.
Thanks!
The text was updated successfully, but these errors were encountered: