[UI] Node details page hostname contenteditable doesn't discard fonts
Bug #1648293 reported by
Po-Hsu Lin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned |
Bug Description
When an user needs to copy and paste configurations from a document, the content needs to be pasted to a text editor to remove the font format first.
It does not make sense to keep font settings in inputboxes.
Test case:
1. Open a Google spreadsheet or LibreOfice, type something and change its font size, color and etc. Copy the colorful text that you just entered.
2. Go to MaaS Node page, try to change the name of a node, paste what you just copied into the inputbox.
* You will see it's still keeping the font setting there.
MAAS Version 2.1.1+bzr5544-
Changed in maas: | |
milestone: | 2.2.0 → 2.2.x |
Changed in maas: | |
milestone: | 2.2.x → next |
Changed in maas: | |
milestone: | next → none |
To post a comment you must log in.
That field uses a contenteditable on a span. We need to figure our how to remove that formatting. A standard input field will remove the formatting.