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 Fields: bug when editing a proposal with a TextArea field of type "Rich Text Editor" #216

Open
martanducas opened this issue Apr 5, 2023 · 0 comments

Comments

@martanducas
Copy link

Describe the bug
When a Proposals Custom Fields has a Text Area field of type "Rich Text Editor", if you enter as value something like (break lines are important since they are responsible of the bug):
"text

text

text"
when editing the proposal all the following fields are included in this text area.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Proposals Custom Fields and include a Text Area field of type "Rich Text Editor". Include some other fields after this one.
  2. Create a proposals component and apply the custom fields
  3. Create a new proposal. Enter in the Text Area something like:
    "Text1

text2

text3"
4. Publish your proposal.
5. Once published, edit your proposal and see the value of the text area.

Expected behavior
When editing the proposal, the value of the text area should be only the text I entered.

Screenshots
A video showing the error:
https://user-images.githubusercontent.com/72607737/230146950-f0e0ac65-64ab-44e0-9e1e-b7176d9c831e.mp4

Desktop (please complete the following information):

  • OS: macOS
  • Browser: chrome

Additional context

  • Decidim version: 0.27.2
  • Awesome version: 0.9.1
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

1 participant