Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposals custom field - images added to admin side does'nt display to the user side #237

Open
esdrasitq opened this issue Oct 6, 2023 · 1 comment

Comments

@esdrasitq
Copy link

esdrasitq commented Oct 6, 2023

Describe the bug
Adding a picture to the WYSIWYG editor in proposals, it's not displayed in the user side

To Reproduce
Steps to reproduce the behavior:

  1. Connect to the admin dashboard and Add a participatory process

  2. Open the participatory process, click on add components

  3. Pick proposal in the component list -> Configure your proposal component so a user can create one.

  4. Click on Decidim Awesome

  5. Choose Proposal custom fields

  6. Add a new custom fiels box

  7. Add a text area field

  8. In type choose Rich Text Editor, you can add on or more fields in your custom fields box

  9. Click on Edit -> Apply to participatory process of type: Processes

  10. Only in: choose the name of your process

  11. Only in components of type: choose Proposals

  12. Or Specifically in: Choose the proposal name

  13. Click Save ->Update configurations

  14. Now, back to Processes and publish your proposals

  15. View Public page

  16. On the public page click Proposal name

  17. New Proposal

  18. Fill in the boxes and add an image or a video to the wysiwg text area as shown in the screen shot below

image

  1. Continue
  2. Publish the proposal

Expected behavior
The image added should be displayed on the user side.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
We check in the browser console tab or in the network tab, we don't see any 404 status displayed.

@froger
Copy link
Contributor

froger commented Oct 25, 2023

Hello, thanks for reporting!
Could you try having your browser console in the network tab open while you add the image in the textarea? It might reveal an issue on upload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants