Describe the bug
As a user, when creating a proposal with the HTML editor enabled, I see the character counter decremented in a weird way.
To Reproduce
- Go to a proposal creation form when rich text editor is enabled for participants
- Start filling the description field
- Add some html tags (bold, italic, list etc.)
- See error on the counter
Expected behavior
As a user, when I am limited by the number of characters for my proposal/initiative or other content, I expect the limit to only count inputted characters.
Screenshots
There should be 15000 characters left:


The counter takes into account all this HTML: <strong>My name is Pauline</strong>
Extra data (please complete the following information):
- Decidim Version: [0.26, 0.27]
Additional context
Add any other context about the problem here. For instance, add Metadecidim link.
Describe the bug
As a user, when creating a proposal with the HTML editor enabled, I see the character counter decremented in a weird way.
To Reproduce
Expected behavior
As a user, when I am limited by the number of characters for my proposal/initiative or other content, I expect the limit to only count inputted characters.
Screenshots

There should be 15000 characters left:
The counter takes into account all this HTML:
<strong>My name is Pauline</strong>Extra data (please complete the following information):
Additional context
Add any other context about the problem here. For instance, add Metadecidim link.