Add image file upload in QuillJS editor#8250
Conversation
d7704f4 to
2fa5ba1
Compare
8a94443 to
8dcfd94
Compare
|
@entantoencuanto following up in your last comment in the issue:
|
|
Also, there are Lint warnings |
a525bdf to
eee31b4
Compare
Never mind, I can see it in your staging server |
105c410 to
b5297ea
Compare
|
@entantoencuanto I've added screenshots to your PR body. Please review my proposed change in the task. It's great to finally have this feature 🎉 🎉 |
94809aa to
86f9664
Compare
…dmins The javascript is taken from https://github.com/Platoniq/decidim-module-decidim_awesome/
86f9664 to
6d743bd
Compare
leio10
left a comment
There was a problem hiding this comment.
Awesome! 👏👏👏
Please, address my comment and we can merge this! ❤️
| # | ||
| # @see BaseParser Examples of how to use a content parser | ||
| class InlineImagesParser < BaseParser | ||
| AVAILABLE_ATTRIBUTES = { |
There was a problem hiding this comment.
Also, I wouldn't use .freeze to help apps and modules to register new attributes for their own classes.
There was a problem hiding this comment.
You're right. I've added the attributes as a method in the task because as a constant the hash is generated empty

🎩 What? Why?
This PR:
Decidim::EditorImagemodel to store image files using ActiveStorage📌 Related Issues
Testing
Describe the best way to test or validate your PR.
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots