Propose new functionalities for Decidim software
#DecidimRoadmap Designing Decidim together
Allow attachements in comments
Is your feature request related to a problem? A clear and concise description of what the problem is.
We've had this request by a couple clients. It's also in the Decidim Awesome roadmap.
Now that comments have be re-written in rails it's possible to enhance the comment function.
Describe the solution you'd like
As an admin I want to be able to enable attachement in comments using a config flag on the components config
As a user adding a comment when attachements are enabled I have an upload button bellow the text field. Once the comment is published the attachement displays under the text as link inside an attachement box. (See attachements)
Describe alternatives you've considered
No
Additional context
Comment were re-written in rails : https://meta.decidim.org/processes/roadmap/f/122/proposals/14369 https://github.com/decidim/decidim/pull/6498
Does this issue could impact on users private data?
No
Funded by
Might be funded by CNRHR
List of Endorsements
Report inappropriate content
Is this content inappropriate?
Comment details
You are seeing a single comment
You can check the rest of the comments here.
Conversation with Carol Romero
Hey @virgile_deville, we''ll be happy to incorporate this, but not now. Better to wait for the upgrade to Rails 6 since we will be able to integrate the Trix editor, which already comes with ActiveStorage :)
Ok thanks for your answer.
Just to chime in about the Trix editor. I don't know if the decision is already taken, but I would invite to do some serious analysis and testing. In Populate we have been using it in several projects and I'm not sure I would select it for a project as Decidim. The main difficulty is the management of embeds/iframes, ie. Youtube. For this you have to do a specific implementation, which is a bit weird. You managed to do it, but it was not easy nor clean.
Loading comments ...