Approved
Last Updated: 05 Apr 2018 14:29 by ADMIN
ADMIN
Boby
Created on: 06 Nov 2017 09:09
Category: RichTextBox
Type: Feature Request
1
RichTextBox: Preserve formatting of last paragraph when deleting all content in the document
When deleting all content (e.g. Select All [CTRL+A] + Delete [Del]) in the document, it would be convenient for the user to preserve all formatting (local span formatting + local paragraph formatting + style) applied on the last paragraph. 

This will ensure that the user will continue edit the document with last current font, font family, etc.

If this operation is applied on an empty document, though, the styling of the single paragraph should be reset to the defaults for the document.
2 comments
ADMIN
Tanya
Posted on: 05 Apr 2018 14:29
Hi Ben,

If the style is lost sometimes, that might be an issue in the control. Could you please submit a ticket with more information on how we can reproduce the behavior so we can further investigate it?

Regards,
Tanya
Ben
Posted on: 06 Nov 2017 09:32
It would also be useful to preserve the formatting when deleting a single paragraph, as sometimes it fails to find the font style of the selection.