I upgraded my project to 7.2.1 and have been noticing that the richTextArea component no longer works as it should.
The enter keys sometimes do not work and the various formatting buttons have no effect.
Please see my recorded video below:
I upgraded my project to 7.2.1 and have been noticing that the richTextArea component no longer works as it should.
The enter keys sometimes do not work and the various formatting buttons have no effect.
Please see my recorded video below:
Hi,
Are there any errors in JavaScript console? What browser do you use? Also please check if richTextArea in sampler works for you.
It will be really helpful if you could create a test project, since I’m unable to reproduce the problem.
I use Google Chrome browser but problem also happening in IE.
It works okay when using “Sampler” app.
The Console in Browser is giving the following message whenever I click on a Formatting button:
Sun Mar 22 13:46:06 GMT-400 2020 com.vaadin.client.communication.MessageHandler
INFO: Referenced paintables: 65
com.haulmont.cuba.web.widgets.WidgetSet-0.js:8586
Question: Is Sampler running version 7.2.1 ?
My Code works okay on an iPad tablet using Safari and Chrome.
But gives problems on desktop / laptop Windows computers using different browsers (tested with Firefox, Chrome, IE)
Very strange.
I have discovered that the richTextArea formatting buttons do not work whenever blank lines are inserted in the text.
Please see video below :
Video demonstrating problem in richTextArea once blank lines are inserted
Hi,
Thanks for reporting, it seems it’s a regression caused by these changes. I’ve created an issue which will be resolved in one of the upcoming bugfix releases.
Meanwhile, you can workaround this by disabling HTML Sanitizer (beware of security implications):
<richTextArea htmlSanitizerEnabled="false"/>