Rich text has multiple styles when deleting all content

Dear Webix Team!

We came across an issue with using ctrl+A, and backspace in the Rich Text editor.

Repro steps:

  1. You have a content with multiple styles (e.g. Blue style in the beginning, red style in the end)
  2. Press ctrl+A, then backspace (content is deleted)
  3. Start typing, you will start typing in blue (not an issue)
  4. Press a right arrow → style will change into the red style, which should not be the case.

You can reproduce this issue within this code snippet: https://snippet.webix.com/r2oipsnc

This issue is related to having 2 ​spans after deleting everything, with the second one having the blue styling.
image

Could you help us with this issue?
Thank you in advance.

Kind regards,
PowerON Development team

Hello @DevAdminPowerON ,

Thank you for a report. It is definitely a bug. We will fix it.
The keyboard actions logic is placed in our separate library on which RichText depends on so the fix should be made on a deeper level first. Thus, unfortunately, there is no workaround for such a bug type.
We will notify about the fix here as soon as it is ready.

1 Like

Hello @Mari ,

Since then do you have any info on roughly when this issue will be fixed?
Thank you in advance!

Kind regards,
PowerON Development Team

Hello @DevAdminPowerON ,

We don’t have a confirmed timeframe for this fix yet, but I’ll remind the development team about the issue, thank you.