-
Notifications
You must be signed in to change notification settings - Fork 179
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
Deleting text in element resets its styles #1774
Comments
How could I "clear" the formatting in this case without having to reset each setting manually in the design panel? Press backspace again? Might need some UX definition here. |
Following precedence from text editors, that's usually done with a separate "clear formatting" action. Minimally, we should avoid losing the style IMO. Users can always unset styles individually. |
Just tagging @samitron7 for awareness on this one. |
Tested in QA - PR#2584 See QA Testing Instructions above 1st scenario is fine now, but 2nd and 3rd are still having the same prob |
@csossi, can I get you to re-test this making sure you're on the right branch? I'm seeing all scenarios work as expected here. Scenario 1 probably worked even before this branch, thus you might be on an unrelated to see this result. |
@csossi it seems there was a temporary problem with Pantheon caching an old version of the branch. But when I re-applied the branch from the dropdown, it worked fine. You can validate, that you're on the right version of the branch, if you see the safe zone tick marks (rather than the old danger zone marking). Can you please re-evaluate this issue with that in mind? |
Verified in QA |
All 3 use cases passed but the following one (which is not a part of this QA failed)
@barklund Should I move this to done and we get a new ticket filed? |
Yes. Every time a ticket does not fully pass UAT, a new issue should be created to address the remaining issues. |
Moved to done but filed a new issue. |
Bug Description
Deleting all the text in a label resets font color, weight and italic/underline (and perhaps others too).
Steps to Reproduce
Expected: The new text is styled with the same style as the deleted text.
Actual: The new text is not styled.
Screenshots
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions
Replace text without clearing
Clear by selecting all and replacing
Clear by deleting characters one at a time
NB: If you have multiple styles in the text field before clearing (e.g. some text bold, some text not bold), the new text styling should follow that of the first character in the input field (but there might be some variations here depending on where the cursor is before clearing and how you clear it). This part is not essential for this ticket, and any discovered inconsistencies should be noted as a follow-up issue.
The text was updated successfully, but these errors were encountered: